body {
    background-color: #ddd;
}

.chat {
    box-shadow:  0rem 0.125rem 0.3125rem 0rem rgba(0,0,0,.16), 0rem 0.125rem 0.625rem 0rem rgba(0,0,0,.12);
}

.header {
    background-color: #004976;
}

.reminder .date,
.reminder .hour {
    color: #35416d
}

#myhours-screen .reminder .map {
    background-color: #35416d
}

.boton.default {
    background-color: #FBBA00
}

.round-boton.default {
    background-color: #FBBA00
}

.boton.default:hover {
    background-color: #FBBA00
}

.round-boton.default:hover {
    background-color: #FBBA00
}

.boton.load {
    background-color: #FBBA00
}

.round-boton.load {
    background-color: #FBBA00
}

.round-boton.timeout-refresh {
    background-color: #FBBA00;
    color: white
}

.boton.timeout-refresh {
    background-color: #FBBA00;
    color: white
}

.content .search .search-results {
    border: 0.0625rem solid #FBBA00;
    border-top: 0
}

.calendar .header a:hover {
    color: #005091
}

.calendar .header .date span {
    color: #005091
}

.calendar .header .date-selected {
    color: #fff;
    background-color: #005091
}

.calendar .header .date-selected span.year {
    background-color: #005091
}

.calendar #datepicker .ui-datepicker td.ui-datepicker-current-day {
    background: #005091
}

.calendar #datepicker .ui-datepicker td.ui-datepicker-current-day:hover {
    background-color: #005091
}

.calendar #datepicker .ui-datepicker td.con-hora a:before {
    background-color: #005091
}

.hours ul.day>li .available-hours .detail>ul li:hover label {
    color: #005091
}

.hours ul.day>li .available-hours .detail>ul li:hover .check {
    border: 0.1875rem solid #005091
}

.hours ul.day>li .available-hours .detail>ul li input[type=radio]:checked ~ .check {
    border: 0.1875rem solid #005091
}

.hours ul.day>li .available-hours .detail>ul li input[type=radio]:checked ~ .check::before {
    background: #005091
}

.hours ul.day>li .available-hours .detail>ul li input[type=radio]:checked ~ label {
    color: #005091
}

.bootbox .modal-footer button[data-bb-handler="confirm"] {
    background-color: #35416d !important;
    border-color: #35416d
}

.bootbox .modal-footer button[data-bb-handler="cancel"] {
   color: #6c6c6c !important;
   background-color: #c7c7c7 !important;
}

.bootbox .modal-footer button[data-bb-handler="cancel"]:hover {
    color: #35416d;
 }

.bootbox .modal-footer button[data-bb-handler="confirm"]:hover {
    background-color: #35416d;
    border-color: #35416d
}

#resumen .voucher-msg {
    color: #35416d;
}



@media (max-width:768px) {
    .keyboard {
        height: 28vh !important;
    }
    .keyboard.mini>ul li {
        height: 6vh;
    }
    .keyboard>ul li button {
        font-size: 0.8rem;
        line-height: 2.0;
        font-weight: 400;
    }
}

.keyboard>ul li button.erase {
    background: url(/static/images/agenda/icon-erase.svg) no-repeat center center #A6A8AB;
    color: white;
    background-size: 1.875rem;
    text-indent: -9999px;
    height: 1.65rem;
}

#rut-screen.keyboard-open .content,
#rut-screen-horas.keyboard-open .content {
    height: 50% !important;
}
.content {
    background-color: #004976;
    color: #fff;
    min-height: 2rem;
    /*padding: 40px 10px;*/
}

#rut-screen .content .first-card .card-body .md-form,
#rut-screen-horas .content .first-card .card-body.md-form {
    position: relative;
    bottom: 0;
    width: calc(100% - 1.875rem)
}

.tags .contain .card {

    margin-bottom: 0.3rem;

}

#rut-screen .title *,
#rut-screen-horas .title * {
    color: #004976;
    line-height: 1.4;
}

.content .title {
        position: initial;
        bottom: 3.75rem;
        width: 100%;
}

.content .title h2 {
    margin: 0rem;
}

.content .title h5 {
    margin: 0rem;
    text-transform: uppercase
}


#rut-screen .content .search,
#rut-screen-horas .content .search {
        position: relative;
        width: 100%;

}

.round-boton {

    width: 80%;
    height: 2.5rem;
    border: 0rem;
    line-height: 1;
    text-transform: uppercase;
    font-size: 0.8125rem;
    border-radius: 2.5rem;
    margin-bottom: 0.3125rem;
    font-weight: 700;
}

@keyframes loadrolling {
    from {
        background-position: calc(100% - -1.25rem) center
    }
    to {
        background-position: calc(100% - 1.875rem) center
    }
}

.round-boton.load {
    background-image: url("/static/images/agenda/rolling.svg");
    background-position: calc(100% - 1.875rem) center;
    background-repeat: no-repeat;
    animation: loadrolling;
    animation-duration: .5s;
    pointer-events: none
}

.boton {

    width: 70%;
    height: 2.5rem;
    border: 0;
    line-height: 1;
    text-transform: uppercase;
    font-size: 0.8125rem;
    border-radius: 0.125rem;
    margin-bottom: 0.3125rem;
    font-weight: 700;
}


button:focus {

    outline: none;
}

.first-card {
    margin-bottom: -2rem;
    box-shadow: 0rem 0.125rem 0.3125rem 0rem rgba(0,0,0,.16), 0rem 0.125rem 0.625rem 0rem rgba(0,0,0,.12);
    border: 0;
    background-color: #FFF;
    border-radius: 0.3125rem;
}

@keyframes LOADING {
    0% {
        transform: scale(0.5);
        background: #35416d
    }
    50% {
        transform: scale(1);
        background: white
        }
    100% {
        transform: scale(0.5);
        background: #35416d
    }
}

@keyframes LOADINGREV {
    0% {
        transform: scale(0.5);
        background: white
    }
    50% {
        transform: scale(1);
        background: transparent
    }
    100% {
        transform: scale(0.5);
        background: white
    }
}

.loading.dark {
    background-color: rgba(94, 104, 114, 0.9)
}

.loading.dark p {
    color: #fff !important
}

.tags {
    display: table;
    padding: 0.625rem 0.9375rem 0rem 0.9375rem;
    height: 10rem;
    width: 100%;
    background-color: #004976;
    position: relative
}

.popover.fade.top.in {
    border: 0rem solid rgba(0, 0, 0, 0);

}

.popover.top > .arrow {
    bottom: -0.625rem;
    left: 91% !important;
    margin-left: -0.6875rem;
    border-top-color: rgba(0, 0, 0,0);
}

.popover.fade.bottom.in {
    border: 0rem solid rgba(0, 0, 0, 0);

}

.popover.bottom > .arrow {
    border-bottom-color: rgba(0, 0, 0,0);
}


#rut-screen .also,
#rut-screen-horas .also {

    padding: 0.9375rem;
    margin-top: 8.5rem;
}

#rut-screen .also h5,
#rut-screen-horas .also h5 {
    font-weight: 600;
    margin-bottom: 0rem;
}

.boton-also {
    width: 100%;
    border: 0rem;
    text-transform: uppercase;
    font-size: 0.8125rem;
    border-radius: 2.5rem;
    margin-bottom: 0.3125rem;
    background-color: #005091;
}

.round-boton.disabled {
    background-color:#aaa !important;
    border: 0.0625rem solid #aaa;
    color: #FFF !important;
    pointer-events: none

}

.btn:hover, .btn:focus, .btn.focus {
    color:#FFF;
    text-decoration: none;
}

.tags .tag {
    height: 1.9rem;
}

.placeholder-input::placeholder {
    font-style: italic;
    color: #5559 !important;

}

.blue-title {
    color:#35416d;
    font-size: 1.5rem;
    font-weight: 700;
}

.blue-subtitle {
    color:#35416d;
    font-size: 1.1rem;
    font-weight: 700;
}


.tags .tag.rut:before {
    content: '';
    position: absolute;
    width: 1.5625rem;
    height: 1.5625rem;
    background: url(/static/images/agenda/paciente.png) no-repeat center;
    background-size: cover;
    left: 0.625rem;
    top: 0.125rem;
}


.tags .tag.center:before {
    content: '';
    position: absolute;
    width: 1.5625rem;
    height: 1.5625rem;
    background: url(/static/images/agenda/center.png) no-repeat center;
    background-size: cover;
    left: 0.625rem;
    top: 0.125rem;
}

.tags .tag.isapre:before {
    content: '';
    position: absolute;
    width: 1.5625rem;
    height: 1.5625rem;
    background: url(/static/images/agenda/rut.png) no-repeat center;
    background-size: cover;
    left: 0.625rem;
    top: 0.125rem;
}

.tags .tag.familiar {
    line-height: 1
}

.tags .tag.familiar:before {
    content: '';
    position: absolute;
    width: 1.5625rem;
    height: 1.5625rem;
    background: url(/static/images/agenda/paciente.png) no-repeat center;
    background-size: cover;
    left: 0.625rem;
    top: 0.125rem;
}

.tags .tag.speciality {
    line-height: 2
}

.tags .tag.speciality:before {
    content: '';
    position: absolute;
    width: 1.5625rem;
    height: 1.5625rem;
    background: url(/static/images/agenda/medicina.png) no-repeat center;
    background-size: cover;
    left: 0.625rem;
    top: 0.125rem;
}

.tags .tag.doctor {
    height: 1.875rem;
    padding-top: 0.25rem;
    padding-left: 2.8125rem;
    line-height: 1
}

.tags .tag.doctor img {
    position: absolute;
    width: 1.875rem;
    height: 1.875rem;
    left: 0.3125rem;
    top: 0.125rem;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
}

.tags .tag.doctor img.default {
    border: 0.0625rem solid #6c6c6c;
    padding: 0.125rem;
}

.tags .tag .text {
    width: 95%;
    max-width: 13vh;
    display: block;
    overflow-x: hidden;
    white-space: nowrap;
}

.tags .tag .text:after {
    content: '...';
    position: absolute;
    right: 1.25rem;
    top: 0.25rem;
}

.tags .tag .removeTag {
    text-indent: -9999px;
    position: absolute;
    right: 0rem;
    top: calc(50% - 0.625rem);
    padding: 0rem;
    height: 1.25rem;
    width: 1.25rem;
    background: url(/static/images/agenda/close.svg) no-repeat center;
    background-size: 0.625rem;
    border: 0;
    z-index: 991;
    cursor: pointer;
    opacity: 0.2
}

.tags .tag .removeTag:hover {
    opacity: 0.8
}

.action ul#result-speciality li:before {
    content: '';
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    background: url(/static/images/agenda/medicina.png) no-repeat center;
    background-size: cover;
    left: 1.5625rem;
    top: 1.25rem;
}

.action ul#result-hours li.hour:before {
    content: '';
    position: absolute;
    width: 1.875rem;
    height: 1.875rem;
    background: url(/static/images/agenda/hora.png) no-repeat center;
    background-size: cover;
    left: 1.3125rem;
    top: 1rem;
}

/* Track */
::-webkit-scrollbar {
    width: 0.5rem;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0rem 0rem 0rem rgba(0, 0, 0, 0.3);
    box-shadow: inset 0rem 0rem 0rem rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 0.125rem;
    border-radius: 0.125rem;
}

/* Handle */

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0.125rem;
    border-radius: 0.125rem;
    background:#a6a8ab;
    -webkit-box-shadow: inset 0rem 0rem 0rem rgba(0, 0, 0, 0.5);
    box-shadow: inset 0rem 0rem 0rem rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
    background:#a6a8ab;
}

.loading .typing-ani span {
    height: 0rem;
    position: absolute;
    top: 50%;
    left: 0rem;
    width: 0rem;
    margin: 0rem;
    height: 0.875rem;
    width: 0.875rem;
    border: 0.0625rem solid #5da3f9;
    border-radius: 100%;
    transform: transformZ(0);
    animation: LOADING 2s infinite
}

#review-screen input[type=text] {
    margin-bottom: 0.5rem;
}
.input-tel input {
    margin-bottom: 0.3125rem !important;
}

#review-screen .review-form {
    height: 2rem;
    font-size: 0.8rem;
}

#review-screen {
    z-index: 989;
    overflow: auto;
    background-color: #f7f7f7;
}

#review-screen .btn-arrow-back.gris {
    left: 0.625rem;
    top: 1.25rem;
    padding-left: 1.875rem;
    line-height: 1.7;
    text-indent: initial;
    color: #6c6c6c;
    display: block
}

#review-screen .btn-arrow-back.bwhite {
    top: 1.25rem;
    padding-left: 1.875rem;
    line-height: 1.7;
    text-indent: initial;
    display: block;
}

#review-screen .content {
    height: 50%;
    box-shadow: none;
    margin-top: 0rem;
}

#review-screen .content .title {
    position: relative;
    bottom: 0rem;
}

.content .title img {
    width: 3.9375rem;
    position: absolute;
    top: 0.1875rem;
    right: 0.0625rem;
}

#rut-screen-horas img {
    height: 3.125rem;
}

#review-screen .content .conversation {
    width: 100%;
    position: relative;
    color: #6c6c6c;
    bottom: auto;
}

#review-screen .action {
    height: auto;
    padding: 0.9375rem;
    background-color: transparent;
    width: 100%;
    overflow: auto;
    position: relative;
}

#review-screen .left {
    padding-right: 0.3125rem;
    display: inline-block;
    width: 50%;
    float: left;
}

#review-screen .right {
    padding-left: 0.3125rem;
    display: inline-block;
    width: 50%;
    float: left;
}

#myhours-screen .content {
    background-color: #f7f7f7;
    text-align: center;
}

.btn-arrow-back {
    background: url("/static/images/agenda/flecha-izq.svg") no-repeat center center;
    height: 1.75rem;
    text-indent: -9999px;
    position: unset;
    width: 1.5625rem;
    display: none;
}

.btn-arrow-back.gris {
    background: url("/static/images/agenda/flecha-gris.svg") no-repeat center center;
    background-size: 1rem;
}

.btn-arrow-back.bwhite {
    background: url("/static/images/agenda/back-arrow-white.png") no-repeat center center;
    background-size: 1.65rem;
}

.badge {
    padding: 0.35rem 0.35rem;
    box-shadow:none;
}

.badge-light {
    background-color: #c7c7c7!important;
    color: #333!important;
    font-size: 0.65rem;
}


.modal-footer {
    padding: 0.625rem;
    justify-content: center;
}

.modal-body {
    text-align: center;
}

.modal-header {
    padding: 0.75rem 1rem;
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    border-bottom: 1px solid #e9e9e9;
}

/* X de cerrar: va primero (izquierda), centrada verticalmente */
.modal-header .close {
    order: -1;
    margin: 0 0.5rem 0 0 !important;
    padding: 0 !important;
    float: none !important;
    font-size: 1.1rem;
    line-height: 1;
    align-self: center;
    color: #555;
}

/* Título del modal: a la izquierda, grande y negrita */
.modal-header .modal-title,
.modal-title {
    text-align: left !important;
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    color: #222 !important;
    flex: 1;
    line-height: 1.3 !important;
}

#myhours-screen .reminder .next-vists-details .btn-default {
    background-color: #35416d !important;
}

.doctor-observation {
    font-size: 0.55rem;
    font-weight: 600;
    color: #006c96;
    display: flex;
    line-height: 0.95rem;
}


.action {
    height: calc(100% - 13.75rem);
    background-color: #f7f7f7;
    width: 100%;
    overflow: auto;
    position: relative;
}

.action ul li {

height: 3.5rem;
padding-right: 0.3125rem !important;
border-bottom: 0.0625rem solid #cbced0;
background-color: #f7f7f7;
line-height: 4.6;
cursor: pointer;
position: relative;
}

.action ul li>a {
    color: #333;
    position: absolute;
    display: block;
    left: 4.0625rem;
    height: 100%;
    overflow: hidden;
    width: calc(100% - 4.0625rem);
    white-space: nowrap;
    font-size: 0.78rem;
}

.action ul#result-doctor li {
    line-height: 2.8;
}

.action ul#result-doctor img {

    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    left: 0.8125rem;
    background-color: #A6A8AB;
    top: 0.5rem;
    border-radius: 50%;
    background-color: white;
    border: 0.085rem solid #35416d;
}

.action ul#result-doctor li>a>span.doctor-speciality {
    display: block;
    font-size: 0.625rem;
    color: #6c6c6c;
    position: absolute;
    top: 0.9375rem;
}

.action ul#result-hours li {
    line-height: 2.15rem;
    padding-left: 0.9375rem;
    height: 3.75rem;
    cursor: default;

}


.md-form .form-control {
    padding: 1.3rem 0rem 0rem 0rem;
}

.md-form label {
    position: absolute;
    top: 1.3rem;
}

.container-fnacim #datepicker .ui-datepicker td a {
    text-align: center;
    border: 0;
    background: none;
    padding: .65rem;
    color: #6c6c6c;
    cursor: pointer;
}
.container-fnacim #datepicker .ui-widget.ui-widget-content {
    border: 0;
    width: 100%;
    left: 0rem !important;
    background-color: white;
    top: -0.45rem !important;
    box-shadow: 0px 6px 5px -3px rgba(0,0,0,0.3);
}

.ui-datepicker .ui-datepicker-header {
    position: relative;
    padding: .5rem 0;
}

.ui-datepicker select.ui-datepicker-year {
    width: 30%;
}

.container-fnacim #datepicker .ui-datepicker .ui-datepicker-next {
    top: 0.5rem;
}
/* ====== EVEREST BRAND OVERRIDES ====== */

/* Tipografía corporativa: Source Sans Pro */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;900&display=swap');

body, .chat, .content, .action, .tags, .header, button, input, select {
    font-family: 'Source Sans 3', 'Source Sans Pro', Arial, sans-serif !important;
}

/* Header: azul oscuro corporativo */
.header {
    background-color: #072D69 !important;
    color: #fff !important;
}

.header .client-name p,
.header .client-name a {
    color: #fff !important;
}

/* Tags area: azul oscuro corporativo */
.tags {
    background-color: #072D69 !important;
}

.tags .tag {
    color: #333 !important;
    background-color: rgba(255,255,255,0.9) !important;
}

/* Content background: azul oscuro */
.content {
    background-color: #072D69 !important;
    color: #fff !important;
}

/* Botones amarillos: texto oscuro para legibilidad */
.boton.default,
.boton.default:hover,
.round-boton.default,
.round-boton.default:hover,
.boton.load,
.round-boton.load,
.boton.timeout-refresh,
.round-boton.timeout-refresh {
    background-color: #FBBA00 !important;
    color: #072D69 !important;
    font-weight: 900 !important;
}

/* Border search results */
.content .search .search-results {
    border-color: #FBBA00 !important;
}

/* Loading animation con colores de marca */
@keyframes LOADING {
    0%   { transform: scale(0.5); background: #FBBA00 }
    50%  { transform: scale(1);   background: white }
    100% { transform: scale(0.5); background: #FBBA00 }
}

/* Modal: bordes redondeados en el contenedor */
.modal-content {
    border-radius: 1rem !important;
    overflow: hidden !important;
}

/* Bootbox / modal: confirm → amarillo, cancel → gris, bordes moderados */
/* OK button (alertas bootbox) */
.bootbox .modal-footer button[data-bb-handler="ok"],
.bootbox .modal-footer button.btn-warning {
    background-color: #FBBA00 !important;
    border-color: #FBBA00 !important;
    color: #fff !important;
    border-radius: 0.5rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

.bootbox .modal-footer button[data-bb-handler="confirm"],
.modal-footer .btn-primary,
.modal-footer .btn-confirm {
    background-color: #FBBA00 !important;
    border-color: #FBBA00 !important;
    color: #fff !important;
    border-radius: 0.5rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

.bootbox .modal-footer button[data-bb-handler="confirm"]:hover,
.modal-footer .btn-primary:hover {
    background-color: #e6a800 !important;
    border-color: #e6a800 !important;
}

.bootbox .modal-footer button[data-bb-handler="cancel"],
.modal-footer .btn-default,
.modal-footer .btn-cancel {
    background-color: #c7c7c7 !important;
    border-color: #c7c7c7 !important;
    color: #fff !important;
    border-radius: 0.5rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

.bootbox .modal-footer button[data-bb-handler="cancel"]:hover,
.modal-footer .btn-default:hover {
    color: #333 !important;
    background-color: #b0b0b0 !important;
}

/* Títulos: azul medio */
.blue-title {
    color: #005091 !important;
}

.blue-subtitle {
    color: #005091 !important;
}

/* RUT screen title */
#rut-screen .title *,
#rut-screen-horas .title * {
    color: #072D69 !important;
}

/* Doctor image border */
.action ul#result-doctor img {
    border-color: #005091 !important;
}

/* Reminder colors */
.reminder .date,
.reminder .hour {
    color: #005091 !important;
}

#myhours-screen .reminder .map {
    background-color: #072D69 !important;
}

#myhours-screen .reminder .next-vists-details .btn-default {
    background-color: #FBBA00 !important;
    color: #072D69 !important;
}

/* Voucher message */
#resumen .voucher-msg {
    color: #005091 !important;
}

/* boton-also: azul medio */
.boton-also {
    background-color: #005091 !important;
}

/* Font-everest clase dinámica usada en new_review.html */
.font-clinica_dental_everest {
    color: #005091 !important;
    font-weight: 700;
}

/* ====== EVEREST MOCKUP V2 ====== */

/* rut-screen: contenedor relativo para anclar el watermark */
#rut-screen {
    position: relative;
    background-color: #f0f0f0;
    overflow: hidden;
}

/* RUT screen content: gris, sin overflow hidden */
#rut-screen .content {
    background-color: #f0f0f0 !important;
    color: #333 !important;
    position: relative;
    z-index: 1;
    min-height: 14rem;
    padding-bottom: 1rem;
}

/* Watermark: anclado al fondo de #rut-screen */
.ev-mountain-watermark {
    position: absolute;
    bottom: -9rem;
    right: -3rem;
    left: auto;
    width: 65%;
    height: auto;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    display: block;
}

/* "También puede": transparente para que se vean las montañas */
.ev-tambien-puede {
    background-color: transparent !important;
    position: relative;
    z-index: 1;
}

/* Contenido rut-screen sobre el watermark */
#rut-screen .content > * {
    position: relative;
    z-index: 1;
}

/* Título rut-screen: azul corporativo, negrita fuerte */
#rut-screen .content .title h2 {
    color: #072D69 !important;
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    margin-bottom: 1.2rem !important;
}

/* Botón Siguiente: texto blanco sin negrita, un poco más grande */
#btn-login {
    color: #fff !important;
    font-weight: 400 !important;
    text-transform: none !important;
    font-size: 1rem !important;
}

/* Div logo: sin padding extra en rut-screen */
#rut-screen .div-logo {
    padding-top: 1.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Input RUT: rectangular con bordes redondeados */
#rut-screen .first-card input.form-control,
#rut-screen .search input.form-control {
    border: 1.5px solid #ddd !important;
    border-radius: 0.375rem !important;
    padding: 0.5rem 0.75rem !important;
    background-color: #fff !important;
    color: #333 !important;
}

/* Card RUT: transparente, sin sombra ni borde */
#rut-screen .first-card {
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    margin-bottom: 0.5rem !important;
}

/* Tags area: fondo gris claro */
.tags {
    background-color: #f0f0f0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0.5rem 0.75rem 0 0.75rem !important;
}

/* Card de tags: blanca con borde */
.tags .contain .card {
    background-color: #fff !important;
    border-radius: 0.75rem !important;
    border: 1px solid #ddd !important;
    padding: 0.25rem 0.5rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    margin-bottom: 0 !important;
}

/* Tag individual: texto oscuro, fondo transparente */
.tags .tag {
    background-color: transparent !important;
    color: #444 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-radius: 0 !important;
    height: 2rem !important;
    line-height: 2rem !important;
    margin-bottom: 0 !important;
    padding-left: 2.6rem !important;
}
.tags .tag:last-child {
    border-bottom: 0 !important;
}

/* RemoveTag: visible sobre fondo claro */
.tags .tag .removeTag {
    background: url(/static/images/agenda/close.svg) no-repeat center;
    background-size: 0.5rem;
    opacity: 0.35;
}

/* Search screen content: gris claro */
#search-screen .content {
    background-color: #f0f0f0 !important;
    color: #333 !important;
    box-shadow: none !important;
    min-height: 0 !important;
    padding: 0.5rem 0.75rem 0.75rem 0.75rem !important;
}

/* Search input: rectangular con bordes redondeados */
#search-screen .content .search {
    position: relative;
    width: 100%;
}
#search-screen .content .search input {
    border-radius: 0.375rem !important;
    border: 1px solid #ddd !important;
    background-color: #fff !important;
    color: #333 !important;
    padding: 0.5rem 2.5rem 0.5rem 0.75rem !important;
    width: 100% !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
    height: 2.5rem !important;
}
#search-screen .content .search input::placeholder {
    color: #aaa !important;
    font-style: normal !important;
}

/* Lupa: dentro del pill */
#search-screen .content .search #btn-search.lupa {
    background-color: transparent !important;
    color: #888 !important;
    border: 0 !important;
    right: 0.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Action area */
.action {
    background-color: #f0f0f0 !important;
}
.action ul li {
    background-color: #fff !important;
}

/* Doctor list: foto circular con borde azul más visible */
.action ul#result-doctor img {
    border: 1.5px solid #072D69 !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
}

/* "Más horas" badge: texto blanco */
.badge-mas-horas {
    color: #fff !important;
}

/* "Más horas" badge: amarillo corporativo */
.has_agenda_False .firsthour-dates {
    display: none !important;
}
.action ul#result-doctor li {
    padding-right: 0 !important;
    overflow: hidden !important;
    position: relative !important;
}
.doctor-firsthour {
    position: absolute !important;
    right: 0.4rem !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    border-radius: 0.25rem !important;
    overflow: hidden !important;
}
.firsthour-dates {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.68rem !important;
    color: #666 !important;
    line-height: 1.4 !important;
    width: 5rem !important;
    text-align: center !important;
    padding: 0 0.3rem !important;
    white-space: nowrap !important;
}
.doctor-firsthour .badge-mas-horas {
    background-color: #FBBA00 !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 0 !important;
    width: 3.2rem !important;
    min-width: 3.2rem !important;
    padding: 0 !important;
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch !important;
}

/* También puede: links estilo */
.ev-tambien-puede {
    padding: 0.75rem 1rem;
    text-align: center;
    background-color: #f0f0f0;
}
.ev-tambien-puede p {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 0.25rem;
    font-weight: 600;
}
.ev-tambien-puede a {
    display: block;
    font-size: 0.8rem;
    color: #005091;
    text-decoration: underline;
    margin-bottom: 0.15rem;
}

/* ---- Horas disponibles ---- */

/* Botón "Reservar": rectangular redondeado, texto blanco */
.action ul#result-hours li .boton.default.small {
    position: absolute !important;
    right: 0.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    min-width: 5.5rem !important;
    border-radius: 0.375rem !important;
    background-color: #FBBA00 !important;
    color: #fff !important;
    font-weight: 400 !important;
    height: 2.2rem !important;
    padding: 0 1rem !important;
    text-transform: none !important;
}

/* Botón "Ver todas las horas disponibles": rectangular redondeado, azul */
#btn-agenda {
    background-color: #072D69 !important;
    color: #fff !important;
    border-radius: 0.375rem !important;
    width: 90% !important;
    font-weight: 400 !important;
    text-transform: none !important;
}
#btn-agenda:hover {
    background-color: #005091 !important;
}

/* ---- Formulario datos paciente (review-screen) ---- */

#review-screen {
    background-color: #f0f0f0 !important;
}

/* Botón "← Regresar" en review-screen: texto visible, color azul */
#review-screen .btn-arrow-back.bwhite {
    text-indent: 0 !important;
    background-image: none !important;
    color: #072D69 !important;
    width: auto !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    padding-left: 1.2rem !important;
    background: url("/static/images/agenda/flecha-izq.svg") no-repeat left center !important;
    background-size: 0.75rem !important;
    display: block !important;
}

#review-screen .content {
    background-color: #f0f0f0 !important;
    box-shadow: none !important;
    height: auto !important;
}

/* Card blanca */
#review-screen .first-card {
    border-radius: 0.75rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
}

/* Título "Ya estamos casi listos": azul corporativo */
#review-screen .blue-title {
    color: #072D69 !important;
    font-size: 1.5rem !important;
    font-weight: 900 !important;
}

/* Espaciado para el contenedor de fecha nacimiento */
#review-screen .container-fnacim.review-form {
    margin-bottom: 0.9rem !important;
}

/* Inputs: rectangulares con borde redondeado suave */
#review-screen input[type=text],
#review-screen input.review-form,
#review-screen select.review-form,
#review-screen .form-control.review-form {
    border-radius: 0.375rem !important;
    border: 1.5px solid #ddd !important;
    padding: 0.45rem 0.75rem !important;
    background-color: #fff !important;
    color: #333 !important;
    height: 2.4rem !important;
    margin-bottom: 0.6rem !important;
}

/* Input teléfono: misma forma rectangular */
.input-tel {
    display: flex !important;
    align-items: stretch !important;
    border: 1.5px solid #ddd !important;
    border-radius: 0.375rem !important;
    background-color: #fff !important;
    overflow: hidden !important;
    height: 2.4rem !important;
    margin-bottom: 0.6rem !important;
}
.input-tel:before {
    background-color: #e9e9e9 !important;
    color: #555 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border-right: 1px solid #ddd !important;
    flex-shrink: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 0.6rem !important;
}
.input-tel input.review-form {
    border: 0 !important;
    border-radius: 0 !important;
    flex: 1 !important;
    height: 100% !important;
    padding-left: 0.75rem !important;
    background-color: transparent !important;
    margin-bottom: 0 !important;
}

/* Botón "Continuar": pill amarillo, texto blanco más grande */
#review-screen #btn-finish,
#review-screen .round-boton.default {
    background-color: #FBBA00 !important;
    color: #fff !important;
    font-weight: 400 !important;
    border-radius: 2rem !important;
    width: 80% !important;
    text-transform: none !important;
    font-size: 1.1rem !important;
}

/* ---- Pantalla éxito (finish-screen) ---- */

#finish-screen {
    background-color: #f0f0f0 !important;
}

#finish-screen .content {
    background-color: #f0f0f0 !important;
    box-shadow: none !important;
}

/* Card blanca de reserva exitosa */
#finish-screen .first-card {
    border-radius: 0.75rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
}

/* Título "RESERVA EXITOSA" → estilo azul */
#successful p {
    color: #072D69 !important;
    font-size: 1.3rem !important;
    font-weight: 900 !important;
    text-transform: none !important;
}

/* "GRACIAS POR AGENDAR" → azul corporativo grande */
#finish-screen .action > .bold {
    color: #072D69 !important;
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    display: block !important;
    margin-bottom: 0.5rem !important;
}

/* Link "Volver" */
#finish-screen .action a {
    color: #005091 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    display: block !important;
}

/* Ocultar botón "ANULAR" en finish si no se necesita visualmente */
#back-another-hour .boton {
    display: none !important;
}

.modal-footer button[data-bb-handler="confirm"].btn-confirm-whatsapp {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #fff !important;
    border-radius: 0.5rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

.modal-footer button[data-bb-handler="confirm"].btn-confirm-whatsapp:hover {
    background-color: #62e17f !important;
    border-color: #62e17f !important;
}

.modal-footer button[data-bb-handler="cancel"].btn-cancel-whatsapp {
    background-color: #072d69 !important;
    border-color: #072d69 !important;
    color: #fff !important;
    border-radius: 0.5rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

.modal-footer button[data-bb-handler="cancel"].btn-cancel-whatsapp:hover {
    color: #333 !important;
    background-color: #b0b0b0 !important;
}
/* ====== FIN MOCKUP V2 ====== */