/* ===============================
   MENÚ SISTEMAS
================================ */

.sis_men {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #1abc9c, #3498db);
  margin: 0;
  padding: 0px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.sis_men .container {
  width: 100%;
  max-width: 800px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  padding: 20px;
  text-align: center;
  margin-top: 70px;
}

.sis_men .container > img {
  width: 9%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 100%;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.sis_men h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  font-size: 2rem;
}

.sis_men .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.sis_men .item {
  background: white;
  width: 150px;
  height: 150px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 2px solid transparent;
  transition: 0.3s all;
  cursor: pointer;
  text-decoration: none;
}

.sis_men .item:hover {
  border-color: #007bff;
  transform: translateY(-5px);
}

.sis_men .item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.sis_men .item-text {
  font-size: 0.85rem;
  color: #333;
  font-weight: 600;
  text-align: center;
}

.sis_men .error,
.sis_men .info {
  color: #555;
  background: #f8f8f8;
  padding: 10px 15px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: inline-block;
  margin-top: 20px;
}

.sis_men .error {
  border-left: 4px solid #e74c3c;
}

.sis_men .info {
  border-left: 4px solid #3498db;
}

/* 📱 RESPONSIVE */

@media (max-width: 900px) {

  .sis_men .item {
    width: 130px;
    height: 130px;
  }

  .sis_men .item img {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 600px) {

  .sis_men {
    padding: 10px;
  }

  .sis_men .container {
    padding: 15px;
  }

  .sis_men h1 {
    font-size: 1.5rem;
  }

  .sis_men .item {
    width: 110px;
    height: 110px;
  }

  .sis_men .item img {
    width: 60px;
    height: 60px;
  }

  .sis_men .container > img {
    max-height: 180px;
  }

}
/*//////////////////////////////////////*/
/*//////////////////////////////////////*/
/*//////////////////////////////////////*/



/* ===============================
   MENÚ RESPONSIVE
================================ */

header {
  width: 60%;
  background: #06bcce;
}

.navegacion {
  max-width: 1000px;
  margin: auto;
  padding: 10px;
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  background: white;
  border: none;
  padding: 12px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
}

/* Menú principal */
.menu {
  list-style: none;
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
}

.menu li a {
  display: block;
  padding: 10px 15px;
  color: black;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
}

.menu li a:hover {
  background: white;
}

/* Submenu */
.submenu {
  list-style: none;
  position: absolute;
  top: 45px;
  left: 0;
  background: #06bcce;
  min-width: 220px;
  padding: 10px;
  border-radius: 10px;
  top: 100%;
  margin-top: 0;
  display: none;
}

.submenu li a {
  padding: 10px;
  display: block;
}

.dropdown {
  padding-bottom: 5px;
}


.dropdown:hover > .submenu,
.dropdown .submenu:hover {
  display: block;
}


/* ===============================
   RESPONSIVE PARA CELULAR
================================ */

@media (max-width: 768px) {

  /* Mostrar botón */
  .menu-toggle {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  /* Menú vertical oculto */
  .menu {
    flex-direction: column;
    display: none;
    width: 100%;
    background: #06bcce;
    border-radius: 12px;
    padding: 10px;
  }

  /* Mostrar menú cuando esté activo */
  .menu.active {
    display: flex;
  }

  /* Submenu en móvil */
  .submenu {
    position: relative;
    top: 0;
    left: 0;
    min-width: 100%;
    border-radius: 8px;
  }

  .dropdown:hover .submenu {
    display: none; /* hover no funciona bien en móvil */
  }

  .dropdown.open .submenu {
    display: block;
  }
}

.manito {
  cursor: pointer;
}
 

/*//////////////////////////////////////*/
/*////////VACATION FORM////////////////*/
/*//////////////////////////////////////*/

/* ===============================
   ESTILO GENERAL
================================ */

.vacation-form {
  font-family: "Arial", sans-serif;
  background: linear-gradient(to bottom, #bfefff, #ffffff);
  padding: 30px 0;
  color: #222;
}


/* TITULO PRINCIPAL */
h1 {
  text-align: center;
  margin-top: 20px;
  font-size: 2rem;
  color: #2c7a3f;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* TEXTO INTRO */
p {
  max-width: 900px;
  margin: 15px auto;
  padding: 15px;
  background: rgba(255, 255, 255, 0.85);
  border-left: 6px solid #ffb703;
  border-radius: 12px;
  line-height: 1.5;
  font-size: 1rem;
}

/* ===============================
   BANNER PRINCIPAL
================================ */

.banner {
  width: 50%;
  max-width: 150px;
  margin: 20px auto;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.25);
  border: 6px solid #ffb703;
}

.banner img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.banner img {
  transition: transform 0.4s ease;
}

.banner img:hover {
  transform: scale(1.03);
}


/* ===============================
   FORMULARIO PRINCIPAL
================================ */

form {
  max-width: 750px;
  margin: 20px auto;
  padding: 25px;
  background: white;
  border-radius: 20px;
  box-shadow: 0px 6px 18px rgba(0,0,0,0.15);
  border-top: 10px solid #2c7a3f;
}

/* TABLA */
table {
  width: 100%;
  border-spacing: 12px;
}

td {
  font-size: 1rem;
  font-weight: bold;
  color: #2c7a3f;
}

/* INPUTS */
input[type="text"],
input[type="tel"],
input[type="number"],
input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 2px solid #cce3d1;
  border-radius: 12px;
  font-size: 1rem;
  transition: 0.2s;
}

input:focus {
  outline: none;
  border-color: #ffb703;
  box-shadow: 0px 0px 6px rgba(255,183,3,0.5);
}

/* RADIO */
input[type="radio"] {
  margin: 0 5px;
}

/* ===============================
   BOTONES AGREGAR NIÑO
================================ */

.btn-agregar {
  display: block;
  margin: 15px 0;
  padding: 12px;
  background: #e0f7ff;
  border: 2px dashed #219ebc;
  border-radius: 15px;
  cursor: pointer;
  font-weight: bold;
  color: #023047;
  transition: 0.3s;
}

.btn-agregar:hover {
  background: #bdefff;
  transform: scale(1.02);
}

.btn-agregar input {
  margin-right: 10px;
}

/* ===============================
   SECCIÓN PAGO
================================ */

.pay_btn {
  display: block;
  margin-top: 20px;
  padding: 15px;
  background: #fff5d6;
  border-left: 6px solid #ff8800;
  border-radius: 15px;
  font-weight: bold;
  color: #6a3d00;
}

.pay_btn button {
  margin-top: 10px;
  padding: 12px 18px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(to right, #ff8800, #ffb703);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.pay_btn button:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #ffb703, #ff8800);
}

/* COMPROBANTE */
.invoice {
  display: block;
  margin-top: 15px;
  padding: 15px;
  background: #f3e8ff;
  border-left: 6px solid #9b5de5;
  border-radius: 15px;
  font-weight: bold;
  color: #4b0082;
}

.invoice input {
  margin-top: 8px;
}

/* ===============================
   BOTÓN ENVIAR
================================ */

.boton-enviar {
  width: 100%;
  margin-top: 25px;
  padding: 15px;
  background: linear-gradient(to right, #2c7a3f, #55c57a);
  border: none;
  border-radius: 18px;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.boton-enviar:hover {
  transform: scale(1.03);
  background: linear-gradient(to right, #55c57a, #2c7a3f);
}

/* ===============================
   MODAL CONFIRMACIÓN
================================ */

/* ============================= */
/* MODAL RESPONSIVE */
/* ============================= */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.6);

  justify-content: center;
  align-items: center;

  padding: 15px;
}

/* Caja del modal */
.modal-content {
  background: white;
  width: 100%;
  max-width: 500px;

  max-height: 90vh; /* 👈 no se pasa de la pantalla */
  overflow-y: auto; /* 👈 scroll interno */

  border-radius: 18px;
  padding: 20px;

  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);

  display: flex;
  flex-direction: column;
}

/* Título */
.modal-content h3 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 15px;
  color: #1a1a1a;
}

/* Resumen */
#resumenDatos {
  font-size: 16px;
  line-height: 1.5;
}

/* ============================= */
/* BOTONES ABAJO SIEMPRE */
/* ============================= */

.modal-buttons {
  margin-top: 20px;

  display: flex;
  justify-content: space-between;
  gap: 10px;

  position: sticky;
  bottom: 0;

  background: white;
  padding-top: 15px;
}

/* Botones */
.modal-buttons button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 12px;

  font-size: 16px;
  font-weight: bold;

  cursor: pointer;
}

/* Corregir */
.btn-cancelar {
  background: #ff4d4d;
  color: white;
}

.btn-cancelar:hover {
  background: #d93636;
}

/* Confirmar */
.btn-confirmar {
  background: #00c853;
  color: white;
}

.btn-confirmar:hover {
  background: #009e42;
}


/* ===============================
   RESPONSIVE CELULARES
================================ */

@media (max-width: 600px) {

  form {
    padding: 15px;
  }

  td {
    display: block;
    width: 100%;
    margin-bottom: 5px;
  }

  tr {
    display: block;
    margin-bottom: 15px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .modal-buttons {
    flex-direction: column;
  }

  .btn-cancelar,
  .btn-confirmar {
    width: 100%;
  }
}

/* ===============================
   PAGO EN EFECTIVO
================================ */

.cash_pay {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: 15px;
  padding: 15px;

  background: #e8fdf3; /* verde suave */
  border-left: 6px solid #2c7a3f;
  border-radius: 15px;

  font-weight: bold;
  color: #1f5e35;

  cursor: pointer;
  transition: 0.25s ease;
}

/* Hover solo visual */
.cash_pay:hover {
  background: #d6f5e4;
  transform: scale(1.01);
}

/* Radio personalizado sin romper otros radios */
.cash_pay input[type="radio"] {
  transform: scale(1.3);
  accent-color: #2c7a3f; /* moderno y compatible */
  cursor: pointer;
}

/* Texto */
.cash_pay span {
  font-size: 1rem;
}

@media (max-width: 600px) {

  .banner {
    border-radius: 18px;
    border: 4px solid #ffb703;
  }

  .banner img {
    height: auto;
  }

  .cash_pay {
    padding: 12px;
    font-size: 0.95rem;
  }

  .cash_pay input[type="radio"] {
    transform: scale(1.4);
  }
}


/*///////////////////////////////////////////*/
/*////////CONSULTA VACACIONES////////////////*/
/*///////////////////////////////////////////*/

.logo-container {
    text-align: left; /* Centra el logo */
    padding: 20px 0;
    width: 50%;
    
}

.logo-admin {
    max-width: 70px; /* Tamaño máximo en PC */
    height: auto;
    transition: transform 0.3s ease;
    border-radius: 100%;
}

.logo-admin:hover {
    transform: scale(1.05); /* Efecto sutil al pasar el mouse */
}

/* Ajuste para celulares */
@media (max-width: 768px) {
    .logo-admin {
        max-width: 180px; /* Más pequeño en celulares para que no ocupe toda la pantalla */
    }
    
    header {
        width: 90% !important; /* Ampliamos tu header del 60% al 90% en móvil para que quepa el menú */
    }
}

/* ===============================
   PANEL DE ESTADÍSTICAS
================================ */

.stats-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Para que en celular se pongan uno abajo de otro */
}

.stat-box {
    background: white;
    padding: 20px;
    border-radius: 15px;
    min-width: 150px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* Colores de las cajas */
.stat-box.blue { border-bottom: 5px solid #06bcce; color: #06bcce; }
.stat-box.green { border-bottom: 5px solid #2c7a3f; color: #2c7a3f; }
.stat-box.red { border-bottom: 5px solid #d93636; color: #d93636; }

/* Ajuste móvil */
@media (max-width: 600px) {
    .stats-container {
        gap: 10px;
    }
    .stat-box {
        flex: 1 1 45%; /* Dos cajas por fila en móviles */
        padding: 15px;
    }
}

.admin-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 10px;
}

/* Tarjeta principal por familia */
.admin-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0px 6px 18px rgba(0,0,0,0.15);
    border-top: 10px solid #06bcce; /* Tu color base */
    margin-bottom: 30px;
    padding: 20px;
    overflow: hidden;
}

/* Información del Padre */
.admin-parent {
    border-bottom: 2px solid #e0f7ff;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.admin-parent h3 {
    color: #023047;
    margin: 0 0 10px 0;
    font-size: 1.3rem;
}

.admin-parent p {
    /* Sobrescribimos el estilo de tus otros 'p' para que no tengan el borde amarillo */
    max-width: 100%;
    margin: 5px 0;
    padding: 0;
    background: none;
    border-left: none;
    font-size: 0.95rem;
    color: #444;
}

/* Botón de Comprobante (Siguiendo tu estilo de botones) */
.btn-file {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #06bcce;
    color: white !important;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.85rem;
    transition: 0.3s;
}

.btn-file:hover {
    background: #05a5b5;
    transform: translateY(-2px);
}

/* Contenedor de Niños */
.admin-kids-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.admin-kid-item {
    background: #f0fbff;
    border: 1px solid #cce3d1;
    padding: 12px;
    border-radius: 12px;
}

.admin-kid-item span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.admin-kid-name {
    font-weight: bold;
    color: #06bcce;
}

/* Ajuste para el encabezado de la página */
.admin-title {
    color: #06bcce !important;
    margin-bottom: 30px;
}

/* ===============================
   ESTADOS DE PAGO (ALERTAS)
================================ */

.status-container {
    margin-top: 15px;
}

.status-pending {
    display: inline-block;
    color: #d93636; /* Rojo fuerte */
    font-weight: bold;
    font-size: 0.9rem;
    padding: 5px 10px;
    border: 1px solid #d93636;
    border-radius: 5px;
    background-color: rgba(217, 54, 54, 0.1);
    
    /* Aplicamos la animación */
    animation: parpadeo 1.5s infinite;
}

/* Definición del efecto de parpadeo */
@keyframes parpadeo {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* REPSONSIVE */
@media (max-width: 600px) {
    .admin-container {
        padding: 15px;
    }
    .admin-kids-grid {
        grid-template-columns: 1fr;
    }
}


/*///////////////////////////////////////////*/
/*////SELECT CARGAR COMPROBANTE//////////////*/
/*///////////////////////////////////////////*/

/* ===============================
   INVOICE SELECT
=============================== */

.invoice_select {
  width: 95%;
  max-width: 900px;
  margin: 20px auto;
  font-family: Arial, sans-serif;
}

/* Header */
.invoice_select__header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  background: #06bcce;
  color: #fff;
  font-weight: bold;
  padding: 12px;
  border-radius: 8px 8px 0 0;
}

/* Rows */
.invoice_select__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 12px;
  text-decoration: none;
  color: #222;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.2s ease, transform 0.1s ease;
}

.invoice_select__row:hover {
  background: #e9f9fb;
  transform: scale(1.01);
}

/* Cells */
.invoice_select__row div,
.invoice_select__header div {
  padding: 4px 6px;
  word-break: break-word;
}

/* Última fila */
.invoice_select__row:last-child {
  border-radius: 0 0 8px 8px;
}

/* ===============================
   MOBILE
=============================== */
@media (max-width: 600px) {

  .invoice_select__header {
    display: none;
  }

  .invoice_select__row {
    grid-template-columns: 1fr;
    gap: 6px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }

  .invoice_select__row div::before {
    font-weight: bold;
    color: #06bcce;
    display: block;
    font-size: 12px;
  }

  .invoice_select__row div:nth-child(1)::before {
    content: "Apoderado";
  }

  .invoice_select__row div:nth-child(2)::before {
    content: "Teléfono";
  }

  .invoice_select__row div:nth-child(3)::before {
    content: "Fecha inscripción";
  }
}

/*///////////////////////////////////////////*/
/*///////////CARGAR COMPROBANTE//////////////*/
/*///////////////////////////////////////////*/

/* ===============================
   INVOICE UPLOAD
=============================== */

.invoice_upload {
  width: 95%;
  max-width: 500px;
  margin: 25px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  font-family: Arial, sans-serif;
}

/* Title */
.invoice_upload__title {
  text-align: center;
  color: #06bcce;
  margin-bottom: 15px;
  font-size: 22px;
}

/* Info box */
.invoice_upload__info {
  background: #f1fbfd;
  border-left: 4px solid #06bcce;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 14px;
}

.invoice_upload__info p {
  margin: 4px 0;
}

/* Kids list */
.invoice_upload__kids {
  margin-top: 10px;
}

.invoice_upload__kids ul {
  margin: 6px 0 0 16px;
  padding: 0;
}

.invoice_upload__kids li {
  font-size: 14px;
  margin-bottom: 4px;
  color: #333;
}

/* Form */
.invoice_upload__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* File input */
.invoice_upload__label {
  background: #e9f9fb;
  border: 2px dashed #06bcce;
  padding: 18px;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  color: #048a96;
  transition: background 0.2s ease;
}

.invoice_upload__label:hover {
  background: #dff6f9;
}

.invoice_upload__label input {
  display: none;
}

/* Archivo seleccionado */
.invoice_upload__filename {
  margin-top: 6px;
  font-size: 14px;
  color: #048a96;
  text-align: center;
  font-style: italic;
}

/* Cambio visual cuando hay archivo */
.invoice_upload__label.selected {
  background: #dff6f9;
  border-color: #049cab;
  color: #023047;
}


/* Button */
.invoice_upload__btn {
  background: linear-gradient(135deg, #06bcce, #049cab);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.invoice_upload__btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* ===============================
   MOBILE
=============================== */
@media (max-width: 600px) {
  .invoice_upload {
    padding: 16px;
  }

  .invoice_upload__title {
    font-size: 18px;
  }
}

/* ===============================
   FIX – AISLAR INVOICE UPLOAD
=============================== */

.invoice_upload form {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  border-top: none;
}

.invoice_upload p {
  max-width: 100%;
  margin: 4px 0;
  padding: 0;
  background: none;
  border-left: none;
}


/*//////////////////////////////////////*/
/*/////FORMULARIO PRESENTACION//////////*/
/*//////////////////////////////////////*/

/* ================================= */
/* LOGO + IMAGEN PRESENTACION NIÑOS */
/* ================================= */

.child_pres__logo{
    text-align:center;
    margin-bottom:20px;
}

/* LOGO IGLESIA */
.child_pres__logo-img{
    width:110px;
    height:auto;
    margin-bottom:10px;
    border-radius:100%;
    background:white;
    padding:8px;
    
}

/* IMAGEN BEBES (BANNER) */
.child_pres__banner{
    width:100%;
    max-width:520px;

    height:450px;      /* escritorio */
    object-fit:cover;
    object-position:top;

    border-radius:14px;
    box-shadow:0 10px 20px rgba(0,0,0,0.08);
}

/* ====== CONTENEDOR GENERAL ====== */
.child_pres {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom, #e0f6ff, #ffffff);
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

/* ====== NUBES DECORATIVAS ====== */
/* ====== FONDO CON IMAGEN ====== */
.child_pres {
    font-family: 'Segoe UI', sans-serif;
    background-image: 
        linear-gradient(to bottom, rgba(224,246,255,0.3), rgba(255,255,255,0.3)),
        url("../img/child_background.png");

    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    min-height: 100vh;
    padding: 20px;
    position: relative;
}


/* ====== CAJA FORMULARIO ====== */
.child_pres .form-box {
    background: #ffffff;
    max-width: 600px;
    margin: auto;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border:1px solid rgba(45,170,225,0.15);
}

.child_pres__form{
    border-top: 8px solid #2daae1;
}
/* TITULOS */
.child_pres h1,
.child_pres h2 {
    color: #2daae1;
    text-align: center;
}
.child_pres h2 {
    font-size: 13px;
    color: #000;
    font-weight: 400;
}

.child_pres h3 {
    font-size: 13px;
    color: #000;
    font-weight: 400;
}
.child_pres h3 b{
    color: red;
}

/* GRUPO EDAD */
.child_pres__age-group{
    display:flex;
    gap:10px;
}

.child_pres__age-group input{
    flex:1;
}

.child_pres__age-group select{
    width:140px;
    padding:10px;
    border-radius:8px;
    border:1px solid #2daae1;
    font-size:14px;
}

/* INPUTS */
.child_pres input[type="text"],
.child_pres input[type="number"],
.child_pres input[type="mail"],
.child_pres input[type="tel"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px;
    border-radius: 8px;
    border: 1px solid #2daae1;
    outline: none;
    font-size: 14px;
}

/* RADIO */
.child_pres .radio-group {
    margin-bottom: 15px;
}

/* BOTON */
.child_pres button {
    width: 100%;
    padding: 12px;
    background: #2daae1;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

/* ==========================================
   BOTONES DE RADIO PERSONALIZADOS
========================================== */

.child_pres .radio-group {
    display: flex;
    gap: 25px;
    margin: 10px 0 20px 0;
}

/* Contenedor de cada opción */
.child_pres .custom-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    user-select: none;
}

/* Ocultar el radio nativo y crear el círculo personalizado */
.child_pres .custom-radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid #2daae1;
    border-radius: 50%;
    background-color: #ffffff;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    margin: 0;
    transition: all 0.2s ease-in-out;
}

/* Efecto hover */
.child_pres .custom-radio:hover input[type="radio"] {
    border-color: #1c90c3;
    box-shadow: 0 0 6px rgba(45, 170, 225, 0.35);
}

/* Punto central (inicialmente invisible) */
.child_pres .custom-radio input[type="radio"]::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #2daae1;
    transform: scale(0);
    transition: transform 0.15s ease-in-out;
}

/* Estado seleccionado */
.child_pres .custom-radio input[type="radio"]:checked {
    border-color: #2daae1;
    box-shadow: 0 2px 5px rgba(45, 170, 225, 0.4);
}

/* Mostrar el punto interior al marcar */
.child_pres .custom-radio input[type="radio"]:checked::before {
    transform: scale(1);
}

/* ====== MODAL ====== */
.child_pres .modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.child_pres .modal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
}

.child_pres .modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.child_pres .btn-secondary {
    background: #ccc;
    color: black;
}

/* ==========================================
   POLÍTICA DE PRIVACIDAD
========================================== */

.child_pres button:disabled {
    background: #cbd5e1;
    color: #888;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ==========================================
   POLÍTICA DE PRIVACIDAD Y CHECKBOX
========================================== */

/* Contenedor del label */
.evangelism-privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
    cursor: pointer;
    user-select: none;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Ocultar el checkbox nativo pero mantenerlo accesible */
.evangelism-privacy-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    min-width: 24px; /* Evita que se encoja en pantallas pequeñas */
    border: 2px solid #2daae1;
    border-radius: 6px;
    background-color: #ffffff;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    margin: 0;
    transition: all 0.2s ease-in-out;
}

/* Efecto hover sobre el checkbox */
.evangelism-privacy-check:hover input[type="checkbox"] {
    border-color: #1c90c3;
    box-shadow: 0 0 6px rgba(45, 170, 225, 0.35);
}

/* Checkbox activo/marcado */
.evangelism-privacy-check input[type="checkbox"]:checked {
    background-color: #2daae1;
    border-color: #2daae1;
    box-shadow: 0 2px 5px rgba(45, 170, 225, 0.4);
}

/* Dibujo del check (palomita blanca) */
.evangelism-privacy-check input[type="checkbox"]::before {
    content: "";
    width: 7px;
    height: 12px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg) scale(0);
    margin-bottom: 2px;
    transition: transform 0.15s ease-in-out;
}

/* Animación de entrada de la marca de verificación */
.evangelism-privacy-check input[type="checkbox"]:checked::before {
    transform: rotate(45deg) scale(1);
}

/* Enlace a las políticas */
.evangelism-privacy-check a {
    color: #2daae1;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.evangelism-privacy-check a:hover {
    color: #1c90c3;
}

/* CONTENEDOR DEL ENLACE TOOLTIP */
.tooltip-privacy {
    position: relative;
    display: inline-block;
}

.tooltip-privacy a {
    color: #0f172a;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

/* CUADRO FLOTANTE OCULTO POR DEFECTO */
.tooltip-privacy .tooltip-box {
    visibility: hidden;
    opacity: 0;
    width: 320px;
    background-color: #ffffff;
    color: #334155;
    text-align: left;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    font-size: 11px;
    line-height: 1.5;
    font-weight: normal;

    /* Posicionamiento arriba del enlace */
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;

    /* Transición suave */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* FLECHA INFERIOR DEL TOOLTIP */
.tooltip-privacy .tooltip-box::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

/* MOSTRAR AL PASAR EL CURSOR (HOVER) Y EN CELULARES AL TOCAR */
.tooltip-privacy:hover .tooltip-box,
.tooltip-privacy:focus-within .tooltip-box {
    visibility: visible;
    opacity: 1;
}

/* ===== FIX RESPONSIVE INPUTS ===== */
.child_pres *,
.child_pres *::before,
.child_pres *::after {
    box-sizing: border-box;
}

/* Tablets */
@media (max-width:768px){

    .child_pres__banner{
        height:300px;
    }
}

/* Celulares */
@media (max-width:480px){

    .child_pres__logo-img{
        width:85px;
    }

    .child_pres__banner{
        height:auto;           /* 🔥 clave */
        aspect-ratio: 4 / 3;   /* mantiene proporción */
        border-radius:12px;
    }
}

/*//////////////////////////////////////*/
/*//////////////////////////////////////*/
/*//////////////////////////////////////*/

/*//////////////////////////////////////*/
/*/////CONSUL PRESENTACION//////////*/
/*//////////////////////////////////////*/

/* CONTENEDOR GENERAL */
.consul_child__container{
  width:95%;
  max-width:1500px;
  margin:auto;
  font-family:Arial;
}

/* LOGO */
.consul_child__logo{
  width:70px;
  border-radius:100%;
  margin-top:10px;
}

/* TITULO */
.consul_child__title{
  text-align:center;
  margin:20px 0;
  color:#06bcce;
}

/* BOTON */
.consul_child__actions{
  text-align:right;
  margin-bottom:15px;
}

.consul_child__btn{
  background:#06bcce;
  color:white;
  padding:10px 18px;
  text-decoration:none;
  border-radius:6px;
  font-size:14px;
  transition:0.3s;
}

.consul_child__btn:hover{
  background:#0599a8;
}

/* TABLA */
.consul_child__table-wrapper{
  overflow-x:auto;
}

.consul_child__table{
  width:100%;
  border-collapse:collapse;
  background:white;
  table-layout: fixed;
}

/* CABECERA */
.consul_child__table th{
  background:#06bcce;
  color:white;
  padding:12px;
  border:1px solid #ddd;
  text-align:left;
}

/* FILAS */
.consul_child__table td{
  padding:10px;
  border:1px solid #ddd;
  font-size:14px;
  color: #000;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* EFECTO EXCEL */
.consul_child__table tbody tr:nth-child(even){
  background:#f7f7f7;
}

/* HOVER */
.consul_child__table tbody tr:hover{
  background:#dff7fa;
  cursor:pointer;
}

/* RESPONSIVE TABLA PROFESIONAL */
@media(max-width:768px){

  .consul_child__table-wrapper{
    overflow-x:hidden;
  }
  .consul_child__table thead{
    display:none;
  }

  .consul_child__table,
  .consul_child__table tbody,
  .consul_child__table tr,
  .consul_child__table td{
    display:block;
    width:100%;
  }

  .consul_child__table tr{
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:10px;
    background:white;
  }

  .consul_child__table td{
    text-align:left;
    padding-left:140px;
    position:relative;
    border:none;
    border-bottom:1px solid #eee;
    word-break: break-word;
  }

  .consul_child__table td:last-child{
    border-bottom:none;
  }

  .consul_child__table td::before{
    content:attr(data-label);
    position:absolute;
    left:10px;
    width:45%;
    text-align:left;
    font-weight:bold;
    color:#06bcce;
  }
}
/*//////////////////////////////////////*/
/*//////////////////////////////////////*/
/*//////////////////////////////////////*/
