/* 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: 225px;
    min-height: 200vh;
    background-color: #e9eef4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}



#contenido_central {
    flex: 1;
    padding: 40px 20px;
  
}



/* ajustes propios*/

#divHijos {
    visibility: hidden; ;
}

#img_portada {
   width: 20%;
    height: auto;
    margin-top: 20px;
    
}

#link_video_tutorial{
    display: flex;
    justify-content: center;
    align-content: center;
    text-align: center;
}


/* ============================= */
/*ARTICULO */
/* ============================= */


#articulo {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px; /* evita que el scroll tape texto */

}

/* ============================= */
/* CONTENEDOR DEL ARTICULO */
/* ============================= */

#contenedorDeArticulo {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

#articulo {
    max-width: 900px;
    width: 100%;
    background: #ffffff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    max-height: 75vh;
    overflow-y: auto;
}
/* ============================= */
/* ARTICLE BASE */
/* ============================= */

#articulo article {
    font-size: 16px;
    line-height: 1.7;
    color: #2f3a4a;
    text-align: left;
}

/* ============================= */
/* PÁRRAFOS */
/* ============================= */

#articulo p {
    margin-bottom: 15px;
    text-align: justify;
}

/* ============================= */
/* LISTAS */
/* ============================= */

#articulo ul {
    list-style: none; /* 🔥 sacamos bullets feos */
    padding-left: 0;
    margin: 0 0 20px 0;
}

/* Cada item */
#articulo li {
    position: relative;
    padding-left: 28px; /* espacio para símbolo */
    margin-bottom: 10px;
}

/* ✔ check elegante */
#articulo li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 2px;

    color: #009ee3;
    font-weight: bold;
    font-size: 14px;
}

/* ============================= */
/* LISTAS CON ❖ (manuales) */
/* ============================= */

/* Si usás ❖ dentro del texto, lo alineamos mejor */
#articulo p:has(❖),
#articulo li:has(❖) {
    padding-left: 5px;
}

/* (fallback si :has no está soportado, no rompe nada) */


/* ============================= */
/* TITULOS */
/* ============================= */

#articulo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2d3d;
    margin-bottom: 20px;
}

#articulo h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #34495e;
    margin: 30px 0 15px;

    border-left: 4px solid #009ee3;
    padding-left: 10px;
}

#articulo h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #566573;
    margin: 20px 0 10px;
}

/* ============================= */
/* DESTACADOS */
/* ============================= */

#articulo .destacado {
    background-color: #f0f7ff;
    border-left: 5px solid #009ee3;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

/* ============================= */
/* HR */
/* ============================= */

#articulo hr {
    border: none;
    height: 1px;
    background: #dfe6ee;
    margin: 30px 0;
}


/* ============================= */
/* FIN ARTICULO */
/* ============================= */

/*------------donacion----------*/
#cartelDonacion {
    position: fixed;
    top: 215px;
    right: 2.5px; /* 👉 ahora bien a la derecha */

    width: 220px;
    padding: 16px;

    background-color: #ffffff;
    color: #333;

    border-radius: 14px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    box-shadow: 0 6px 18px rgba(0,0,0,0.15);

    z-index: 9999;
}

/* texto */
#textoDonacion {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}


/* botón azul estilo MercadoPago */


#btnDonar {
    width: 100%;
    padding: 10px;
    

    border: none;
    border-radius: 10px;

    background-color: #009ee3;
    color: white;

    font-weight: bold;
    cursor: pointer;

    transition: all 0.2s ease;
    margin-bottom: 10px;
}

#btnDonar:hover {
    background-color: #007bb5;
    transform: scale(1.05);
}

#btnDonar:active {
    transform: scale(0.97);

}

#btnDonar,
#btnDonar:hover,
#btnDonar:focus,
#btnDonar:active {
    text-decoration: none;
}


/*------------ fin donacion----------*/