/************************************* BTN EXAMED ************************************/

.btn-hr {
    color: rgb(31, 128, 60);
    border-radius: 5px;
    background-color: rgb(255, 255, 255);
    font-weight: bold;
}

.btn-hr-info {
    color: #46b8da;
    background-color: rgb(255, 255, 255);
    font-weight: bold;
    border-radius: 0px;
    border: 1px solid #46b8da;
}

    .btn-hr-info:hover {
        color: white;
        background-color: #46b8da;
        font-weight: bold;
        border-radius: 0px;
        border: 1px solid #46b8da;
    }

.exa_btn {
    padding: 10px 20px;
}

/************************************* MENU WIZARD ************************************/

.menu-wizard {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    font-weight: bold;
    margin-top: 0;
    /*background: linear-gradient(270deg, #0063AD, #35388D);*/
    /*color: #0063AD;*/
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 10px;
    margin-top: 1rem;
}

    .menu-wizard .items {
    }

.btn-items-wzrd {
    border-radius: 50%;
    padding: 0.5rem 1rem 0.5rem 1rem;
    background-color: #F1F5F8;
    cursor: none;
    border: 1px solid white;
}

    .btn-items-wzrd.active {
        background-color: #0063AD;
        color: white;
    }

.linear-wzrd {
    background-color: #F1F5F8;
    height: 3px;
    position: relative;
    top: -66%;
    z-index: -1;
}

#btn-atras {
    border-radius: 0px;
    display: none;
}

/************************************* FULL CALENDAR ************************************/
.fc-daygrid-day-number, .fc-col-header-cell-cushion {
    color: #0063AD;
}

; .fc .fc-bg-event {
    opacity: 0.7 !important;
}

.fc-event-title {
    color: white;
}

.fc .fc-button-primary {
    background-color: #2c3e5000;
    border-color: #fff;
    color: #000;
}

.tarj_med3 {
    border-radius: 1rem;
    border: 1px solid #c2c2c2;
}

tarj_med3:hover {
    background-color: #37a237;
    border-radius: 1rem;
    color: white;
}

/* ==========================
   3) Page layout and containers (contPrincipal, busSucursal, etc.)
   ========================== */
.item-wizard {
    display: none;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

    .item-wizard.active {
        display: block;
    }

.banner {
    background-color: white;
    padding: 1rem;
    border-radius: 1rem;
    -webkit-box-shadow: 0px 0px 39px 0px rgba(168,168,168,1);
    -moz-box-shadow: 0px 0px 39px 0px rgba(168,168,168,1);
    box-shadow: 0px 0px 12px 0px rgb(196, 196, 196);
}

/* ==========================
   4) Busqueda / Selects (cbxRegion, custom-select)
   ========================== */
.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
}

    .custom-select select {
        padding: 15px 20px 15px 60px; /* deja espacio a la izquierda */
        border: none;
        border-radius: 12px;
        background-color: #F1F5F8;
        font-size: 18px;
        font-weight: 600;
        color: #000;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }

    .custom-select .icon-box {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 50px;
        /*background: #fff;*/
        display: flex;
        align-items: center;
        justify-content: center;
        /*font-weight: bold;*/
        /*color: #000;*/
        border-radius: 12px 0 0 12px;
        pointer-events: none;
    }

.custom-select-slim {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-top: 10px;
}

    .custom-select-slim select {
        padding: 6px 20px 6px 60px; /* deja espacio a la izquierda */
        border: none;
        border-radius: 12px;
        background-color: #F1F5F8;
        height: 34px;
        font-size: 14px;
        font-weight: 600;
        color: #000;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }

    .custom-select-slim .icon-box {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 50px;
        /*background: #fff;*/
        display: flex;
        align-items: center;
        justify-content: center;
        /*font-weight: bold;*/
        /*color: #000;*/
        border-radius: 12px 0 0 12px;
        pointer-events: none;
    }

.custom-btn {
    display: inline-flex;
    align-items: center;
    width: 100%;
    padding: 10px 2px 10px 2px; /* espacio para la caja izquierda */
    border: none;
    border-radius: 12px;
    background-color: #F1F5F8;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    text-align: left;
}

    .custom-btn:hover {
        background-color: #eef2f7;
    }

    .custom-btn .icon-box {
        width: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px 0 0 12px;
        pointer-events: none;
    }

/* ==========================
   5) Cards: comuna / centros / especialistas
   ========================== */
.card-comuna-slt {
    padding: 2rem;
    background-color: #F1F5F8;
    border-radius: 10px;
    border: 3px solid #0063AD;
}

.card-comuna {
    padding: 2rem;
    background-color: #F1F5F8;
    border-radius: 10px;
    border: 3px solid #F1F5F8;
}

    .card-comuna:hover {
        border: 3px solid #0063AD;
        cursor: pointer;
    }

    .card-comuna.active {
        border: 3px solid #0063AD;
        cursor: pointer;
    }

.card-centros {
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    border: 3px solid #F1F5F8;
}

    .card-centros:hover {
        border: 3px solid #0063AD;
        cursor: pointer;
    }

    .card-centros.active {
        border: 3px solid #0063AD;
        cursor: pointer;
    }

.card-centros-slt {
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    border: 3px solid #0063AD;
}

.card-especialistas {
    padding: 2rem;
    background-color: #F1F5F8;
    border-radius: 10px;
    border: 3px solid #F1F5F8;
}

    .card-especialistas:hover {
        border: 3px solid #0063AD;
        cursor: pointer;
    }

    .card-especialistas.active {
        border: 3px solid #0063AD;
        cursor: pointer;
    }

.card-especialistas-slt {
    padding: 2rem;
    background-color: #F1F5F8;
    border-radius: 10px;
    border: 3px solid #0063AD;
}


/* ==========================
   6) Scroll areas and calendars
   ========================== */
/* Contenedor que tendrá scroll */
.scroll-area {
    max-height: 600px; /* ajusta a tu caso */
    overflow-y: auto;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #0d5bd7 #e9eef7; /* thumb azul | track gris claro */
}

    /* Chrome, Edge (Chromium), Safari */
    .scroll-area::-webkit-scrollbar {
        width: 10px; /* grosor de la barra */
    }

    .scroll-area::-webkit-scrollbar-track {
        background: #e9eef7; /* color del rail */
        border-radius: 999px; /* redondeado completo */
        margin: 6px 0; /* “respiro” arriba/abajo (opcional) */
    }

    .scroll-area::-webkit-scrollbar-thumb {
        background: linear-gradient(#2b7be8, #0d5bd7); /* azul */
        border-radius: 999px; /* redondeado completo */
        border: 2px solid #e9eef7; /* gap alrededor (look más limpio) */
        /* Evita que el degradado se mezcle con el borde */
        background-clip: padding-box;
    }

        .scroll-area::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(#3a86f2, #1a66d6);
        }

/* calendar / horario container */
#contentHorarios {
    margin-top: 5rem;
    padding: 2rem;
    background-color: #F1F5F8;
    border-radius: 10px;
    border: 3px solid #F1F5F8;
}

/************************************* ORDEN MEDICA ********************************/

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

    .inputfile + label {
        cursor: pointer; /* "hand" cursor */
    }

.tiptext {
    color: black;
    font-weight: bold;
    font-size: 14px;
}

.tooltip {
    position: relative;
    display: inline-block;
    /* border-bottom: 1px dotted black;*/
}

    .tooltip .tiptext {
        visibility: hidden;
        width: 200px;
        background-color: white /*#00000038*/;
        /*color: #fff;*/
        text-align: center;
        border-radius: 3px;
        position: absolute;
        z-index: 1;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

        .tooltip .tiptext::after {
            content: "";
            position: absolute;
            border-width: 5px;
            border-style: solid;
        }

    .tooltip:hover .tiptext {
        visibility: visible;
    }

    .tooltip.bot .tiptext {
        margin-left: -60px;
        top: 150%;
        left: 50%;
    }

        .tooltip.bot .tiptext::after {
            margin-left: -5px;
            bottom: 100%;
            left: 50%;
            border-color: transparent transparent #2E2E2E transparent;
        }

/********************************************************** PAGINA*********************************************************/
.txtReservaDisp .parpadea {
    animation-name: parpadeo;
    animation-duration: 1.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    -webkit-animation-name: parpadeo;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
}

.parpadea {
    font-size: 0.9em;
    animation-name: parpadeo;
    animation-duration: 1.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    -webkit-animation-name: parpadeo;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
}

@-moz-keyframes parpadeo {
    0% {
        border-color: white;
        color: white;
    }

    50% {
        border-color: #e11e2b;
        color: #e11e2b;
    }

    100% {
        border-color: #e11e2b;
        color: #e11e2b;
    }
}

@-webkit-keyframes parpadeo {
    0% {
        border-color: white;
        color: white;
    }

    50% {
        border-color: #e11e2b;
        color: #e11e2b;
    }

    100% {
        border-color: #e11e2b;
        color: #e11e2b;
    }
}

@keyframes parpadeo {
    0% {
        border-color: white;
        color: white;
    }

    50% {
        border-color: #e11e2b;
        color: #e11e2b;
    }

    100% {
        border-color: #e11e2b;
        color: #e11e2b;
    }
}
