/* static/css/custom.css */

/* Animation d'apparition douce (Fade In) */
.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loader Rotatif (Spinner) */
.loader {
    border: 4px solid rgba(229, 231, 235, 0.5); /* Gris clair */
    border-left-color: #2563eb; /* Bleu Brand */
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Zone Drag & Drop : État actif */
.drag-active {
    background-color: #eff6ff !important; /* bg-brand-50 */
    border-color: #2563eb !important;     /* border-brand-600 */
    transform: scale(1.02);
}

/* Effet Glassmorphism pour le Login */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}