/*
 * Revinum — Admin Login Split Screen
 * Le panneau visuel est injecté via BODY_START (position: fixed à gauche)
 * Le formulaire Filament est poussé à droite via margin-left
 */

/* ── Panneau visuel : fixé à gauche ──────────────── */
.rv-login-visual {
    display: none;
    position: fixed; top: 0; left: 0; bottom: 0; width: 50%;
    overflow: hidden;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 40%, #78350f 100%);
    z-index: 50;
    align-items: center; justify-content: center;
}
@media (min-width: 1024px) {
    .rv-login-visual { display: flex; }
}

.rv-login-visual .rv-grid {
    position: absolute; inset: 0; opacity: 0.04;
    background-image:
        linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 40px 40px;
}

.rv-login-visual .rv-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35; animation: rv-float 8s ease-in-out infinite; }
.rv-login-visual .rv-orb-1 { width: 400px; height: 400px; background: #f59e0b; top: -10%; right: -5%; }
.rv-login-visual .rv-orb-2 { width: 300px; height: 300px; background: #d97706; bottom: 10%; left: -8%; animation-delay: -3s; }
.rv-login-visual .rv-orb-3 { width: 200px; height: 200px; background: #fbbf24; top: 50%; left: 40%; animation-delay: -5s; }

@keyframes rv-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.rv-vis-content { position: relative; z-index: 10; text-align: center; padding: 3rem; max-width: 28rem; }
.rv-vis-content h2 { font-size: 2.5rem; font-weight: 800; line-height: 1.1; margin: 0 0 1rem; background: linear-gradient(135deg, #fff, #fde68a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.rv-vis-content p { color: rgba(255,255,255,.6); font-size: 1rem; line-height: 1.6; margin: 0; }
.rv-stats { display: flex; gap: 1.5rem; justify-content: center; margin-top: 2.5rem; }
.rv-stat-val { font-size: 1.75rem; font-weight: 800; color: #fbbf24; }
.rv-stat-lbl { font-size: .75rem; color: rgba(255,255,255,.5); }
.rv-stat-sep { width: 1px; background: rgba(255,255,255,.15); }

/* ── Layout Filament : poussé à droite ───────────── */
.fi-simple-layout {
    background: #ffffff !important;
    min-height: 100vh !important;
    padding: 0 !important;
}
@media (min-width: 1024px) {
    .fi-simple-layout { margin-left: 50% !important; width: 50% !important; }
}

.fi-simple-main-ctn {
    width: 100% !important; max-width: 100% !important;
    padding: 2rem !important;
}

.fi-simple-main {
    max-width: 24rem !important;
    background: transparent !important;
    box-shadow: none !important;
    --tw-ring-shadow: 0 0 #0000 !important;
    --tw-ring-color: transparent !important;
}

/* Logo → icône custom */
.fi-simple-header { margin-bottom: 1rem !important; }
.fi-logo { display: none !important; }
.fi-simple-header::before {
    content: '';
    display: block;
    width: 3rem; height: 3rem; border-radius: .75rem;
    box-shadow: 0 6px 20px rgba(245,158,11,.25);
    margin-bottom: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z'/%3E%3C/svg%3E"), linear-gradient(135deg, %23f59e0b, %23b45309);
    background-size: 1.5rem 1.5rem, 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

/* Heading */
.fi-simple-main h1 { font-size: 1.5rem !important; font-weight: 800 !important; color: #0f172a !important; }

/* Bouton gradient admin */
.fi-simple-main .fi-btn {
    background: linear-gradient(135deg, #b45309, #d97706) !important;
    box-shadow: 0 4px 15px rgba(180,83,9,.3) !important;
    border: none !important; border-radius: .75rem !important;
    font-weight: 700 !important; transition: all .2s ease !important;
}
.fi-simple-main .fi-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 25px rgba(180,83,9,.4) !important;
}
