.embarazo-header {
    background: linear-gradient(135deg, #2f6f86, #1f4d5e);
    color: #fff;
    border-radius: 14px;
    padding: 18px 20px;
    margin: 20px 0 12px;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    text-align: left;
    display: block;
}

.embarazo-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* TOP */
.eh-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.eh-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* BADGES */
.badge-estado {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
}

.badge-estado.activo {
    background: #22c55e;
    color: #fff;
}

.badge-estado.cerrado {
    background: #ef4444;
    color: #fff;
}

/* BOTTOM */
.eh-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* CHIPS */
.chip {
    background: rgba(255,255,255,0.15);
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.chip-extra {
    background: rgba(255,255,255,0.25);
    font-style: italic;
}
.panel {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
}
.card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #eee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    width: 92%;
}

.card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2c7a7b;
}

.card ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 6px 15px;
    padding: 0;
}

.card li {
    list-style: none;
    font-size: 14px;
}

.card strong {
    color: #007b83;
}
fieldset {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

legend {
    color: #007b83;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 8px;
    margin: 5px 0 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

textarea {
    min-height: 80px;
}
.btn-secundario {
    background: #edf2f7;
    color: #2d3748;
    border: 1px solid #cbd5e0;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-secundario:hover {
    background: #e2e8f0;
}
.btn {
  display: inline-block;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primario {
    background: #007b83;
    color: #fff;
    border: none;
}

.btn-primario:hover {
    background: #2c7a7b;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.btn-secundario {
    background: #e2e8f0;
    color: #2d3748;
    border: 1px solid #a0aec0;
    padding: 8px 14px;
    border-radius: 8px;
}

.btn-secundario:hover {
    background: #cbd5e0;
}
.btn-agregar {
    background: #3b7d94; /* mismo que header */
    color: #fff;
    border: none;
}

.btn-agregar:hover {
    background: #2c5f73;
}
.form-botones {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.btn {
    font-weight: 600;
}
.btn-primario {
    border-left: 4px solid #2c5f73;
}
