/* Fondo general suave */
body {
    background-color: #f8f9fa;
}

/* Título principal */
#tituloPrincipal {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 20px;
}

#tituloPrincipal h1 {
    font-weight: 500;
    letter-spacing: 1px;
}

#tituloPrincipal h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #343a40;
    margin-top: 10px;
}

/* Sección datos */
#datosPersonalesBasicos {
    text-align: center;
    margin-bottom: 15px;
}

/* Sexo */
#sexo {
    margin-top: 5px;
    margin-bottom: 15px;
}

.contenedorSexo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 15px;
}

/* Inputs */
input[type="date"],
input[type="number"] {
    padding: 5px 8px;
    border-radius: 6px;
    border: 1px solid #ced4da;
    transition: all 0.2s ease;
}

input[type="date"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13,110,253,0.15);
}

/* Tabla */
#contenedorHijos table {
    margin-top: 15px;
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

#contenedorHijos th {
    background-color: #e9ecef;
    font-weight: 600;
    padding: 8px;
}

#contenedorHijos td {
    padding: 6px;
}

#contenedorHijos th,
#contenedorHijos td {
    border: 1px solid #dee2e6;
}

#contenedorHijos tr:hover {
    background-color: #f1f3f5;
}

/* Botón */
#botonCalcular {
    text-align: center;
    margin-top: 20px;
}

#botonCalcular button {
    padding: 6px 20px;
    border-radius: 6px;
    border: 1px solid #0d6efd;
    background-color: #0d6efd;
    color: white;
    font-weight: 500;
    transition: 0.2s ease;
}

#botonCalcular button:hover {
    background-color: #0b5ed7;
}

/* Logs */
#logs {
    text-align: center;
    margin-top: 15px;
    font-size: 0.95rem;
}

#contenedor {
    display: flex;
    align-items: flex-start;
}

/* Laterales */
#publicidad_lateral_1,
#publicidad_lateral_2 {
    width: 220px;
    min-height: 100vh;
    background-color: #e9eef4;
}




/* Contenido central */
#contendor > div:nth-child(2) {
    width: calc(100% - 320px);
    display: inline-block;
}


/* ajustes propios*/

#divHijos {
    visibility: hidden; ;
}