:root {
            --bg-primary: #0a0e1a;
            --bg-secondary: #111827;
            --bg-card: #1a1f35;
            --accent-primary: #00ff9d;
            --accent-secondary: #00b8ff;
            --text-primary: #e5e7eb;
            --text-secondary: #cbd5f5;
            --border: #2d3548;
            --error: #ef4444;
        }

        :root[data-theme="light"] {
            --bg-primary: #ffffff;
            --bg-secondary: #111827;
            --bg-card: #1a1f35;
            --accent-primary: #00ff9d;
            --accent-secondary: #00b8ff;
            --text-primary: #e5e7eb;
            --text-secondary: #cbd5f5;
            --border: #2d3548;
            --error: #ef4444;
        }

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

        body {
            font-family: 'Outfit', sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background-image: 
                radial-gradient(circle at 20% 20%, rgba(0, 255, 157, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 184, 255, 0.05) 0%, transparent 50%);
        }

        :root[data-theme="light"] body {
            background-image:
                radial-gradient(circle at 20% 20%, rgba(15, 23, 42, 0.06) 0%, transparent 55%),
                radial-gradient(circle at 80% 80%, rgba(15, 23, 42, 0.04) 0%, transparent 55%);
        }

        .login-container {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 1.5rem;
            padding: 3rem;
            width: 100%;
            max-width: 420px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            position: relative;
            overflow: hidden;
        }

        .login-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
        }

        .logo {
            text-align: center;
            margin-bottom: 2rem;
        }

        .logo-img {
            width: 320px;
            height: auto;
            object-fit: contain;
            margin: 0 auto 1.5rem;
            display: block;
            filter: drop-shadow(0 10px 25px rgba(0, 255, 157, 0.25));
        }

        .logo-img.light-logo { display: none; }
        .logo-img.dark-logo { display: block; }

        h1 {
            font-size: 1.875rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 0.5rem;
        }

        .subtitle {
            color: var(--text-secondary);
            font-size: 0.975rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-secondary);
            font-size: 0.875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        input[type="text"],
        input[type="password"] {
            width: 100%;
            padding: 0.875rem 1rem;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 0.75rem;
            color: var(--text-primary);
            font-size: 1rem;
            font-family: inherit;
            transition: all 0.3s ease;
        }

        input[type="text"]:focus,
        input[type="password"]:focus {
            outline: none;
            border-color: var(--accent-primary);
            box-shadow: 0 0 0 3px rgba(0, 255, 157, 0.1);
        }

        .options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            font-size: 0.875rem;
        }

        .remember {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-secondary);
            cursor: pointer;
        }

        input[type="checkbox"] {
            width: 1rem;
            height: 1rem;
            accent-color: var(--accent-primary);
            cursor: pointer;
        }

        button {
            width: 100%;
            padding: 1rem;
            background: #0f172a;
            border: none;
            border-radius: 0.75rem;
            color: #f8fafc;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(2, 6, 23, 0.25);
        }

        button:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 15px 35px rgba(2, 6, 23, 0.35);
        }

        :root[data-theme="light"] button {
            background: #0f172a;
            color: #f8fafc;
            box-shadow: 0 10px 25px rgba(2, 6, 23, 0.25);
        }

        button:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .error-message {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: var(--error);
            padding: 1rem;
            border-radius: 0.75rem;
            margin-bottom: 1rem;
            display: none;
            font-size: 0.875rem;
        }

        .loading {
            display: inline-block;
            width: 1rem;
            height: 1rem;
            border: 2px solid rgba(0, 0, 0, 0.3);
            border-top-color: var(--bg-primary);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin-right: 0.5rem;
            vertical-align: middle;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .security-badges {
            margin-top: 2rem;
            display: flex;
            justify-content: center;
            gap: 1rem;
            font-size: 0.75rem;
            color: var(--text-secondary);
        }

        .badge {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
