:root {
            --primary-color: #f9a141;
            --primary-hover: #e8922f;
            --primary-light: rgba(249, 161, 65, 0.1);
            --primary-glow: rgba(249, 161, 65, 0.3);
            --bg-dark: #0c0a09;
            --bg-card: rgba(28, 25, 23, 0.7);
            --border-color: rgba(68, 64, 60, 0.5);
            --text-primary: #ffffff;
            --text-secondary: #a8a29e;
            --text-muted: #78716c;
            --input-bg: rgba(41, 37, 36, 0.5);
        }

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

        

        body {
            font-family: 'Inter', sans-serif;
            min-height: 100vh;
            background: linear-gradient(135deg, #0c0a09 0%, #1c1917 50%, #0c0a09 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
        }

        /* Background Pattern */
        .bg-pattern {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: radial-gradient(circle at 2px 2px, var(--primary-color) 1px, transparent 0);
            background-size: 48px 48px;
            opacity: 0.03;
            pointer-events: none;
        }

        /* Ambient Glows */
        .glow {
            position: fixed;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            filter: blur(100px);
            opacity: 0.1;
            pointer-events: none;
        }

        .glow-1 {
            top: 10%;
            left: -100px;
            background: var(--primary-color);
        }

        .glow-2 {
            bottom: 10%;
            right: -100px;
            background: var(--primary-color);
        }

        /* Main Container */
        .login-container {
            width: 100%;
            max-width: 420px;
            position: relative;
            z-index: 10;
        }

        /* Logo Section */
        .logo-section {
            text-align: center;
            margin-bottom: 2rem;
        }

        .logo-icon {
            position: relative;
            display: inline-block;
            margin-bottom: 1.5rem;
        }

        .logo-icon img {
            width: 64px;
            height: 64px;
        }

        .logo-icon::after {
            content: '';
            position: absolute;
            inset: -10px;
            background: var(--primary-color);
            border-radius: 50%;
            filter: blur(20px);
            opacity: 0.3;
            z-index: -1;
        }

        .brand-name {
            font-size: 1.75rem;
            font-weight: 300;
            letter-spacing: 0.05em;
            margin-bottom: 0.5rem;
        }

        .brand-name .highlight {
            color: var(--primary-color);
            font-weight: 600;
        }

        .brand-name .light {
            color: var(--text-secondary);
        }

        .brand-subtitle {
            font-size: 0.75rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.2em;
        }

        /* Login Card */
        .login-card {
            background: var(--bg-card);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--border-color);
            border-radius: 1rem;
            padding: 2rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }

        /* Form Labels */
        .form-label {
            font-size: 0.7rem;
            font-weight: 500;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 0.5rem;
        }

        /* Input Groups */
        .input-group-custom {
            position: relative;
        }

        .input-icon {
            position: absolute;
            width: 20px;
            height: 20px;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            transition: color 0.2s ease;
            z-index: 5;
        }

        .form-control-custom {
            width: 100%;
            background: var(--input-bg);
            border: 1px solid var(--border-color);
            border-radius: 0.75rem;
            padding: 0.875rem 1rem 0.875rem 3rem;
            color: var(--text-primary);
            font-size: 0.95rem;
            transition: all 0.2s ease;
        }

        .form-control-custom::placeholder {
            color: var(--text-muted);
        }

        .form-control-custom:focus {
            outline: none;
            border-color: rgba(249, 161, 65, 0.5);
            box-shadow: 0 0 0 3px rgba(249, 161, 65, 0.1);
            background: var(--input-bg);
        }

        .form-control-custom:focus + .input-icon,
        .input-group-custom:focus-within .input-icon {
            color: var(--primary-color);
        }

        .password-input {
            padding-right: 3rem;
        }

        /* Password Toggle */
        .password-toggle {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            padding: 0;
            transition: color 0.2s ease;
            z-index: 5;
        }

        .password-toggle:hover {
            color: var(--text-secondary);
        }

        /* Custom Checkbox */
        .custom-checkbox {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
        }

        .custom-checkbox input {
            display: none;
        }

        .checkmark {
            width: 16px;
            height: 16px;
            border: 1px solid var(--text-muted);
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .checkmark i {
            font-size: 10px;
            color: var(--bg-dark);
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        .custom-checkbox input:checked + .checkmark {
            background: var(--primary-color);
            border-color: var(--primary-color);
        }

        .custom-checkbox input:checked + .checkmark i {
            opacity: 1;
        }

        .custom-checkbox span {
            font-size: 0.875rem;
            color: var(--text-secondary);
            transition: color 0.2s ease;
        }

        .custom-checkbox:hover span {
            color: var(--text-primary);
        }

        /* Forgot Password Link */
        .forgot-link {
            font-size: 0.875rem;
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .forgot-link:hover {
            color: var(--primary-color);
        }

        /* Submit Button */
        .btn-primary-custom {
            width: 100%;
            background: var(--primary-color);
            border: none;
            border-radius: 0.75rem;
            padding: 0.875rem 1.5rem;
            color: var(--bg-dark);
            font-weight: 500;
            font-size: 1rem;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .btn-primary-custom:hover {
            background: var(--primary-hover);
            transform: translateY(-1px);
            box-shadow: 0 10px 30px -10px rgba(249, 161, 65, 0.5);
        }

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

        .btn-primary-custom:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        .btn-primary-custom .arrow-icon {
            transition: transform 0.2s ease;
        }

        .btn-primary-custom:hover .arrow-icon {
            transform: translateX(4px);
        }

        .btn-primary-custom .spinner {
            animation: spin 1s linear infinite;
        }

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

        /* Divider */
        .divider {
            position: relative;
            text-align: center;
            margin: 1.5rem 0;
        }

        .divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: var(--border-color);
        }

        .divider span {
            position: relative;
            background: #1c1917;
            padding: 0 1rem;
            font-size: 0.7rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        /* SSO Buttons */
        .btn-sso {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            background: var(--input-bg);
            border: 1px solid var(--border-color);
            border-radius: 0.75rem;
            color: var(--text-secondary);
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-sso:hover {
            background: rgba(41, 37, 36, 0.8);
            border-color: var(--text-muted);
            color: var(--text-primary);
        }

        .btn-sso svg {
            width: 20px;
            height: 20px;
        }

        /* Footer */
        .login-footer {
            text-align: center;
            margin-top: 2rem;
            font-size: 0.875rem;
            color: var(--text-muted);
        }

        .login-footer a {
            color: var(--primary-color);
            text-decoration: none;
            transition: opacity 0.2s ease;
        }

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

        /* Responsive */
        @media (max-width: 480px) {
            .login-card {
                padding: 1.5rem;
            }

            .brand-name {
                font-size: 1.5rem;
            }
        }

        /* Focus visible for accessibility */
        .form-control-custom:focus-visible,
        .btn-primary-custom:focus-visible,
        .btn-sso:focus-visible {
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        