
:root {
    --bs-body-font-family: 'Inter', sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
}

/* Scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }

/* --- FIX MODALS POUR MOODLE --- */
.modal.show.d-block {
    background-color: rgba(0,0,0,0.7) !important;
    display: block !important;
    z-index: 99999 !important; /* Priorité absolue sur Moodle */
}

.modal-dialog {
    z-index: 100000 !important;
    margin-top: 50px;
}

/* --- FIX TOOLTIPS --- */
.tooltip {
    z-index: 100001 !important;
    pointer-events: none !important;
}

/* Utilitaires */
.bg-purple { background-color: #6f42c1 !important; }
.text-purple { color: #6f42c1 !important; }
.border-purple { border-color: #6f42c1 !important; }
.cursor-pointer { cursor: pointer; }
.cursor-help { cursor: help; }

/* Animations */
@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.btn-nav-custom {
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #495057;
    font-weight: 500;
}

.btn-nav-custom:hover {
    background-color: #e9ecef !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

@media print {
    .no-print, .d-print-none, nav.navbar, aside, header, .modal-backdrop, .modal {
        display: none !important;
    }
    html, body, #root { height: auto !important; overflow: visible !important; }
}
