/* =====================================================================
   NEX'ITSM - Thème "default" (front-office)
   ===================================================================== */
:root {
    --nx-blue: #2f8fd0;
    --nx-blue-d: #2678b0;
    --nx-navy: #16365c;
}

/* ---------- Boutons ---------- */
.btn-primary {
    --bs-btn-bg: var(--nx-blue); --bs-btn-border-color: var(--nx-blue-d);
    --bs-btn-hover-bg: var(--nx-blue-d); --bs-btn-hover-border-color: var(--nx-blue-d);
    --bs-btn-active-bg: var(--nx-blue-d); --bs-btn-active-border-color: var(--nx-blue-d);
    --bs-btn-disabled-bg: var(--nx-blue); --bs-btn-disabled-border-color: var(--nx-blue);
}

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 9px; }
.logo .wordmark, .navbar-wordmark { font-weight: 800; letter-spacing: -1px; color: var(--nx-navy); }
.logo .wordmark { font-size: 30px; }
.navbar-wordmark { font-size: 22px; }
.wordmark .accent, .navbar-wordmark .accent { color: var(--nx-blue); }
.logo-light .wordmark { color: #fff; }

/* =====================================================================
   Connexion — split-screen
   ===================================================================== */
.login-split-body { margin: 0; }
.login-split { display: flex; min-height: 100vh; }

.login-visual {
    position: relative; flex: 1 1 50%; max-width: 50%;
    background: var(--nx-navy) url('login-side.jpg') center / cover no-repeat;
    color: #fff;
}
.login-visual-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(18, 42, 73, .94) 0%, rgba(38, 120, 176, .80) 100%);
}
.login-visual-content {
    position: relative; z-index: 1; width: 100%;
    display: flex; flex-direction: column; justify-content: space-between; padding: 52px;
}
.login-visual-pitch { margin: auto 0; }
.login-visual-pitch h2 { font-weight: 800; font-size: 32px; line-height: 1.25; margin-bottom: 16px; }
.login-visual-pitch p { color: rgba(255, 255, 255, .85); font-size: 15px; max-width: 440px; margin-bottom: 28px; }
.login-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.login-features li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: rgba(255, 255, 255, .92); }
.login-features li i { font-size: 19px; color: #9fe08a; }
.login-visual-foot { font-size: 12px; color: rgba(255, 255, 255, .6); }

.login-form-side {
    flex: 1 1 50%; display: flex; align-items: center; justify-content: center;
    padding: 32px; background: #fff;
}
.login-form-inner { width: 100%; max-width: 400px; }
.login-title { font-size: 26px; font-weight: 700; color: #1f2937; margin-bottom: 6px; }
.login-form-side .input-group-text { background: #f6f7f9; color: #6c757d; }

@media (max-width: 991.98px) {
    .login-form-side { min-height: 100vh; }
}

/* =====================================================================
   Zone connectée (navbar, dashboard)
   ===================================================================== */
.app-body { background: #f1f3f6; }
.app-navbar { background: #fff; border-bottom: 1px solid #e3e6ea; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); }
.user-menu { color: #333; }
.user-menu:hover { color: var(--nx-navy); }
.avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--nx-blue); color: #fff; font-size: 13px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}

.stat-card { border: 1px solid #e7eaee; border-radius: 10px; }
.stat-ic {
    width: 44px; height: 44px; border-radius: 10px; font-size: 20px;
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.stat-val { font-size: 28px; font-weight: 700; line-height: 1; color: #1f2937; }
.stat-lbl { font-size: 13px; color: #6c757d; margin-top: 4px; }
