@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

body { 
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #E6E4DD;
}

body.bg-main {
    overflow: hidden;
    height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.82)), 
                url('../images/fond_authentification.png') no-repeat center center;
    background-size: cover;
}

body.bg-admin {
    overflow: hidden;
    height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.90), rgba(15, 23, 42, 0.92)), 
                url('../images/fond_authentification.png') no-repeat center center;
    background-size: cover;
}

/* Effets de verre & panneaux */
.right-panel-bg {
    background: linear-gradient(180deg, rgba(250, 248, 242, 0.82) 0%, rgba(245, 241, 230, 0.88) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
}

.glass-badge {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Boutons */
.btn-yellow {
    background-color: #F8D053;
    color: #2D271E;
}

.btn-yellow:hover {
    background-color: #EBC03F;
}

.btn-indigo {
    background-color: #4F46E5;
    color: #FFFFFF;
}

.btn-indigo:hover {
    background-color: #4338CA;
}

/* Champs de saisie pilule */
.input-pill {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(239, 236, 230, 0.9);
    border-radius: 9999px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(4px);
}

.input-pill:focus-within {
    background-color: #FFFFFF;
}

.input-pill-agent:focus-within {
    border-color: #E0C767;
    box-shadow: 0 0 0 3px rgba(248, 208, 83, 0.25);
}

.input-pill-responsable:focus-within {
    border-color: #818CF8;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

/* Animations */
@keyframes fadeInRight { 
    from { opacity: 0; transform: translateX(40px); } 
    to { opacity: 1; transform: translateX(0); } 
}

.animate-form { 
    animation: fadeInRight 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
}