        :root {
            --primary: #6c5ce7;
            --primary-dark: #5649c0;
            --secondary: #00cec9;
            --accent: #fd79a8;
            --dark: #0f0e17;
            --light: #fffffe;
            --gray: #a7a9be;
            --dark-gray: #2e2f3e;
            --light-gray: #f1f1f1;
            --card-bg-light: #ffffff;
            --card-bg-dark: #16161a;
            --header-bg-light: rgba(255,255,255,0.98);
            --header-bg-dark: rgba(15,14,23,0.98);
            --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

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

        body {
            font-family: 'Space Grotesk', sans-serif;
            background-color: var(--light);
            color: var(--dark);
            transition: var(--transition);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        body.dark {
            background-color: var(--dark);
            color: var(--light);
        }

        /* Auth Container */
        .auth-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex-grow: 1;
            padding: 2rem;
            position: relative;
            overflow: hidden;
        }

        .floating-shapes {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
            overflow: hidden;
        }

        .shape {
            position: absolute;
            opacity: 0.08;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            
        }

        /* Auth Card */
        .auth-card {
            border-radius: 1.2rem;
            width: 115%;
            max-width: 480px;
            padding: 2.5rem;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        body.dark .auth-card {
            background-color: var(--card-bg-dark);
            
            border-color: var(--dark-gray);
        }

        .auth-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 6px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
        }

        .auth-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
            margin-bottom: 2rem;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
        }

        .auth-logo i {
            font-size: 2rem;
        }

        .auth-title {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            text-align: center;
            font-weight: 700;
        }

        .auth-subtitle {
            color: var(--gray);
            text-align: center;
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        body.dark .auth-subtitle {
            color: var(--light-gray);
        }

        /* Form Elements */
        .form-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        .form-label {
            display: block;
            margin-bottom: 0.6rem;
            font-weight: 500;
            font-size: 0.95rem;
        }

        .form-input {
            width: 100%;
            padding: 0.9rem 1.2rem;
            border-radius: 0.8rem;
            border: 2px solid var(--light-gray);
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
            background-color: var(--light);
            color: var(--dark);
        }

        body.dark .form-input {
            background-color: var(--dark);
            color: var(--light);
            border-color: var(--dark-gray);
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            
        }
        body.dark .form-input:focus {
          outline: none;
          border-color: var(--primary);
        }

        .input-icon {
            position: absolute;
            right: 1.2rem;
            top: 70%;
            transform: translateY(-50%);
            color: var(--gray);
        }

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

        .remember-me {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .remember-me input {
            width: 1.1rem;
            height: 1.1rem;
            accent-color: var(--primary);
        }

        .forgot-password {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }

        .forgot-password:hover {
            text-decoration: underline;
        }

        /* Buttons */
        .auth-btn {
            width: 100%;
            padding: 1rem;
            border-radius: 0.8rem;
            background-color: var(--primary);
            color: white;
            border: none;
            font-family: inherit;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
        }

        .auth-btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }

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

        .divider {
            display: flex;
            align-items: center;
            margin: 1.5rem 0;
            color: var(--gray);
            font-size: 0.9rem;
        }

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

        body.dark .divider::before, body.dark .divider::after {
            background-color: var(--dark-gray);
        }

        .social-login {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .social-btn {
            flex: 1;
            padding: 0.8rem;
            border-radius: 0.8rem;
            border: 2px solid var(--light-gray);
            background-color: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
        }

        body.dark .social-btn {
            border-color: var(--dark-gray);
        }

        .social-btn:hover {
            border-color: var(--primary);
        }

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

        .google-btn {
            color: #DB4437;
        }

        .github-btn {
            color: var(--dark);
        }

        body.dark .github-btn {
            color: var(--light);
        }

        .auth-footer {
            text-align: center;
            margin-top: 1.5rem;
            color: var(--gray);
            font-size: 0.95rem;
        }

        body.dark .auth-footer {
            color: var(--light-gray);
        }

        .auth-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
        }

        .auth-link:hover {
            text-decoration: underline;
        }

        /* Error/Success Messages */
        .auth-message {
            padding: 1rem;
            border-radius: 0.8rem;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            font-size: 0.95rem;
        }

        .error-message {
            background-color: rgba(255, 71, 87, 0.1);
            color: #ff4757;
            border: 1px solid rgba(255, 71, 87, 0.2);
        }

        .success-message {
            background-color: rgba(0, 206, 201, 0.1);
            color: var(--secondary);
            border: 1px solid rgba(0, 206, 201, 0.2);
        }

        /* Loading State */
        .btn-loading {
            position: relative;
            pointer-events: none;
        }

        .btn-loading::after {
            content: '';
            position: absolute;
            width: 1.2rem;
            height: 1.2rem;
            border: 3px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s linear infinite;
        }

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

        /* Responsive Styles */
        @media (max-width: 576px) {
            .auth-container {
                padding: 1.5rem;
            }

            .auth-card {
                padding: 2rem 1.5rem;
            }

            .auth-title {
                font-size: 1.6rem;
            }

            .social-login {
                flex-direction: column;
            }
        }