﻿.pointer {
    cursor: pointer;
}

.noAtiende, .fc .noAtiende, .fc .fc-non-business {
    cursor: default;
}

.noAtiende {
    background-color: #A8A8A8;
    opacity: 1;
}

@media (max-width: 768px) {
    .fc .fc-toolbar {
        flex-wrap: wrap;
        gap: 8px;
    }

    .fc .fc-toolbar-chunk {
        display: flex;
        gap: 4px;
        justify-content: center;
    }

    .fc .fc-toolbar-title {
        font-size: 1.5rem;
    }

    .fc .fc-header-toolbar .fc-toolbar-chunk:first-child {
        width: 100%;
        justify-content: space-evenly;
    }
}

.fc .fc-daygrid-bg-harness > .noAtiende {
    background-color: rgba(168, 168, 168, 0.5)
}

.fc .fc-day-today {
    background: none !important;
}

.fc-event-main {
    overflow: hidden;
    white-space: nowrap;
    line-height: 1;
}

.fc-scroller {
    overflow-y: visible !important;
}

.fc-daygrid-event-harness {
    overflow: hidden;
}

.fc-timegrid-event-harness-inset {
    margin-right: 6px;
}

.fc-slotDurationSelect-button {
    display: none !important;
}

h2.fc-toolbar-title {
    border-bottom: none;
    color: #333;
}

.fc-timegrid-event,
.fc-daygrid-event {
    border-left-width: 4px;
}

.fc-v-event .fc-event-main, .fc-h-event .fc-event-main {
    color: rgb(34, 34, 34);
}

.dia-con-nota a {
    color: red;
}

.canceladoOLicencia {
    background-color: #A8A8A8;
    /*background: repeating-linear-gradient(-45deg, #D9D9D9, #D9D9D9 .10em, #A8A8A8 0, #A8A8A8 .90em );*/
}

.noDisponible {
    background-color: #A8A8A8;
    /* background: repeating-linear-gradient(-45deg, #D9D9D9, #D9D9D9 .10em, #ffffff 0, #ffffff .90em );*/
}


.horarioConTurno {
    background-color: #A8A8A8;
    max-width: 1px;
    text-overflow: ellipsis;
    /* Required for text-overflow to do anything */
    white-space: nowrap;
    overflow: hidden;
}

.disponible {
    background-color: #ffffff;
}

.tabla-reserva-turno th {
    border: 1px solid black !important;
    font-size: 12px;
}

.tdReserva {
    text-align: left;
    position: relative;
    overflow: visible;
    border-left: 1px solid black;
    border-right: 1px solid black;
    background-clip: padding-box;
    vertical-align: middle !important;
}

    .tdReserva div {
        padding-left: 3px;
        position: absolute;
        z-index: 1;
        top: 1px;
        border: 1px solid black;
        word-wrap: break-word;
        overflow: hidden;
        background-color: #f7f7f7;
        font-size: 12px;
    }

.letraGrandeReserva {
    font-size: 15px;
}


.tooltipVerde + .tooltip > .tooltip-inner {
    background-color: #018577;
}

.horario {
    font-weight: bold;
    font-size: 12px;
    border: 1px solid black;
}

.enAtencion {
    background-color: #F1E7FF;
}

.error {
    color: #ED0846 !important;
}

.disponible {
    color: green !important;
}

.btnInputGroup {
    padding-left: 4px;
    padding-right: 3px;
}

div.tooltip-inner {
    max-width: none;
    white-space: nowrap;
    text-align: left !important;
}

.cancelado {
    text-decoration: line-through;
}

.info {
    color: #555555;
    cursor: pointer;
}

    .info:hover {
        color: #7F7F7F;
    }


.botonImagen {
    cursor: pointer;
}

table.bordes-negros th {
    border: 1px solid black !important;
}


table.bordes-negros td {
    border: 1px solid black !important;
}

table td.turnoMultipleNoDisponible {
    background-color: red !important;
}

table td.turnoMultipleDisponible {
    background-color: #5cb85c !important;
    background-image: none;
}


.input-group.input-group-unstyled input.form-control {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.input-group-unstyled .input-group-addon {
    border-radius: 4px;
    border: 0px;
    background-color: transparent;
}

.fixed-header::-webkit-scrollbar {
    background-color: #F1F1F1; /* optional: just make scrollbar invisible */
}

.fixed-header {
    scrollbar-track-color: #F1F1F1;
    scrollbar-arrow-color: #F1F1F1;
}

.tablaChica td, th {
    padding: 3px !important;
}

.imagenCentrada {
    position: absolute;
    top: 30%;
    left: 40%;
}

.might-overflow {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
/*
    .might-overflow:hover {
        overflow: visible;
        white-space: normal;
        word-break: break-all;
    }
*/

.tabla-reserva-turno > tbody > tr > td, .tabla-reserva-turno > tbody > tr > th {
    padding: 0;
}

.superior-negro {
    border-top: 1px solid black !important;
}

.tabla-reserva-turno {
    line-height: 1px;
}


.fc .fc-timegrid-slots {
    z-index: 3;
}

.fc .primerDisponible {
    background-color: rgba(40, 167, 69, 0.35) !important;
    opacity: 1 !important;
    text-align: center
}

.reserva-turno-titulo {
    color: #17262d !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    margin: 0 0 14px !important;
}

.reserva-turno-page {
    background: #f4f7f7;
    border: 1px solid #e4e9eb;
    border-radius: 8px;
    color: #26343b;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    padding: 14px;
}

    .reserva-turno-page .form-group {
        margin-bottom: 12px;
    }

    .reserva-turno-page label {
        color: #2f3d44;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .reserva-turno-page .form-control {
        border: 1px solid #cfd8dc;
        border-radius: 6px;
        box-shadow: none;
        color: #26343b;
        font-size: 13px;
        min-height: 34px;
        transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
    }

        .reserva-turno-page .form-control:focus {
            border-color: #6aa7c8;
            box-shadow: 0 0 0 3px rgba(106, 167, 200, .18);
        }

.reserva-turno-filtros {
    align-items: flex-end;
    background: #fff;
    border: 1px solid #e0e6e8;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(31, 45, 50, .06);
    margin: 0 0 14px;
    padding: 12px 8px 2px;
}

    .reserva-turno-filtros .input-group-btn .btn {
        border-color: #cfd8dc;
        min-height: 34px;
    }

    .reserva-turno-filtros .btn-primary {
        background: #556fc8;
        border-color: #556fc8;
    }

    .reserva-turno-filtros .btn-default {
        background: #fff;
    }

.reserva-turno-calendario-col > .form-group {
    background: #fff;
    border: 1px solid #e0e6e8;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(31, 45, 50, .07);
    overflow: hidden;
    padding: 12px;
}

.fc {
    color: #24343b;
    font-family: "Segoe UI", Arial, sans-serif;
}

    .fc .fc-toolbar.fc-header-toolbar {
        align-items: center;
        background: #f8fbfb;
        border: 1px solid #e3e8eb;
        border-radius: 8px;
        gap: 10px;
        margin-bottom: 12px;
        padding: 8px;
    }

    .fc .fc-toolbar-title {
        color: #24343b;
        font-size: 18px;
        font-weight: 700;
    }

    .fc .fc-button {
        background: #fff;
        border: 1px solid #d9e1e5;
        border-radius: 6px !important;
        box-shadow: 0 3px 8px rgba(31, 45, 50, .07);
        color: #556fc8;
        font-size: 12px;
        font-weight: 700;
        min-height: 34px;
        padding: 6px 10px;
        text-transform: none;
    }

        .fc .fc-button:hover,
        .fc .fc-button:focus {
            background: #eef3ff;
            border-color: #cbd6ff;
            color: #3f55b2;
        }

    .fc .fc-button-primary:not(:disabled).fc-button-active,
    .fc .fc-button-primary:not(:disabled):active {
        background: #556fc8;
        border-color: #556fc8;
        color: #fff;
    }

#slotDurationSelect {
    background: #fff;
    border: 1px solid #d9e1e5;
    border-radius: 6px;
    color: #26343b;
    font-size: 12px;
    font-weight: 700;
    height: 34px;
}

.fc .fc-col-header-cell {
    background: #fbfcfc;
    border-color: #e4e8ea;
}

.fc .fc-col-header-cell-cushion {
    color: #26343b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 0;
    cursor: default;
}

.fc .fc-timegrid-axis,
.fc .fc-timegrid-slot-label {
    background: #fbfcfc;
}

.fc .fc-timegrid-slot-label-cushion {
    color: #5e6a70;
    font-size: 12px;
    font-weight: 600;
}

.fc .fc-timegrid-slot {
    height: 2.2em;
}

.fc .fc-timegrid-slot-minor {
    border-top-style: solid;
}

.fc-timegrid-event,
.fc-daygrid-event {
    border: 0 !important;
    border-left: 4px solid rgba(32, 122, 155, .55) !important;
    border-radius: 6px !important;
    box-shadow: 0 3px 8px rgba(31, 45, 50, .12);
    margin: 1px 2px;
    overflow: hidden;
}

.fc-v-event .fc-event-main,
.fc-h-event .fc-event-main {
    color: #24343b;
    font-size: 12px;
    line-height: 1.2;
    padding: 5px 6px;
}

.fc-event-main > div {
    cursor: pointer;
}

.fc .fc-bg-event.primerDisponible,
.fc .primerDisponible {
    background-color: rgba(67, 191, 122, .28) !important;
    border-radius: 4px;
}

th.dia-con-nota .fc-col-header-cell-cushion::after {
    content: " ⚠️";
    margin-left: 4px;
}

.reserva-turno-panel-col {
    padding-left: 10px;
}

.lista-agenda-pendiente {
    background: #fff;
    border: 1px solid #e0e6e8;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(31, 45, 50, .06);
    padding: 10px;
}

.turno-reprogramacion-card {
    border-color: #e0e6e8;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(31, 45, 50, .06);
}

    .turno-reprogramacion-card:hover {
        background: #f4f9fb;
        border-color: #bdd8e7;
    }

.turno-reprogramacion-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 8px;
    background: #fff;
    cursor: grab;
    user-select: none;
}

    .turno-reprogramacion-card:active {
        cursor: grabbing;
    }

    .turno-reprogramacion-card.reprogramacion-asignada {
        border-color: #5cb85c;
    }

    .turno-reprogramacion-card:hover {
        background: #f7f7f7;
    }

.menu-turno-calendario {
    position: absolute;
    z-index: 99999;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.menu-turno-calendario-header {
    padding: 8px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

.menu-turno-calendario-opcion {
    display: block;
    width: 100%;
    padding: 8px;
    border: 0;
    background: #fff;
    text-align: left;
}

    .menu-turno-calendario-opcion:hover {
        background: #f5f5f5;
    }

.evento-en-reprogramacion {
    opacity: .35 !important;
    filter: grayscale(60%);
    border-style: dashed !important;
}

.reprogramacion-preview {
    background-color: #e8f4ff !important;
    border: 2px dashed #337ab7 !important;
    color: #1f4e79 !important;
    opacity: 1 !important;
    cursor: default !important;
    pointer-events: none;
}

    .reprogramacion-preview .fc-event-main {
        color: #1f4e79 !important;
        font-weight: 600;
    }

.turno-reprogramacion-card-seleccionada {
    outline: 2px solid #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, .15);
}

.lista-agenda-pendiente {
    max-height: 55vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    padding-left: 2px;
}

.modal-reserva .modal-header {
    border-bottom: 0;
    padding: 16px 18px 8px;
}

    .modal-reserva .modal-header .close {
        margin-top: 2px;
        opacity: .75;
    }

.modal-reserva-turno-header-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-right: 26px;
}

    .modal-reserva-turno-header-contenido label {
        margin: 0;
        font-size: 16px;
    }

.modal-reserva-turno-acciones {
    display: flex;
    align-items: center;
    gap: 6px;
}

.reserva-edicion-resumen {
    border: 1px solid #e6e9ef;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    margin-bottom: 14px;
    padding: 16px 18px;
}

.reserva-edicion-principal {
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f1f4;
}

.reserva-edicion-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
    column-gap: 14px;
    row-gap: 10px;
}

.reserva-edicion-campo-ancho {
    grid-column: 1 / -1;
}

.reserva-edicion-campo-chico {
    align-self: end;
}

.reserva-edicion-campo {
    min-width: 0;
}

.reserva-edicion-label {
    display: block;
    color: #7a858c;
    font-size: 11px;
    font-weight: 700;
    margin: 0 0 3px;
}

.reserva-edicion-paciente {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2f3a40;
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
    margin-bottom: 0;
    text-align: left;
    cursor: pointer;
}

    .reserva-edicion-paciente[disabled] {
        cursor: default;
        opacity: 1;
    }

.reserva-edicion-paciente-linea {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

    .reserva-edicion-paciente-linea .reserva-edicion-paciente {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.reserva-edicion-info-paciente {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    padding: 0;
    border-color: #d5dde4;
    color: #556fc8;
    background: #fff;
    box-shadow: 0 1px 3px rgba(35, 45, 55, .08);
}

    .reserva-edicion-info-paciente:hover,
    .reserva-edicion-info-paciente:focus {
        border-color: #9fb4d8;
        color: #3f57a8;
        background: #f7f9ff;
    }

.reserva-edicion-paciente-control {
    color: #2f3a40;
    font-size: 16px;
    font-weight: 700;
    border-color: #cfd6dd;
    background: #fff;
    padding-left: 8px;
    margin-bottom: 0;
}

    .reserva-edicion-paciente-control:focus {
        border-color: #8bb7d8;
    }

.reserva-edicion-tratamiento {
    color: #4a545a;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.reserva-edicion-control {
    height: 30px;
    min-height: 30px;
    padding: 4px 8px;
    border-color: #e0e4e8;
    box-shadow: none;
    font-size: 12px;
}

.reserva-edicion-tratamiento-control {
    color: #4a545a;
    font-size: 15px;
    font-weight: 700;
    border-color: #cfd6dd;
    background: #fff;
    padding-left: 8px;
    margin-bottom: 0;
}

    .reserva-edicion-tratamiento-control:focus {
        border-color: #8bb7d8;
    }

.reserva-edicion-precio,
.reserva-edicion-horario {
    color: #657179;
    font-weight: 400;
    margin-bottom: 4px;
}

.reserva-edicion-fecha {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

    .reserva-edicion-fecha input[type="date"] {
        width: 138px;
    }

.reserva-edicion-hora {
    width: 54px;
}

.reserva-edicion-duracion {
    width: 62px;
}

.reserva-edicion-comentarios {
    min-height: 48px;
    resize: vertical;
}

.reserva-edicion-datos {
    padding-top: 12px;
}

.reserva-edicion-dato {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    color: #5d666d;
    font-weight: 400;
    min-width: 0;
}

    .reserva-edicion-dato > .glyphicon:first-child {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border: 1px solid #e0e4e8;
        border-radius: 4px;
        color: #303940;
        background: #fff;
        flex: 0 0 26px;
    }

    .reserva-edicion-dato a {
        color: #4a4a4a;
        text-decoration: underline;
    }

    .reserva-edicion-dato select.reserva-edicion-control {
        flex: 1 1 180px;
        min-width: 0;
    }

.reserva-edicion-check {
    margin: 0;
    color: #5d666d;
    font-weight: 400;
}

.reserva-edicion-separador {
    color: #c4c8cc;
}

.reserva-edicion-observaciones {
    align-items: flex-start;
    font-style: italic;
    white-space: pre-wrap;
}

.reserva-edicion-confirmacion {
    border: 1px solid #d9e0e6;
    border-left: 4px solid #9aa6b2;
    border-radius: 5px;
    min-height: 30px;
    padding: 5px 8px;
}

.reserva-edicion-confirmacion-confirmada {
    background: #edf9f2;
    border-color: #c7ead6;
    border-left-color: #26b96f;
    color: #27613f;
}

.reserva-edicion-confirmacion-pendiente {
    background: #f8fafc;
    color: #59656f;
}

.reserva-edicion-confirmacion > .glyphicon:first-child {
    background: #fff;
}

.reserva-edicion-confirmacion-confirmada > .glyphicon:first-child {
    border-color: #b8dfc8;
    color: #26b96f;
}

.reserva-edicion-confirmacion-pendiente > .glyphicon:first-child {
    border-color: #d9e0e6;
    color: #7b8791;
}

.reserva-edicion-confirmacion-texto {
    flex: 1 1 auto;
    min-width: 0;
}

.reserva-edicion-confirmacion-accion {
    flex: 0 0 auto;
    white-space: nowrap;
}

.reserva-turnos-multiples-opciones {
    margin-top: 8px;
}

.reserva-turnos-multiples-acciones {
    display: flex;
    width: 100%;
}

    .reserva-turnos-multiples-acciones .btn {
        flex: 1 1 0;
        font-weight: 600;
    }

.reserva-turnos-multiples-auto {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 8px 14px;
    align-items: end;
    margin-top: 10px;
}

    .reserva-turnos-multiples-auto .text-muted {
        grid-column: 1 / -1;
        margin: 0;
    }

.reserva-turnos-multiples-cantidad label,
.reserva-turnos-multiples-dias > label:first-child {
    display: block;
    color: #7a858c;
    font-size: 11px;
    margin-bottom: 3px;
}

.reserva-turnos-multiples-dias .checkbox-inline {
    margin-left: 0;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .reserva-edicion-grid {
        grid-template-columns: 1fr;
    }

    .reserva-edicion-campo-ancho {
        grid-column: auto;
    }

    .reserva-edicion-fecha {
        flex-wrap: wrap;
    }

    .reserva-turnos-multiples-auto {
        grid-template-columns: 1fr;
    }
}

.reserva-turno-filtros {
    display: flex;
    flex-wrap: wrap;
}

    .reserva-turno-filtros > [class*="col-"] {
        float: none;
    }

.reserva-turno-page .input-group .form-control:first-child,
.reserva-turno-page .input-group-btn:last-child > .btn {
    border-radius: 6px;
}

.reserva-turno-page .input-group-btn:last-child > .btn {
    margin-left: 6px;
}

.reserva-turno-page .texto.pull-right {
    color: #6a767d;
    font-size: 12px;
    font-weight: 600;
}

.reserva-turno-page .ellipsis {
    color: #6a767d;
    line-height: 1.35;
}

.reserva-turno-page .fc-view-harness {
    background: #fff;
    border: 1px solid #e4e8ea;
    border-radius: 8px;
    overflow: hidden;
}

.reserva-turno-page .fc-scrollgrid {
    border: 0 !important;
}

.reserva-turno-page .fc-timegrid-divider {
    display: none;
}

.reserva-turno-page .fc-timegrid-now-indicator-line {
    border-color: #e14f62;
    border-width: 1px;
}

.reserva-turno-page .fc-timegrid-now-indicator-arrow {
    border-color: #e14f62;
    border-top-color: transparent;
    border-bottom-color: transparent;
}

.reserva-turno-page .turno-reprogramacion-card {
    border-color: #e0e6e8;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(31, 45, 50, .06);
}

    .reserva-turno-page .turno-reprogramacion-card:hover {
        background: #f4f9fb;
        border-color: #bdd8e7;
    }

.reserva-turno-page .turno-reprogramacion-card-seleccionada {
    outline: 2px solid #556fc8;
    box-shadow: 0 0 0 3px rgba(85, 111, 200, .14);
}

/* Ajustes finales de densidad para la pantalla de agenda. */
.reserva-turno-page {
    padding: 0;
}

.reserva-turno-titulo {
    font-size: 16px !important;
    margin-bottom: 4px !important;
}

.reserva-turno-page .form-group {
    margin-bottom: 5px;
}

.reserva-turno-page label {
    margin-bottom: 3px;
}

.reserva-turno-page .form-control {
    min-height: 30px;
    height: 30px;
    padding: 4px 8px;
}

.reserva-turno-filtros {
    gap: 6px 0;
    margin-bottom: 2px;
    padding: 4px 0 2px 0;
}

    .reserva-turno-filtros .input-group {
        display: table;
        width: 100%;
    }

.reserva-turno-page .input-group .form-control:first-child {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.reserva-turno-page .input-group-btn:last-child > .btn {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    margin-left: -1px;
}

.reserva-turno-filtros .input-group-btn .btn {
    height: 30px;
    min-height: 30px;
    padding: 4px 8px;
}

.reserva-turno-calendario-col > .form-group {
    padding: 0;
}

.reserva-turno-page .fc-view-harness {
    border-radius: 6px;
}

.fc .fc-toolbar.fc-header-toolbar {
    gap: 6px;
    margin-bottom: 4px;
    padding: 2px 6px 2px 4px;
}

.fc .fc-toolbar-title {
    font-size: 15px;
}

.fc .fc-button {
    min-height: 30px;
    padding: 4px 8px;
}

#slotDurationSelect {
    height: 30px;
    padding: 4px 8px;
}

.fc .fc-timegrid-slot {
    height: 1.65em;
}

.fc .fc-timegrid-slot-label-frame {
    min-height: 0;
}

.fc .fc-timegrid-slot-label-cushion {
    line-height: 1.15;
    padding: 0 4px;
}

.fc-timegrid-event,
.fc-daygrid-event {
    border-left: 4px solid transparent !important;
    margin: 1px 2px;
}

.fc-v-event .fc-event-main,
.fc-h-event .fc-event-main {
    font-size: 11px;
    line-height: 1.1;
    padding: 2px 4px;
}

.fc-timegrid-event.turno-confirmado,
.fc-daygrid-event.turno-confirmado {
    border-left-color: #26b96f !important;
}

.fc-timegrid-event.turno-sobreturno,
.fc-daygrid-event.turno-sobreturno {
    border-right: 4px solid #f0a72f !important;
}

.modal-cancelacion-header {
    background: #fff;
    border-bottom: 1px solid #e7ecef;
    padding: 10px 14px;
}

    .modal-cancelacion-header .close {
        color: #42515a;
        margin-top: 2px;
        opacity: .7;
    }

.modal-cancelacion-titulo {
    align-items: center;
    display: flex;
    gap: 8px;
}

    .modal-cancelacion-titulo > .glyphicon {
        align-items: center;
        background: #fff2f2;
        border: 1px solid #f2cccc;
        border-radius: 6px;
        color: #c64545;
        display: inline-flex;
        flex: 0 0 28px;
        height: 28px;
        justify-content: center;
        width: 28px;
    }

    .modal-cancelacion-titulo label {
        color: #27363d;
        display: block;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
        margin: 0;
    }

    .modal-cancelacion-titulo div div {
        color: #73818a;
        font-size: 11px;
        font-weight: 400;
        margin-top: 2px;
    }

.modal-cancelacion-body {
    background: #f6f8f9;
    padding: 10px 14px;
}

.cancelacion-resumen,
.cancelacion-panel,
.cancelacion-turnos-dia {
    background: #fff;
    border: 1px solid #e1e7ea;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(31, 45, 50, .05);
    margin-bottom: 8px;
}

.cancelacion-resumen {
    overflow: hidden;
}

.cancelacion-resumen-fecha {
    align-items: center;
    background: #fbfcfc;
    border-bottom: 1px solid #edf1f2;
    color: #26343b;
    display: flex;
    gap: 7px;
    padding: 7px 10px;
}

    .cancelacion-resumen-fecha .glyphicon {
        color: #556fc8;
    }

.cancelacion-resumen-datos {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 9px 10px;
}

    .cancelacion-resumen-datos > div {
        min-width: 0;
    }

.cancelacion-label,
.cancelacion-campo label {
    color: #77848b;
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.cancelacion-resumen-datos strong {
    color: #26343b;
    display: block;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cancelacion-panel {
    padding: 10px;
}

.cancelacion-grid {
    align-items: end;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(190px, .9fr) minmax(280px, 1.2fr);
    margin-bottom: 8px;
}

.cancelacion-campo .form-control {
    border-color: #cfd8dc;
    border-radius: 6px;
    box-shadow: none;
    height: 30px;
    min-height: 30px;
    padding: 4px 8px;
}

    .cancelacion-campo .form-control:focus {
        border-color: #6aa7c8;
        box-shadow: 0 0 0 3px rgba(106, 167, 200, .18);
    }

.cancelacion-opciones {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cancelacion-check,
.cancelacion-reprogramar {
    align-items: center;
    border-radius: 6px;
    display: flex;
    font-size: 11px;
    font-weight: 600;
    gap: 5px;
    justify-content: center;
    margin: 0;
    min-height: 30px;
    white-space: nowrap;
}

.cancelacion-check {
    background: #fbfcfc;
    border: 1px solid #dfe6e9;
    color: #40515a;
    padding: 4px 6px;
}

    .cancelacion-check input {
        margin: 0;
    }

    .cancelacion-check .glyphicon {
        color: #60727c;
    }

.cancelacion-check-alerta {
    background: #fff8ef;
    border-color: #f0d4ad;
    color: #9a5b17;
}

    .cancelacion-check-alerta .glyphicon {
        color: #c7771c;
    }

.cancelacion-reprogramar {
    border: 1px solid #556fc8;
    padding: 4px 8px;
}

.cancelacion-observaciones {
    min-height: 58px;
    resize: vertical;
}

.cancelacion-mensaje {
    margin: 8px 0 0;
    padding: 6px 8px;
}

.cancelacion-turnos-dia {
    overflow: hidden;
}

.cancelacion-turnos-dia-header {
    align-items: center;
    background: #fbfcfc;
    border-bottom: 1px solid #edf1f2;
    color: #26343b;
    display: flex;
    gap: 7px;
    padding: 7px 10px;
}

.cancelacion-turno-dia {
    align-items: center;
    border-bottom: 1px solid #f0f3f4;
    display: grid;
    gap: 8px;
    grid-template-columns: 52px minmax(110px, .8fr) minmax(0, 1fr);
    padding: 6px 10px;
}

    .cancelacion-turno-dia:last-child {
        border-bottom: 0;
    }

    .cancelacion-turno-dia span {
        color: #556fc8;
        font-weight: 700;
    }

    .cancelacion-turno-dia strong {
        color: #26343b;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cancelacion-turno-dia em {
        color: #68777f;
        font-style: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.modal-cancelacion-footer {
    align-items: center;
    background: #fff;
    border-top: 1px solid #e7ecef;
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    padding: 10px 14px;
}

    .modal-cancelacion-footer .btn {
        border-radius: 6px;
        font-weight: 700;
        min-width: 100px;
        padding: 5px 10px;
    }

@media (max-width: 768px) {
    .cancelacion-resumen-datos,
    .cancelacion-grid,
    .cancelacion-opciones,
    .cancelacion-turno-dia {
        grid-template-columns: 1fr;
    }

    .modal-cancelacion-footer {
        align-items: stretch;
        flex-direction: column;
    }

        .modal-cancelacion-footer .btn {
            width: 100%;
        }
}

#calendar {
    --fc-border-color: #666;
}

    #calendar .fc-col-header-cell.fc-timegrid-axis {
        border: none !important;
    }

    /* Primera celda vacía del encabezado */
    #calendar .fc-col-header .fc-timegrid-axis,
    #calendar .fc-col-header-cell.fc-timegrid-axis,
    #calendar thead .fc-timegrid-axis {
        border-top: none !important;
        border-right: none !important;
        border-bottom: none !important;
        border-left: none !important;
    }

    #calendar [role="presentation"] {
        border-right: 0;
    }

    #calendar .fc-non-business,
    #calendar .fc-bg-event.noAtiende {
        background-color: #cfd2d4 !important;
        opacity: 1 !important;
    }

.cancelacion-turnos-dia-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.cancelacion-turnos-dia-acciones {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

    .cancelacion-turnos-dia-acciones .btn {
        margin: 0;
        white-space: nowrap;
    }

@media (max-width: 768px) {
    .cancelacion-turnos-dia-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

.modal-cancelacion .modal-dialog {
    width: 80%;
    max-width: 1000px;
}
