@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #F8F9FA;
    color: #151515;
    -webkit-font-smoothing: antialiased;
}

/* Empêche le flash de contenu non initialisé par Alpine.js */
[x-cloak] {
    display: none !important;
}

/* --- Couleurs de la Charte Capston --- */
.brand-bg-black {
    background-color: #151515;
}

.brand-text-cream {
    color: #FDE8A6;
}

.brand-bg-cream {
    background-color: #FDE8A6;
}

.brand-bg-blue {
    background-color: #D3DEFF;
}

.brand-bg-pink {
    background-color: #FF9EBD;
}

.brand-border-black {
    border-color: #151515;
}

.brand-bg-cream-exact {
    background-color: #FDE8A6;
}

.brand-bg-cream-card {
    background-color: #FEEFBC;
}

.transition-fast {
    transition: all 0.2s ease-in-out;
}

/* Personnalisation de la barre de défilement */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #151515;
    border-radius: 10px;
}

/* Animation d'entrée pour les sections */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide {
    animation: slideIn 0.3s ease-out forwards;
}

/* Style pour les tags de statut (Appliqué, Non traité, etc.) */
.status-tag {
    letter-spacing: 0.12em;
    font-weight: 900;
}

/* Style de base pour les boutons d'action */
.btn-action {
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.875rem;
    transition-property: all;
    transition-duration: 200ms;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.btn-action:active {
    transform: scale(0.95);
}

/* Cartes KPI du Dashboard */
.kpi-card {
    background: white;
    border-radius: 2rem;
    padding: 1.5rem;
    /* border: 1px solid rgba(0, 0, 0, 0.05); */
    transition: all 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* Transition fluide pour les barres de progression */
.progress-fill {
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Masque les contrôles par défaut de DataTables */
.dt-info, 
.dt-paging {
    display: none !important;
}

.caifr-collect-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
}
 
.caifr-progress-container {
    width: 50%;
    background: #e0e0e0;
    border-radius: 20px;
    margin: 20px 0;
    height: 30px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}
 
.caifr-progress-bar {
    width: 0;
    height: 100%;
    background: #b18634;
    transition: width 0.4s ease;
    text-align: center;
    color: #fff;
    line-height: 30px;
    font-weight: bold;
}