        body { 
            font-family: 'Outfit', sans-serif; 
            background-color: #020617; 
            color: #e2e8f0; 
            min-height: 100vh;
            scroll-behavior: smooth;
            display: flex;
            align-items: flex-start;
            padding-top: 20px;
            padding-bottom: 20px;
        }

        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: #020617; }
        ::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; }

        .glass { 
            background: rgba(30, 41, 59, 0.4); 
            border: 1px solid rgba(255, 255, 255, 0.05); 
            backdrop-filter: blur(10px); 
        }

        :root{
            --accent-primary: #818cf8;
            --accent-secondary: #6366f1;
            --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            --status-ok: #10b981;
            --status-warn: #f59e0b;
            --status-bad: #ef4444;
            --border-light: #334155;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.25);
            --shadow-lg: 0 8px 32px rgba(0,0,0,0.35);
            --transition-fast: all 0.15s ease;
            --transition-slow: all 0.3s ease;
            --accent-rgb: 129, 140, 248;
            --bg-tertiary-rgb: 30, 41, 59;
        }

        @media (prefers-color-scheme: light) {
            :root{
                --bg-primary: #f8fafc;
                --bg-secondary: #ffffff;
                --bg-tertiary: #e2e8f0;
                --text-primary: #0f172a;
                --text-secondary: #1e293b;
                --text-muted: #64748b;
                --border-light: #cbd5e1;
                --shadow-sm: 0 2px 8px rgba(15,23,42,0.08);
                --shadow-md: 0 4px 16px rgba(15,23,42,0.12);
                --shadow-lg: 0 8px 32px rgba(15,23,42,0.15);
                --bg-tertiary-rgb: 226, 232, 240;
            }
            body {
                background-color: var(--bg-primary);
                color: var(--text-primary);
            }
        }

        .dark {
            --bg-primary: #020617;
            --bg-secondary: #0f172a;
            --bg-tertiary: #1e293b;
            --text-primary: #e2e8f0;
            --text-secondary: #f1f5f9;
            --text-muted: #94a3b8;
            --border-light: #334155;
            --bg-tertiary-rgb: 30, 41, 59;
        }

        *{
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        .cover-container {
            width: 100%;
            height: 180px;
            overflow: hidden;
            border-top-left-radius: 18px;
            border-top-right-radius: 18px;
            position: relative;
        }

        .cover-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.8;
        }

        .cover-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, transparent, rgba(2,6,23,0.7));
        }

        .login-card {
            max-width: 420px;
            width: 100%;
            margin: 0 auto;
            background-color: var(--bg-secondary);
            border-radius: 18px;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border-light);
            position: relative;
            padding: 25px 25px 30px;
            margin-top: 40px;
        }

        .login-title {
            text-align: center;
            font-size: 1.8rem;
            font-weight: 600;
            margin-bottom: 25px;
            color: var(--text-primary);
            margin-top: 15px;
        }

        .title-line {
            width: 60px;
            height: 3px;
            background: var(--accent-gradient);
            margin: 0 auto 30px;
            border-radius: 3px;
        }

        .form-group {
            margin-bottom: 18px;
        }

        .form-group label {
            display: block;
            font-size: 0.95rem;
            color: var(--text-muted);
            margin-bottom: 8px;
            font-weight: 500;
        }

        .form-group input {
            width: 100%;
            padding: 12px 15px;
            background-color: var(--bg-tertiary);
            border: 1px solid var(--border-light);
            border-radius: 12px;
            color: var(--text-primary);
            font-family: 'Outfit', sans-serif;
            font-size: 0.95rem;
            transition: border-color var(--transition-fast);
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--accent-primary);
            box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.2);
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 20px 0;
        }

        .checkbox-group input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: var(--accent-primary);
            cursor: pointer;
        }

        .checkbox-group span {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .checkbox-group a {
            color: var(--accent-primary);
            text-decoration: none;
            font-weight: 500;
        }

        .checkbox-group a:hover {
            text-decoration: underline;
        }

        .turnstile-container {
            margin: 25px 0;
            display: flex;
            justify-content: center;
        }

        .submit-btn {
            width: 100%;
            padding: 13px;
            background: var(--accent-gradient);
            border: none;
            border-radius: 12px;
            color: white;
            font-family: 'Outfit', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: opacity var(--transition-fast), transform var(--transition-fast);
            box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
        }

        .submit-btn:hover {
            opacity: 0.95;
            transform: translateY(-1px);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        .divider {
            display: flex;
            align-items: center;
            gap: 15px;
            margin: 30px 0;
        }

        .divider::before, .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background-color: var(--border-light);
        }

        .divider span {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        .social-btn {
            width: 100%;
            padding: 12px;
            margin-bottom: 12px;
            border: 1px solid var(--border-light);
            border-radius: 12px;
            background-color: var(--bg-tertiary);
            color: var(--text-primary);
            font-family: 'Outfit', sans-serif;
            font-size: 0.95rem;
            font-weight: 500;
            cursor: pointer;
            transition: background-color var(--transition-fast);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .social-btn:hover {
            background-color: rgba(var(--accent-rgb), 0.1);
        }

        .social-btn i {
            font-size: 1.2rem;
        }

        .login-footer {
            text-align: center;
            margin-top: 30px;
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .login-footer a {
            color: var(--accent-primary);
            text-decoration: none;
            font-weight: 500;
        }

        .login-footer a:hover {
            text-decoration: underline;
        }

        .login-footer br {
            margin: 5px 0;
        }

        .theme-switch {
            position: absolute;
            top: 25px;
            right: 25px;
            width: 45px;
            height: 25px;
            background-color: var(--bg-tertiary);
            border: 1px solid var(--border-light);
            border-radius: 25px;
            cursor: pointer;
            transition: background-color var(--transition-fast);
            display: flex;
            align-items: center;
            padding: 0 3px;
        }

        .theme-thumb {
            width: 19px;
            height: 19px;
            background-color: var(--accent-primary);
            border-radius: 50%;
            transition: transform var(--transition-fast);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .dark .theme-thumb {
            transform: translateX(20px);
        }

        .theme-thumb i {
            color: white;
            font-size: 0.8rem;
        }

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #fff;
  color: #1e293b;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 220px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
  z-index: 999;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast-icon {
  font-size: 20px;
}
.toast-success { border-left: 4px solid #16a34a; }
.toast-error { border-left: 4px solid #dc2626; }
.toast-info { border-left: 4px solid #2563eb; }
.dark .toast {
  background: #1e293b;
  color: #f9fafb;
}