        :root {
            color-scheme: dark;
            --page: #0b1424;
            --panel: #17263b;
            --panel-border: #2d4260;
            --text: #f4f7fc;
            --muted: #c2cee0;
            --accent: #3b82f6;
            --accent-hover: #2563eb;
            --field: #f8fafc;
            --field-text: #172033;
            --error: #fecaca;
        }
        * { box-sizing: border-box; }
        html, body { min-height: 100%; }
        body {
            margin: 0;
            min-height: 100vh;
            padding: 28px 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: Arial, Helvetica, sans-serif;
            color: var(--text);
            background: radial-gradient(ellipse at top, #1b3150 0%, var(--page) 62%);
        }
        header { width: 100%; display: flex; justify-content: center; }
        .login-container {
            width: min(100%, 440px);
            margin: 0 !important;
            padding: 38px 34px 34px;
            border: 1px solid var(--panel-border);
            border-radius: 20px;
            background: linear-gradient(145deg, #1b2c44, var(--panel));
            box-shadow: 0 22px 60px rgba(0, 0, 0, .38);
        }
        .titre {
            display: block;
            margin: 0 0 30px;
            color: #fff !important;
            text-align: center;
            font-size: clamp(26px, 5vw, 32px);
            line-height: 1.2;
            font-weight: 750;
            letter-spacing: .2px;
        }
        .form-group { margin-bottom: 22px; }
        .form-group label {
            display: block;
            margin-bottom: 9px;
            color: #f4f7fc !important;
            font-size: 15px;
            font-weight: 700;
        }
        .form-control {
            display: block;
            width: 100%;
            min-height: 48px;
            padding: 12px 14px;
            border: 1px solid #cbd5e1 !important;
            border-radius: 9px;
            outline: none;
            background: var(--field) !important;
            color: var(--field-text) !important;
            font-size: 16px;
            box-shadow: none;
        }
        .form-control::placeholder { color: #64748b; }
        .form-control:focus {
            border-color: #60a5fa !important;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, .28);
        }
        .error {
            display: block;
            min-height: 18px;
            margin-top: 7px;
            color: var(--error) !important;
            font-size: 13px;
            line-height: 1.4;
        }
        .btn, .login-container button[type="submit"] {
            display: block;
            width: 100%;
            min-height: 49px;
            padding: 13px 18px;
            border: 1px solid #60a5fa;
            border-radius: 10px;
            background: var(--accent) !important;
            color: #fff !important;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
        }
        .btn:hover, .login-container button[type="submit"]:hover {
            background: var(--accent-hover) !important;
            box-shadow: 0 8px 20px rgba(37, 99, 235, .28);
        }
        .btn:active, .login-container button[type="submit"]:active { transform: translateY(1px); }
        @media (max-width: 480px) {
            body { padding: 18px 12px; }
            .login-container { padding: 30px 22px 26px; border-radius: 16px; }
            .titre { margin-bottom: 26px; }
        }
