


.factura-letra {
    border: 3px solid black;
    font-size: 3rem;
    font-weight: bold;
    width: 80px;
    height: 80px;
    text-align: center;
    line-height: 70px;
    border-radius: 8px;
    background: white;
}


/* Que el modal quede por encima del navbar */
#modalAgenda.modal {
    z-index: 3000 !important;
}

#modalAgenda ~ .modal-backdrop {
    z-index: 2990 !important;
}

/* Hacer grande el dialog y usar todo el alto */
#modalAgenda .modal-dialog {
    width: 70vw;
    max-width: none; /* anula limite de modal-xl */
    height: 70vh;
    margin: 2vh auto;
}

#modalAgenda .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modal-header.agenda-header {
    background-color: #007bff;
    color: white;
}

/*#modalAgenda .modal-body {
    flex: 1;
    overflow: hidden;*/ /* evita scroll raro y permite que el calendar ocupe todo */
    /*padding: 0;*/ /* opcional: más espacio útil */
/*}*/

/* Wrapper para controlar el alto del calendar */
#modalAgenda .calendar-wrapper {
    height: 100%;
    overflow-y: auto;
}



/* El contenedor del calendario debe ocupar todo */
#agendaCalendar {
    height: 100%;
    min-height: 480px; /* por si acaso */
}


#modalAgenda .modal-body {
    flex: 1;
    overflow: hidden;
    padding: 0;
}

#modalAgenda .calendar-wrapper {
    height: 100%;
}

#agendaCalendar {
    height: 100%;
    min-height: 500px;
}

#modalAgenda .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#modalAgenda .modal-body {
    flex: 1;
    overflow: hidden;
    padding: 0;
}

#modalAgenda .calendar-wrapper {
    height: 100%;
}

#agendaCalendar {
    height: 100%;
    min-height: 520px;
}





.modal-header.evento-header {
    color: #fff;
    border-bottom: none;
}

    .modal-header.evento-header[data-estado="pendiente"] {
        background: #dc3545;
    }

    .modal-header.evento-header[data-estado="realizado"] {
        background: #198754;
    }

    .modal-header.evento-header[data-estado="cancelado"] {
        background: #6c757d;
    }

    .modal-header.evento-header[data-estado="reprogramado"] {
        background: #fd7e14;
    }

    .modal-header.evento-header[data-estado="desconocido"] {
        background: #343a40;
    }






/* --- Tablet --- */
@media (max-width: 992px) {
    #modalAgenda .modal-dialog {
        width: 90vw;
        height: 75vh;
        margin: 2vh auto;
    }

    #agendaCalendar {
        min-height: 420px;
    }
}

/* --- Mobile --- */
@media (max-width: 576px) {
    /* Si no usás modal-fullscreen-sm-down, forzá fullscreen */
    #modalAgenda .modal-dialog {
        width: 100vw;
        max-width: none;
        height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        margin: 0;
    }

    #modalAgenda .modal-content {
        height: 100%;
        border-radius: 0;
    }

    #modalAgenda .modal-body {
        padding: 0;
    }

    #agendaCalendar {
        min-height: 60vh;
    }
}


@media (min-width: 641px) {
    article.no-pad[b-9lmc1a6xqn] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}




/* Desktop por defecto */
.main-container > .content.card {
    max-width: 900px; /* evita que se estire demasiado */
    margin-top: 40px;

}

/* <= 991.98px (tablets y notebooks chicos) */
@media (max-width: 991.98px) {
    /* que deje de “centrarse” tanto verticalmente y suba un poco */
    .main-container {
        justify-content: flex-start !important; /* pisa la util de Bootstrap */
        padding-top: 1rem !important; /* ajustá a gusto */
        padding-bottom: 1rem !important;
    }

        .main-container > .content.card {
            max-width: 560px; /* más angosta */
            padding: 1rem; /* menos padding que p-4 */
            margin-top: 20px; /* la “sube” un toque */
        }
}

/* <= 575.98px (móviles) */
@media (max-width: 575.98px) {
    .main-container {
        padding-top: .75rem;
    }

        .main-container > .content.card {
            max-width: 92vw; /* usa ancho de viewport con margen */
            padding: .75rem; /* aún más compacta */
            border-radius: .5rem;
            transform: translateY(-8px); /* súbela un poco más */
        }
}



/* Desktop grande 1400: sidebar más ancha */
@media (min-width: 1400px) {
    .main-container > .content.card {
        max-width: 1100px; /* evita que se estire demasiado */
        margin-top: 120px;
    }

    /* alto mínimo cómodo para cada tarjeta */
    .btn-card {
        min-height: 160px;
    }

        /* más relleno dentro */
        .btn-card .card-body {
            padding: 1.25rem;
        }

        /* ícono y título más grandes */
        .btn-card .icon {
            font-size: 3rem;
        }
        /* antes era display-4 aprox. 2.5rem */
        .btn-card h6 {
            font-size: 1.1rem;
        }
}

























/* Ancho razonable y altura acotada con scroll */
#modalEventosDia .modal-dialog {
    max-width: 640px;
}
/* ~modal-md */
#modalEventosDia .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

/* Si querés aún más compacto en mobile */
@media (max-width: 576px) {
    #modalEventosDia .modal-dialog {
        max-width: 95vw;
        margin: 0 auto;
    }

    #modalEventosDia .modal-body {
        max-height: 60vh;
    }
}


/* Mano en TODO el evento y sus hijos */
.fc .fc-daygrid-event,
.fc .fc-daygrid-event *,
.fc .fc-timegrid-event,
.fc .fc-timegrid-event *,
.fc .fc-list-event,
.fc .fc-list-event *,
.fc .fc-event,
.fc .fc-event * {
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}












.validation-errors {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .validation-errors li:empty {
        display: none;
    }





.sidebar {
    width: 260px;
    height: 100vh; /* Ocupa todo el alto de la pantalla */
    position: fixed; /* Fija la barra en la izquierda */
    top: 0;
    left: 0;
    z-index: 2000;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 100vh;
}







.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background-color: #333;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 10px;
    z-index: 2010;
}

.taskbar-item {
    padding: 8px 12px;
    background-color: #555;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    transition: background-color 0.2s;
}

    .taskbar-item:hover {
        background-color: #777;
    }




.auth-warning-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    background-color: #f8f9fa;
    margin-top: 10vh; /* opcional: para centrar visualmente */
}


.auth-warning-box {
    text-align: center;
    padding: 2rem 3rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 500px;
}

    .auth-warning-box h4 {
        color: #dc3545;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .auth-warning-box p {
        font-size: 1.1rem;
        color: #333;
    }




.logout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* fondo opaco */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.logout-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    font-family: sans-serif;
}


.badge-clickable {
    cursor: pointer;
    color: white;
}


.estado-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

    .estado-dot .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        display: inline-block;
    }

/* Colores */
.dot-green {
    background-color: #28a745;
}
/* Al día */
.dot-orange {
    background-color: #ff9800;
}
/* Desactualizado */
.dot-gray {
    background-color: #6c757d;
}
/* Sin variable */
