/* ===============================
   MENÚ RESPONSIVE - AREA NIÑOS
================================ */
body{
  font-family:'Nunito', sans-serif;
}

header {
  width: 60%;
  background: #F7DE00;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.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: 12px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* MENÚ PRINCIPAL */

.menu {
  list-style: none;
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
}

/* BOTONES DEL MENÚ */

.menu li a {
  display: block;
  padding: 10px 16px;
  color: #2d3436;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  background: ;
  transition: all 0.25s ease;
}

/* HOVER DIVERTIDO */

.menu li a:hover {
  background: white;
  transform: translateY(-2px) scale(1.05);
}

/* SUBMENÚ */

.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #F7DE00;
  min-width: 220px;
  padding: 10px;
  border-radius: 5px;
  display: none;
}

.submenu li a {
  padding: 10px;
  display: block;
  background: ;
  margin-bottom: 6px;
  border-radius: 5px;
  font-size: 14px;
}

.submenu li a:hover {
  background: white;
}

/* ACTIVAR SUBMENU */

.dropdown:hover > .submenu,
.dropdown .submenu:hover {
  display: block;
}

.dropdown {
  padding-bottom: 5px;
}

/* ===============================
   RESPONSIVE PARA CELULAR
================================ */

@media (max-width: 768px) {

  header{
    width:95%;
  }

  /* botón hamburguesa */

  .menu-toggle {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  /* menú vertical */

  .menu {
    flex-direction: column;
    display: none;
    width: 100%;
    background: #F7DE00;
    border-radius: 15px;
    padding: 10px;
  }

  .menu.active {
    display: flex;
  }

  .menu li a{
    text-align:center;
  }

  /* submenu móvil */

  .submenu {
    position: relative;
    top: 0;
    left: 0;
    min-width: 100%;
    border-radius: 10px;
    background:#F7DE00;
  }

  .dropdown:hover .submenu {
    display: none;
  }

  .dropdown.open .submenu {
    display: block;
  }
}

/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/

/* ==========================
   FORMULARIO COMPARTIR
========================== */

*{
    box-sizing:border-box;
}

.logo-home{
    width:60px;
    height:auto;
    border-radius:50%;
    margin:10px;
}

.select_form{
    width:95%;
    max-width:500px;
    margin:40px auto;
    padding:30px;
    background:#fff;
    border:3px solid #F7DE00;
    border-radius:20px;
    box-shadow:0 4px 15px rgba(0,0,0,0.15);
}

.select_form h1{
    text-align:center;
    color:#333;
    margin-bottom:25px;
    font-size:28px;
}

.select_form label{
    display:block;
    margin-bottom:8px;
    font-weight:bold;
    color:#333;
}

.select_form select{
    width:100%;
    padding:12px;
    border:2px solid #F7DE00;
    border-radius:10px;
    font-size:16px;
    margin-bottom:20px;
    outline:none;
    transition:0.3s;
}

.select_form select:focus{
    box-shadow:0 0 8px rgba(247,222,0,0.6);
}

.select_form input[type="submit"]{
    width:100%;
    padding:12px;
    border:none;
    border-radius:10px;
    background:#F7DE00;
    color:#000;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.select_form input[type="submit"]:hover{
    transform:translateY(-2px);
    box-shadow:0 4px 10px rgba(0,0,0,0.2);
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width:768px){

    .logo-home{
        width:50px;
    }

    .select_form{
        width:95%;
        padding:20px;
        margin-top:20px;
    }

    .select_form h1{
        font-size:22px;
    }

    .select_form select,
    .select_form input[type="submit"]{
        font-size:15px;
    }
}
/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/


/* ==========================
   FORMULARIO POSTULACIÓN
========================== */

.pos_form{
    width:95%;
    max-width:750px;
    margin:40px auto;
    padding:35px;
    background:#ffffff;
    border:3px solid #F7DE00;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

.pos_form h1{
    text-align:center;
    color:#2d3436;
    margin-bottom:20px;
    font-size:2rem;
}

.pos_form p{
    text-align:justify;
    line-height:1.7;
    color:#555;
    margin-bottom:30px;
}

.pos_form h2{
    color:#2d3436;
    background:#F7DE00;
    padding:12px 15px;
    border-radius:12px;
    margin-top:25px;
    margin-bottom:20px;
    font-size:1.1rem;
}

.pos_form label{
    display:block;
    margin-bottom:8px;
    margin-top:15px;
    font-weight:700;
    color:#444;
}

.pos_form input[type="text"],
.pos_form input[type="tel"],
.pos_form select,
.pos_form textarea{
    width:100%;
    padding:14px;
    border:2px solid #e5e5e5;
    border-radius:12px;
    font-size:16px;
    transition:all 0.3s ease;
    background:#fafafa;
}

.pos_form input[type="text"]:focus,
.pos_form input[type="tel"]:focus,
.pos_form select:focus,
.pos_form textarea:focus{
    border-color:#F7DE00;
    background:#fff;
    outline:none;
    box-shadow:0 0 10px rgba(247,222,0,0.4);
}

.pos_form textarea{
    width:100%;
    padding:14px;
    border:2px solid #e5e5e5;
    border-radius:12px;
    font-size:16px;
    transition:all 0.3s ease;
    background:#fafafa;
}

/* Checkbox */
.privacy-check input[type="checkbox"]{
    transform: scale(1.5);
    margin-top: 3px;
    margin-right: 8px;
    accent-color: #F7DE00;
    cursor: pointer;
}

/* Botón */
.privacy-btn{
    width:100%;
    margin-top:30px;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#F7DE00;
    color:#2d3436;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    transition:all 0.3s ease;
    -webkit-appearance:none;
    appearance:none;
}

.privacy-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 15px rgba(0,0,0,0.15);
}

.privacy-btn:active{
    transform:translateY(0);
}

.privacy-btn:disabled{
    background:#d9d9d9;
    color:#777;
    cursor:not-allowed;
    box-shadow:none;
    transform:none;
}

.privacy-btn:disabled:hover{
    transform:none;
    box-shadow:none;
}


@media (max-width:768px){

    .pos_form{
        width:95%;
        padding:20px;
        margin:15px auto;
    }

    .pos_form h1{
        font-size:1.5rem;
    }

    .pos_form h2{
        font-size:1rem;
        text-align:center;
    }

    .pos_form p{
        font-size:14px;
        text-align:left;
    }

    .pos_form .privacy-check input[type="checkbox"]{
        transform: scale(2);
    }

    .pos_form input[type="text"],
    .pos_form input[type="tel"]{
        font-size:16px; /* evita zoom automático en iPhone */
    }

    .privacy-btn{
        padding:14px;
        font-size:16px;
    }
}

@media (max-width: 480px){
    .privacy-btn{
        padding:13px;
        font-size:15px;
        border-radius:10px;
    }

    .privacy-check input[type="checkbox"]{
        transform: scale(1.3);
    }
}

/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/

/* ==========================
   CONSULTA POSTULACIONES
========================== */

.consul_post{
    width:95%;
    max-width:1200px;
    margin:30px auto;
}

/* Título */
.titulo-post{
    text-align:center;
    color:#2d3436;
    font-size:clamp(1.6rem, 3vw, 2.4rem);
    font-weight:700;
    margin-bottom:25px;
    line-height:1.3;
}

/* Badge */
.estado-titulo{
    display:inline-block;
    padding:6px 16px;
    margin-left:8px;
    border-radius:50px;
    font-size:0.55em;
    font-weight:600;
    vertical-align:middle;
    letter-spacing:.5px;
    box-shadow:0 3px 10px rgba(0,0,0,.12);
}

/* Color Aprobada */
.estado-aprobada{
    background:linear-gradient(135deg,#38d26f,#1fb954);
    color:#fff;
}

/* Color Rechazada */
.estado-rechazada{
    background:linear-gradient(135deg,#FF6A4A,#FF360D);
    color:#fff;
}

.consul_post table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 4px 15px rgba(0,0,0,0.12);
}

.consul_post table tbody tr {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.consul_post th{
    background:#F7DE00;
    color:#2d3436;
    padding:15px;
    text-align:left;
    font-weight:bold;
}

.consul_post td{
    padding:12px 15px;
    border-bottom:1px solid #e5e5e5;
    vertical-align:top;

}

.consul_post tr:nth-child(even){
    background:#fffdf0;

}

.consul_post tr:hover{
    background:#fff7b3;

}

.consul_post td:last-child{
    max-width:400px;
    word-break:break-word;
}

@media (max-width:768px){

    .consul_post table,
    .consul_post thead,
    .consul_post tbody,
    .consul_post th,
    .consul_post td,
    .consul_post tr{
        display:block;
    }

    .consul_post thead{
        display:none;
    }

    .consul_post tr{
        background:#fff;
        border:2px solid #F7DE00;
        border-radius:15px;
        margin-bottom:15px;
        padding:10px;
        box-shadow:0 3px 10px rgba(0,0,0,0.08);
    }

    .consul_post td{
        border:none;
        padding:8px 10px;
        display:flex;
        flex-direction:column;
    }

    .consul_post td::before{
        content:attr(data-label);
        font-weight:bold;
        color:#2d3436;
        margin-bottom:4px;
    }
}

/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/

/* ==========================
   DETALLE DE POSTULACIÓN (TARJETA)
========================== */

.basket_pos_detail {
    width: 95%;
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    overflow: hidden;
    border-top: 8px solid #F7DE00; /* Línea decorativa superior */
    font-family: sans-serif;
}

.basket_pos_card_header {
    background: #fffdf0;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

.basket_pos_card_header h2 {
    margin: 0;
    color: #2d3436;
    font-size: 24px;
}

.basket_pos_card_header p {
    margin: 5px 0 0 0;
    color: #7f8c8d;
    font-size: 14px;
}

.basket_pos_card_body {
    padding: 25px;
}

.basket_pos_info_group {
    margin-bottom: 18px;
}

.basket_pos_info_group:last-child {
    margin-bottom: 0;
}

.basket_pos_label {
    display: block;
    font-weight: bold;
    color: #2d3436;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.basket_pos_value {
    color: #2d3436;
    font-size: 16px;
    background: #fffdf0;
    padding: 10px;
    border-radius: 8px;
    border-left: 4px solid #F7DE00;
    word-break: break-word;
}

/* Contenedor de Botones de Acción */
.basket_pos_actions {
    display: flex;
    gap: 12px;
    padding: 20px 25px 25px 25px;
    background: #fff;
}

.basket_pos_btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border: none;
    cursor: pointer;
}

.basket_pos_btn:active {
    transform: scale(0.98);
}

.basket_pos_btn_whatsapp {
    background: #F7DE00;
    color: #000;
}

.basket_pos_btn_share {
    background: #F7DE00;
    color: #2d3436;
}

.basket_pos_btn:hover {
    background: #FCEC56;
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 480px) {
    .basket_pos_actions {
        flex-direction: column;
    }
    .basket_pos_btn {
        width: 100%;
    }
}

/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/

/* ==========================
   ENCUESTA CESTA
========================== */

.survey_pos_page{
    background:#f4f4f4;
    padding:20px;
}

.survey_pos_container{
    max-width:850px;
    margin:auto;
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

.survey_pos_header{
    background:#F7DE00;
    padding:35px 20px;
    text-align:center;
}

.survey_pos_logo{
    width:120px;
    height:120px;
    margin:auto;
    background:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    box-shadow:0 0 10px rgba(0,0,0,.2);
}

.survey_pos_logo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.survey_pos_title{
    margin-top:20px;
    font-size:32px;
    font-weight:bold;
    color:#333;
}

.survey_pos_subtitle{
    margin-top:20px;
    padding:15px 20px;
    background:#fffdf0;
    border-left:5px solid #d6b800;
    border-radius:10px;
    color:#444;
    font-size:15px;
    line-height:1.6;
    max-width:700px;
    margin-left:auto;
    margin-right:auto;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.survey_pos_body{
    padding:35px;
}

.survey_pos_group{
    margin-bottom:25px;
}

.survey_pos_label{
    display:block;
    margin-bottom:8px;
    font-weight:bold;
    color:#444;
    font-size:15px;
}

/* Grupo de radios */
.survey_pos_radio_group{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    margin-top:10px;
}

/* Tarjeta */
.survey_pos_radio{
    display:flex;
    align-items:center;
    gap:8px;
    padding:12px 18px;
    background:#fafafa;
    border:2px solid #e5e5e5;
    border-radius:12px;
    cursor:pointer;
    transition:all .3s ease;
    font-size:15px;
    font-weight:500;
}

/* Radio */
.survey_pos_radio input[type="radio"]{
    accent-color:#F7DE00;
    transform:scale(1.3);
    cursor:pointer;
}

/* Hover */
.survey_pos_radio:hover{
    border-color:#F7DE00;
    background:#fffceb;
}

/* Focus al seleccionar */
.survey_pos_radio:has(input[type="radio"]:checked){
    background:#fff9d1;
    border-color:#F7DE00;
    box-shadow:0 0 0 4px rgba(247,222,0,.2);
}

/* Focus teclado */
.survey_pos_radio input[type="radio"]:focus{
    outline:none;
}

/* Responsive */
@media(max-width:768px){

    
}



.survey_pos_input,
.survey_pos_select{
    width:100%;
    padding:14px;
    border:1px solid #d8d8d8;
    border-radius:10px;
    font-size:15px;
    box-sizing:border-box;
    background:white;
    transition:.3s;
}

.survey_pos_input:focus,
.survey_pos_select:focus{
    outline:none;
    border-color:#F7DE00;
    box-shadow:0 0 8px rgba(247,222,0,.5);
}

.survey_pos_btn{
    width:100%;
    padding:16px;
    border:none;
    background:#F7DE00;
    color:#333;
    font-size:18px;
    font-weight:bold;
    border-radius:12px;
    cursor:pointer;
    transition:.3s;
}

.survey_pos_btn:hover{
    background:#e3cc00;
}

@media(max-width:768px){

    .survey_pos_page{
        padding:10px;
    }

    .survey_pos_header{
        padding:25px 15px;
    }

    .survey_pos_body{
        padding:20px;
    }

    .survey_pos_logo{
        width:90px;
        height:90px;
    }

    .survey_pos_title{
        font-size:24px;
    }

    .survey_pos_subtitle{
        font-size:14px;
    }

    .survey_pos_input,
    .survey_pos_select{
        padding:12px;
    }

    .survey_pos_radio_group{
        gap:10px;
    }

    .survey_pos_radio{
        flex:1;
        justify-content:center;
        padding:14px;
    }
}

@media(max-width:480px){

    .survey_pos_radio_group{
        flex-direction:column;
    }

    .survey_pos_radio{
        width:100%;
    }
}
/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/


/* ==========================
   ENCUESTA DETALLE
========================== */

/*==================================================
=            VARIABLES DEL SISTEMA                  =
==================================================*/

:root{

    --primary:#F7DE00;
    --success:#28a745;
    --danger:#dc3545;
    --warning:#ffc107;
    --gray:#6c757d;

    --background:#f5f7fb;

    --card:#ffffff;

    --border:#e7e7e7;

    --text:#343a40;

    --shadow:0 8px 25px rgba(0,0,0,.08);

    --radius:16px;

}

body{

    background:var(--background);

}

.survey_detail{

    max-width:1400px;

    margin:40px auto;

    padding:25px;

}

.survey-banner{

    padding:18px;

    border-radius:12px;

    color:white;

    font-size:18px;

    font-weight:bold;

    margin-bottom:30px;

    box-shadow:var(--shadow);

}

.banner-red{

    background:linear-gradient(135deg,#dc3545,#b02a37);

}

.banner-green{

    background:linear-gradient(135deg,#28a745,#208637);

}


.survey-header{

    background:white;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    padding:30px;

    margin-bottom:30px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    position:relative;

}

.header-left h1{

    margin:0;

    font-size:32px;

    color:var(--text);

}

.header-left p{

    margin-top:10px;

    color:#777;

}

.header-right{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}

.header-right small{

    display:block;

    color:#888;

    margin-bottom:5px;

}

.new_indicator{

    position:absolute;

    top:20px;

    right:20px;

    width:18px;

    height:18px;

    border-radius:50%;

    background:red;

    box-shadow:0 0 10px red;

    animation:blink 1s infinite;

}

@keyframes blink{

    0%{

        opacity:1;

        transform:scale(1);

    }

    50%{

        opacity:.2;

        transform:scale(1.3);

    }

    100%{

        opacity:1;

        transform:scale(1);

    }

}

.survey-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(450px,1fr));

    gap:25px;

}

.card{

    background:white;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    overflow:hidden;

    transition:.3s;

}

.card:hover{

    transform:translateY(-6px);

}

.card-title{

    background:#F7DE00;

    color:white;

    padding:18px;

    font-size:20px;

    font-weight:bold;

}

.info-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 20px;

    border-bottom:1px solid var(--border);

}

.info-row:last-child{

    border:none;

}

.info-row:last-child{

    border:none;

}

.info-row span{

    color:#666;

    font-weight:600;

}

.info-row strong{

    color:var(--text);

}

/*====================================
=            DESCRIPCIÓN             =
====================================*/

.description-row{

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    gap:12px;

}

.description-row span{

    color:#666;

    font-weight:600;

}

.description{

    width:100%;

    background:#f8f9fa;

    border:1px solid var(--border);

    border-left:4px solid var(--primary);

    border-radius:10px;

    padding:14px 16px;

    box-sizing:border-box;

    color:var(--text);

    line-height:1.6;

    white-space:pre-wrap;

    overflow-wrap:anywhere;

}

.chip{

    display:inline-block;

    padding:7px 16px;

    border-radius:30px;

    font-size:14px;

    font-weight:bold;

}

.chip-info{

    background:#d1ecf1;
    color:#0c5460;
}

.chip-success{

    background:#d4edda;

    color:#155724;

}

.chip-danger{

    background:#f8d7da;

    color:#721c24;

}

.chip-warning{

    background:#fff3cd;

    color:#856404;

}

.chip-gray{

    background:#ececec;

    color:#666;

}

/*==================================================
=              BARRA DE ACCIONES                    =
==================================================*/

.survey-actions{

    margin-top:40px;

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    justify-content:center;

}

.btn-action{

    border:none;

    cursor:pointer;

    padding:14px 24px;

    border-radius:10px;

    font-size:16px;

    font-weight:bold;

    transition:.25s;

    color:white;

    box-shadow:var(--shadow);

}

.btn-success{

    background:#28a745;

}

.btn-danger{

    background:#dc3545;

}

.btn-warning{

    background:#ff9800;

}

.btn-info{

    background:#2196f3;

}

.btn-secondary{

    background:#6c757d;

}

.btn-action:hover{

    transform:translateY(-3px);

    opacity:.9;

}

@media(max-width:900px){

    .survey-header{

        flex-direction:column;

        align-items:flex-start;

    }

    .header-right{

        width:100%;

        margin-top:25px;

        grid-template-columns:1fr;

    }

    .description{

        font-size:15px;

    }

}

/*==================================================
=            RESOLUCIÓN DE LA ENCUESTA             =
==================================================*/

.resolution-card{

    margin-top:35px;

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    box-shadow:var(--shadow);

}

.resolution-body{

    padding:25px;

}

.resolution-body label{

    display:block;

    margin-bottom:10px;

    font-weight:bold;

    color:#555;

}

.resolution-body textarea{

    width:100%;

    min-height:180px;

    resize:vertical;

    border:1px solid #ddd;

    border-radius:10px;

    padding:15px;

    font-size:15px;

    font-family:inherit;

    transition:.3s;

    box-sizing:border-box;

}

.resolution-body textarea:focus{

    outline:none;

    border-color:var(--primary);

    box-shadow:0 0 0 3px rgba(45,108,223,.15);

}

@media(max-width:768px){

    .survey-actions{

        flex-direction:column;

    }

    .btn-action{

        width:100%;

    }

    .description{

        font-size:15px;

    }

}

@media(max-width:600px){

    .survey-grid{

        grid-template-columns:1fr;

    }

    .info-row{

        flex-direction:column;

        align-items:flex-start;

        gap:8px;

    }

    .description{

        font-size:15px;

    }

}
/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/


/* ===============================
          CONSUL CESTA
================================ */

/*==================================
=      HISTORIAL DE ENCUESTAS      =
==================================*/

.survey_month{

    background:#fff;

    margin-bottom:35px;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    margin-top: 55px;

}

.survey_month_header{

    background:#F7DE00;

    color:#2d3436;

    padding:18px 25px;

    font-size:26px;

    font-weight:700;

}

.survey_month_grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));

    gap:20px;

    padding:25px;

}

.survey_mini_card{

    display:block;

    position:relative;

    background:white;

    border-radius:15px;

    overflow:hidden;

    text-decoration:none;

    color:inherit;

    box-shadow:0 4px 15px rgba(0,0,0,.08);

    transition:.25s;

}

.survey_mini_card:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 30px rgba(0,0,0,.15);

}

.status_bar{

    height:7px;

}

.approved .status_bar{

    background:#28a745;

}

.rejected .status_bar{

    background:#dc3545;

}

.pending .status_bar{

    background:#ffc107;

}

.review .status_bar{

    background:#17a2b8;

}

.survey_name{

    padding:20px 18px 10px;

    font-size:18px;

    font-weight:bold;

    color:#2d3436;

}

.survey_date{

    padding:0 18px;

    color:#666;

    font-size:14px;

}

.survey_chip{

    display:inline-block;

    margin:18px;

    padding:7px 15px;

    border-radius:30px;

    font-size:13px;

    font-weight:bold;

}

.chip_ok{

    background:#d4edda;

    color:#155724;

}

.chip_bad{

    background:#f8d7da;

    color:#721c24;

}

.chip_pending{

    background:#fff3cd;

    color:#856404;

}

.chip_review{

    background:#d1ecf1;

    color:#0c5460;

}

.survey_footer{

    margin-top:8px;

    padding:14px 18px;

    border-top:1px solid #eee;

    font-size:14px;

    font-weight:600;

    color:#777;

    transition:.2s;

}

.survey_mini_card:hover .survey_footer{

    color:#2d3436;

    padding-left:24px;

}

.survey_mini_card::after{

    content:"";

    width:12px;

    height:12px;

    border-radius:50%;

    position:absolute;

    right:18px;

    top:18px;

}

.approved::after{

    background:#28a745;

    box-shadow:0 0 8px #28a745;

}

.rejected::after{

    background:#dc3545;

    box-shadow:0 0 8px #dc3545;

}

.pending::after{

    background:#ffc107;

    box-shadow:0 0 8px #ffc107;

}

.review::after{

    background:#17a2b8;

    box-shadow:0 0 8px #17a2b8;

}

@media(max-width:768px){

    .survey_month_header{

        text-align:center;

        font-size:22px;

    }

    .survey_month_grid{

        grid-template-columns:1fr;

        padding:18px;

    }

}

/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/

/* ==========================================================================
    Consola Administrador
   ========================================================================== */

/* Variables de Color y Diseño */
:root {
  --bg-main: #fcfcfc;
  --bg-card: #ffffff;
  --gold-primary: #F7DE00;
  --gold-hover: #F7DE00;
  --gold-light: #FFEC3D;
  --text-dark: #2c2c2c;
  --text-muted: #666666;
  --border-color: #e2e8f0;
  --border-gold: #e6c875;
  --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --shadow-gold: 0 4px 14px 0 rgba(212, 175, 55, 0.25);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* Reset básico y Tipografía */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  padding: 20px;
  min-height: 100vh;
}

/* Estilos para el Logo superior */
.logo-home {
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  transition: var(--transition);
}

.logo-home:hover {
  transform: scale(1.03);
}

/* ==========================================================================
   Contenedor Principal y Formulario (.ad_consol)
   ========================================================================== */

/* Contenedor tipo Tarjeta */
.ad_consol.container {
  max-width: 520px;
  margin: 30px auto;
  background: var(--bg-card);
  padding: 40px 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
  border-top: 5px solid var(--gold-primary); /* Acento dorado superior */
}

/* Título */
.ad_consol.title {
  color: var(--text-dark);
  font-size: 1.65rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
  position: relative;
}

.ad_consol.title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold-primary);
  margin: 8px auto 0 auto;
  border-radius: 2px;
}

/* Formulario */
.ad_consol.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Etiquetas (Labels) */
.ad_consol .label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: -10px; /* Acerca la etiqueta al input */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Inputs y Selects */
.ad_consol .input,
.ad_consol .select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: #fafafa;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  outline: none;
  transition: var(--transition);
  appearance: none; /* Normaliza apariencia en navegadores */
}

/* Efecto Focus en Inputs (Dorado) */
.ad_consol .input:focus,
.ad_consol .select:focus {
  background-color: var(--bg-card);
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Estilo para el icono desplegable del Select */
.ad_consol .select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Botón de Envío */
.ad_consol .btn-submit {
  margin-top: 10px;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-hover) 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}

.ad_consol .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.ad_consol .btn-submit:active {
  transform: translateY(0);
}

/* ==========================================================================
   Adaptabilidad Responsive (Móviles y Tablets)
   ========================================================================== */

@media (max-width: 600px) {
  body {
    padding: 12px;
  }

  .ad_consol.container {
    padding: 25px 20px;
    margin: 15px auto;
  }

  .ad_consol.title {
    font-size: 1.4rem;
  }

  .ad_consol .input,
  .ad_consol .select,
  .ad_consol .btn-submit {
    padding: 12px;
    font-size: 0.9rem;
  }
}

/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/

/* ==========================================================================
   Estilos Formulario Obra Social - Tema Amarillo/Dorado (#F7DE00)
   ========================================================================== */

:root {
  --swf-yellow-primary: #F7DE00;
  --swf-yellow-dark: #d6bf00;
  --swf-yellow-light: #fffdf0;
  --swf-yellow-soft: #fef9c3;
  --swf-text-dark: #2d3748;
  --swf-text-muted: #718096;
  --swf-border: #e2e8f0;
  --swf-radius: 12px;
  --swf-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --swf-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background-color: #fafafa;
  color: var(--swf-text-dark);
  line-height: 1.6;
  padding: 20px;
}

/* Contenedor Principal */
.social_work_form.container {
  max-width: 650px;
  margin: 20px auto;
  background: #ffffff;
  padding: 35px 30px;
  border-radius: var(--swf-radius);
  box-shadow: var(--swf-shadow);
  border: 1px solid var(--swf-border);
  border-top: 6px solid var(--swf-yellow-primary);
}

/* Estilos específicos de la corona */
.social_work_form.header-logo {
  display: block;
  margin: 0 auto 12px auto; /* 0 arriba, auto a los lados (centra), 12px abajo */
  width: 95px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(214, 191, 0, 0.25));
  transition: var(--swf-transition);
}

/* Efecto hover suave */
.social_work_form.header-logo:hover {
  transform: translateY(-2px) scale(1.03);
}

/* Cabecera del Formulario */
.social_work_form .header-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--swf-text-dark);
  text-align: center;
  margin-bottom: 8px;
}

.social_work_form .header-subtitle {
  text-align: center;
  color: var(--swf-text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Tarjeta de Información de Evento */
.social_work_form .info-card {
  background-color: var(--swf-yellow-light);
  border: 1px solid var(--swf-yellow-soft);
  border-left: 4px solid var(--swf-yellow-primary);
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  font-size: 0.92rem;
  color: #4a5568;
}

.social_work_form .info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.social_work_form .info-item:last-child {
  margin-bottom: 0;
}

/* Secciones / Divs */
.social_work_form .section-block {
  background: #ffffff;
  border: 1px solid var(--swf-border);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
}

.social_work_form .section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--swf-text-dark);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--swf-yellow-soft);
}

/* Etiquetas e Inputs */
.social_work_form .field-group {
  margin-bottom: 20px;
}

.social_work_form .label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--swf-text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social_work_form .select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--swf-text-dark);
  background-color: #fafafa;
  border: 1.5px solid var(--swf-border);
  border-radius: 8px;
  outline: none;
  transition: var(--swf-transition);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6bf00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.social_work_form .select:focus {
  background-color: #ffffff;
  border-color: var(--swf-yellow-dark);
  box-shadow: 0 0 0 3px rgba(247, 222, 0, 0.25);
}

/* Caja de Respuesta AJAX (Explicación de la Especialidad) */
.social_work_form .info-description {
  margin-top: 12px;
  padding: 14px 16px;
  background-color: #f7fafc;
  border-radius: 8px;
  border-left: 3px solid var(--swf-yellow-dark);
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.5;
}

.social_work_form .info-description:empty {
  display: none;
}

/* ==========================================================================
   Estilos de los Inputs (Datos del Paciente)
   ========================================================================== */

.social_work_form .input {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--swf-text-dark);
  background-color: #fafafa;
  border: 1.5px solid var(--swf-border);
  border-radius: 8px;
  outline: none;
  transition: var(--swf-transition);
  box-sizing: border-box; /* Evita que el input sobresalga del contenedor */
}

/* Efecto al seleccionar/hacer foco en el input */
.social_work_form .input:focus {
  background-color: #ffffff;
  border-color: var(--swf-yellow-dark);
  box-shadow: 0 0 0 3px rgba(247, 222, 0, 0.25);
}

/* Estilo para las flechas del input number */
.social_work_form .input[type="number"]::-webkit-inner-spin-button,
.social_work_form .input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
}

/* Responsive */
@media (max-width: 600px) {
  .social_work_form.container {
    padding: 20px 15px;
  }

  .social_work_form.header-logo {
    width: 75px;
    margin-bottom: 8px;
  }
  
  .social_work_form .section-block {
    padding: 18px 15px;
  }

  .social_work_form .input {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}

/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/

/* ==========================================
  CONSULTA ESPECIALISTA
  =========================================== */

/* --- CALENDARIO DE ESPECIALISTAS (.consul_espec) --- */
.consul_espec.container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

.consul_espec.title {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
}

/* Grid de Médicos */
.consul_espec.doctor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.consul_espec.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #F7DE00;
    padding-bottom: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.consul_espec.schedule-header .consul_espec.schedule-title {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

/* Botón Eliminar Cita */
.consul_espec.btn-delete-schedule {
    background-color: #dc3545;
    color: #ffffff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.consul_espec.btn-delete-schedule:hover {
    background-color: #bd2130;
    transform: translateY(-1px);
}

.consul_espec.doctor-card {
    background-color: #F7DE00;
    border: 2px solid #e0c800;
    border-radius: 10px;
    padding: 18px 15px;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.consul_espec.doctor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.consul_espec.doctor-name {
    font-size: 18px;
    font-weight: bold;
    color: #080808;
}

.consul_espec.doctor-spec {
    font-size: 14px;
    color: #444;
    margin-top: 5px;
}

/* Sección de Horarios */
.consul_espec.schedule-section {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.consul_espec.schedule-title {
    font-size: 20px;
    color: #222;
    margin-bottom: 15px;
    border-bottom: 2px solid #F7DE00;
    padding-bottom: 8px;
}

.consul_espec.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

/* Tarjetas de Citas */
.consul_espec.slot-card {
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    border: 1px solid transparent;
}

/* Estado: Libre (Verde claro) */
.consul_espec.slot-card.status-free {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* Estado: Ocupado (Rojo claro) */
.consul_espec.slot-card.status-taken {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.consul_espec.slot-time {
    font-weight: bold;
    font-size: 15px;
}

.consul_espec.slot-status {
    font-size: 13px;
    margin-top: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.consul_espec.slot-patient {
    font-size: 12px;
    margin-top: 6px;
    word-break: break-word;
}

@media screen and (max-width: 600px) {
    .consul_espec.schedule-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .consul_espec.btn-delete-schedule {
        width: 100%;
    }
}


/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/

/* ==========================================
          CONSULTA PACIENTES
  =========================================== */

  /* Estilo para el título de la consulta */
.consul_patient_title {
    color: #333333;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 4px solid #F7DE00; /* Línea decorativa del color base */
    display: inline-block;
    font-weight: bold;
}

/* Contenedor principal */
.consul_patient_container {
    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
    overflow-x: auto;
    font-family: Arial, sans-serif;
}

/* Estilo Excel para pantallas de escritorio */
.consul_patient {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Encabezado con color corporativo #F7DE00 */
.consul_patient thead tr {
    background-color: #F7DE00;
    color: #333333;
    text-align: left;
    font-weight: bold;
}

/* Bordes tipo cuadrícula de Excel */
.consul_patient th, 
.consul_patient td {
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
}

/* Filas alternadas estilo hoja de cálculo */
.consul_patient tbody tr:nth-child(even) {
    background-color: #fcfcfc;
}

/* Efecto hover suave al pasar el cursor sobre la fila */
.consul_patient tbody tr {
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.consul_patient tbody tr:hover {
    background-color: #fffbcf; /* Tono suave derivado de #F7DE00 */
    cursor: pointer;
}

/* CSS para hacer que el enlace ocupe toda la celda y luzca limpio */
.table-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.whatsapp-link {
    color: #25D366; /* Color verde característico de WhatsApp */
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px; /* Espacio entre el icono y el texto */
}
.whatsapp-link:hover {
    text-decoration: underline;
    color: #128C7E;
}
.consul_patient tbody tr {
    cursor: pointer;
}
.consul_patient tbody tr:hover {
    background-color: #f5f5f5; /* Efecto hover al pasar el mouse por la fila */
}

/* Diseño responsivo en tarjeta para dispositivos móviles (768px o menos) */
@media screen and (max-width: 768px) {
    .consul_patient, 
    .consul_patient thead, 
    .consul_patient tbody, 
    .consul_patient th, 
    .consul_patient td, 
    .consul_patient tr {
        display: block;
    }

    .consul_patient_title {
        font-size: 1.4rem;
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    /* Ocultar encabezados de tabla tradicionales */
    .consul_patient thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    /* Formato de Tarjeta para cada fila */
    .consul_patient tbody tr {
        border: 2px solid #F7DE00;
        border-radius: 8px;
        margin-bottom: 15px;
        background-color: #ffffff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        padding: 8px;
    }

    .consul_patient tbody tr:hover {
        background-color: #fffde6;
        transform: translateY(-2px);
    }

    /* Formato para cada celda dentro de la tarjeta */
    .consul_patient td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    .consul_patient td:last-child {
        border-bottom: none;
    }

    /* Mostrar la etiqueta de la celda usando el atributo data-label */
    .consul_patient td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #444;
    }
}

 /*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/

/* ==========================================
          ENCUESTA VIDA ETERNA
  =========================================== */

/* ======================================================
   CONFIGURACIÓN Y VARIABLES - MERCY SURVEY
   ====================================================== */
:root {
  --mercy-primary: #F7DE00;          /* Color base solicitado */
  --mercy-primary-dark: #D4BE00;     /* Para estados hover */
  --mercy-bg: #F4F6F8;               /* Fondo gris suave de pantalla */
  --mercy-card-bg: #FFFFFF;          /* Fondo del contenedor principal */
  --mercy-text: #222222;             /* Texto principal */
  --mercy-text-muted: #555555;       /* Texto secundario */
  --mercy-border: #D1D5DB;           /* Borde de los inputs */
  --mercy-focus: #E6CE00;            /* Color activo */
  --mercy-radius: 8px;               /* Redondeo de bordes */
  --mercy-transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.mercy_survey_body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background-color: var(--mercy-bg);
  color: var(--mercy-text);
  line-height: 1.6;
  padding: 20px 15px;
  display: flex;
  justify-content: center;
}

/* ======================================================
   CONTENEDOR PRINCIPAL
   ====================================================== */
.mercy_survey_container {
  width: 100%;
  max-width: 680px;
  background: var(--mercy-card-bg);
  padding: 30px 25px;
  border-radius: var(--mercy-radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mercy_survey_header {
  text-align: center;
  margin-bottom: 25px;
}

.mercy_survey_logo {
  max-width: 100px;
  height: auto;
  margin-bottom: 15px;
}

.mercy_survey_title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 10px;
}

.mercy_survey_quote {
  font-size: 0.92rem;
  color: var(--mercy-text-muted);
  font-style: italic;
  background-color: #FFFDF0;
  padding: 12px 16px;
  border-left: 4px solid var(--mercy-primary);
  border-radius: 4px;
  margin-bottom: 25px;
  text-align: left;
}

/* ======================================================
   CUADRO DE BIENVENIDA Y RECOMENDACIÓN
   ====================================================== */
.mercy_survey_welcome_box {
  background-color: #FFFDF0;
  border: 1px solid var(--mercy-primary);
  border-radius: var(--mercy-radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  text-align: center;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.mercy_survey_welcome_box strong {
  color: #111827;
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.mercy_survey_welcome_box p {
  margin: 0;
}

/* Estilo para el enlace al formulario de niños */
.mercy_survey_welcome_box a {
  color: #111827;
  font-weight: 700;
  text-decoration: underline;
  background-color: rgba(247, 222, 0, 0.4); /* Resaltado amarillo suave */
  padding: 2px 6px;
  border-radius: 4px;
  transition: var(--mercy-transition);
  display: inline-block;
  margin-top: 4px;
}

.mercy_survey_welcome_box a:hover {
  background-color: var(--mercy-primary);
  color: #000000;
  text-decoration: none;
}

/* ======================================================
   ESTILOS DE FORMULARIO
   ====================================================== */
.mercy_survey_form {
  display: flex;
  flex-direction: column;
}

.mercy_survey_section_title {
  font-size: 1.25rem;
  color: #111827;
  border-bottom: 2px solid var(--mercy-primary);
  padding-bottom: 6px;
  margin: 25px 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mercy_survey_label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 6px;
  color: #374151;
}

/* Inputs y Selects */
.mercy_survey_input,
.mercy_survey_select {
  width: 100%;
  padding: 11px 14px;
  font-size: 1rem;
  border: 1px solid var(--mercy-border);
  border-radius: var(--mercy-radius);
  background-color: #FAFAFA;
  color: var(--mercy-text);
  transition: var(--mercy-transition);
  outline: none;
}

.mercy_survey_textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.mercy_survey_input:focus,
.mercy_survey_select:focus {
  border-color: var(--mercy-focus);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(247, 222, 0, 0.35);
}

/* Ajuste específico para plugin intlTelInput */
.iti {
  width: 100%;
  margin-top: 2px;
  margin-bottom: 5px;
}

/* Contenedores para respuestas dinámicas AJAX */
.mercy_survey_ajax_res {
  margin-top: 8px;
  margin-bottom: 10px;
  width: 100%;
}

/* Checkbox de Privacidad */
.mercy_survey_privacy_check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--mercy-text-muted);
  margin-top: 25px;
  margin-bottom: 20px;
  cursor: pointer;
}

/* ======================================================
   AVISO DE CONFIDENCIALIDAD Y PRIVACIDAD
   ====================================================== */
.mercy_survey_privacy_info {
  font-size: 0.88rem;
  color: #4B5563;
  background-color: #F8FAFC;
  border-left: 3px solid var(--mercy-primary-dark);
  padding: 10px 14px;
  border-radius: 4px;
  margin-top: 25px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.mercy_survey_privacy_check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--mercy-primary-dark);
  cursor: pointer;
}

/* Botón Enviar */
.mercy_survey_submit_btn {
  background-color: var(--mercy-primary);
  color: #000000;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 20px;
  border: none;
  border-radius: var(--mercy-radius);
  cursor: pointer;
  transition: var(--mercy-transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mercy_survey_submit_btn:hover:not(:disabled) {
  background-color: var(--mercy-primary-dark);
  transform: translateY(-1px);
}

.mercy_survey_submit_btn:disabled {
  background-color: #E5E7EB;
  color: #9CA3AF;
  cursor: not-allowed;
  opacity: 0.7;
}

/* ======================================================
   RESPONSIVE (DISPOSITIVOS MÓVILES)
   ====================================================== */
@media (max-width: 480px) {
  .mercy_survey_container {
    padding: 20px 15px;
  }

  .mercy_survey_title {
    font-size: 1.5rem;
  }

  .mercy_survey_quote {
    font-size: 0.85rem;
  }

  .mercy_survey_input,
  .mercy_survey_select {
    padding: 10px;
    font-size: 0.95rem;
  }
}

/*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/


/* ==========================================
          ENCUESTA VIDA ETERNA
=========================================== */

/* Variables y estilos específicos del detalle */
            :root {
                --primary-yellow: #F7DE00;
                --dark-yellow: #D1BC00;
                --text-color: #2c3e50;
                --bg-card: #ffffff;
                --bg-page: #f8f9fa;
                --border-color: #e9ecef;
            }

            .c_srv_ve_det_container {
                max-width: 1100px;
                margin: 20px auto;
                padding: 0 15px;
                font-family: Arial, sans-serif;
                color: var(--text-color);
            }

            /* Cabecera del expediente */
            .c_srv_ve_det_header {
                background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 100%);
                color: #ffffff;
                padding: 20px 25px;
                border-radius: 12px 12px 0 0;
                border-bottom: 5px solid var(--primary-yellow);
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-wrap: wrap;
                gap: 15px;
            }

            .c_srv_ve_det_header h1 {
                margin: 0;
                font-size: 1.6rem;
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .c_srv_ve_det_header h1 i {
                color: var(--primary-yellow);
            }

            .c_srv_ve_det_back_btn {
                background-color: var(--primary-yellow);
                color: #000;
                text-decoration: none;
                padding: 8px 16px;
                border-radius: 6px;
                font-weight: bold;
                transition: background 0.2s;
            }

            .c_srv_ve_det_back_btn:hover {
                background-color: var(--dark-yellow);
            }

            /* Rejilla de bloques */
            .c_srv_ve_det_grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
                gap: 20px;
                margin-top: 20px;
            }

            /* Tarjetas de bloques estilo ficha clínica */
            .c_srv_ve_det_card {
                background-color: var(--bg-card);
                border: 1px solid var(--border-color);
                border-radius: 10px;
                box-shadow: 0 4px 6px rgba(0,0,0,0.05);
                overflow: hidden;
            }

            .c_srv_ve_det_card_title {
                background-color: rgba(247, 222, 0, 0.2);
                border-left: 5px solid var(--primary-yellow);
                padding: 12px 18px;
                margin: 0;
                font-size: 1.1rem;
                font-weight: bold;
                color: #333;
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .c_srv_ve_det_card_body {
                padding: 18px;
            }

            /* Elementos de datos dentro del bloque */
            .c_srv_ve_det_field {
                margin-bottom: 12px;
                display: flex;
                flex-direction: column;
            }

            .c_srv_ve_det_field:last-child {
                margin-bottom: 0;
            }

            .c_srv_ve_det_label {
                font-size: 0.85rem;
                color: #6c757d;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                font-weight: bold;
                margin-bottom: 3px;
            }

            .c_srv_ve_det_value {
                font-size: 1rem;
                color: #212529;
                font-weight: 500;
                word-break: break-word;
            }

            /* Resaltadores e insignias */
            .c_srv_ve_det_badge {
                display: inline-block;
                padding: 4px 10px;
                border-radius: 20px;
                font-size: 0.85rem;
                font-weight: bold;
                width: fit-content;
            }

            .c_srv_ve_det_badge_yes {
                background-color: #d4edda;
                color: #155724;
            }

            .c_srv_ve_det_badge_no {
                background-color: #e2e3e5;
                color: #383d41;
            }

            /* Adaptabilidad móvil */
            @media (max-width: 600px) {
                .c_srv_ve_det_header {
                    flex-direction: column;
                    align-items: flex-start;
                }
                .c_srv_ve_det_grid {
                    grid-template-columns: 1fr;
                }
            }
 /*//////////////////////////////////////////*/
/*//////////////////////////////////////////*/