 /* --- 1. Custom Color Variables & Global Styles --- */
        :root {
            --color-white: #ffffff;
            --color-brand-light: #e8ffeb;
            --color-brand-default: #cadd51;
            --color-brand-dark: rgb(186, 186, 21);
            --color-brand-accent: rgb(186, 186, 21);
            --color-gray-600: #4b5563; 
        }

        body {
            background: linear-gradient(135deg, var(--color-white) 0%, var(--color-brand-light) 50%, #E9D5FF 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            padding: 1rem;
            font-family: ui-sans-serif, system-ui, sans-serif;
        }
          
        /* Glassmorphism Card Effect */
        .glass-card {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 1.5rem;
            padding: 2.5rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            max-width: 420px;
            width: 100%;
            z-index: 10;
            position: relative;
        }

        /* Close Icon */
        .close-btn {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            color: var(--color-gray-600);
            font-size: 1.25rem;
            text-decoration: none;
            transition: all 0.3s ease;
            background: transparent;
            border: none;
            cursor: pointer;
            width: 2rem;
            height: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .close-btn:hover {
            color: var(--color-brand-dark);
            background-color: rgba(255, 255, 255, 0.5);
            transform: rotate(90deg);
        }

        /* Header */
        .login-header {
            text-align: center;
            margin-bottom: 2rem;
            margin-top: 0.5rem;
        }
        
        .logo-icon {
            width: 3rem; 
            height: 3rem; 
            margin: 0 auto 0.5rem;
            background-color: var(--color-brand-dark);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-white);
            font-size: 1.25rem;
        }

        .login-header h2 {
            font-size: 1.875rem;
            font-weight: 700;
            color: var(--color-brand-dark);
            margin: 0;
        }
        
        /* --- Form Elements --- */
        .input-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        .input-group input {
            width: 100%;
            box-sizing: border-box;
            padding: 0.75rem 1rem;
            padding-left: 2.5rem;
            padding-right: 2.5rem;
            border: 1px solid #d1d5db;
            border-radius: 0.5rem;
            background-color: var(--color-white);
            font-size: 1rem;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .input-group input:focus {
            outline: none;
            border-color: var(--color-brand-default);
            box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.3);
        }
        
        .input-group .icon-left {
            position: absolute;
            top: 50%;
            left: 0.75rem;
            transform: translateY(-50%);
            color: #9ca3af;
            pointer-events: none;
        }

        /* Password Eye Icon */
        .input-group .toggle-password {
            position: absolute;
            top: 50%;
            right: 1rem;
            transform: translateY(-50%);
            color: #9ca3af;
            cursor: pointer;
            z-index: 5;
            transition: color 0.3s;
        }
        
        .input-group .toggle-password:hover {
            color: var(--color-brand-dark);
        }

        /* Tabs */
        .input-mode-tabs {
            display: flex;
            margin-bottom: 1rem;
            border-radius: 0.5rem;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(192, 132, 252, 0.3);
        }
        
        .input-mode-tabs button {
            flex-grow: 1;
            padding: 0.5rem 0;
            border: none;
            background: transparent;
            color: var(--color-gray-600);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .input-mode-tabs button.active {
            background-color: var(--color-brand-default);
            color: var(--color-white);
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
        }
        
        .input-group.hidden {
            display: none;
        }

        /* Actions & Button */
        .actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            font-size: 0.875rem;
        }

        .remember-me {
            display: flex;
            align-items: center;
            color: var(--color-gray-600);
        }

        .remember-me input {
            margin-right: 0.5rem;
            accent-color: var(--color-brand-default);
        }

        .forgot-password {
            color: var(--color-brand-default);
            text-decoration: none;
            transition: color 0.3s;
        }

        .forgot-password:hover {
            color: var(--color-brand-dark);
        }

        .login-button {
            width: 100%;
            padding: 0.75rem;
            background-color: var(--color-brand-dark);
            color: var(--color-white);
            font-weight: 700;
            border: none;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: background-color 0.3s, transform 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .login-button:hover {
            background-color: var(--color-brand-accent);
            transform: translateY(-1px);
        }

        .footer-text {
            text-align: center;
            margin-top: 1.5rem;
            font-size: 0.875rem;
            color: var(--color-gray-600);
        }

        .footer-text a {
            color: var(--color-brand-default);
            font-weight: 600;
            text-decoration: none;
        }

        .footer-text a:hover {
            color: var(--color-brand-dark);
        }

        /* Decorative blur */
        .blur-element {
            position: absolute;
            width: 200px;
            height: 200px;
            background: var(--color-brand-default);
            opacity: 0.3;
            border-radius: 50%;
            filter: blur(80px);
            z-index: 0;
            animation: float 10s ease-in-out infinite;
        }

        .blur-element.top-left {
            top: 10%;
            left: 5%;
        }

        .blur-element.bottom-right {
            bottom: 10%;
            right: 5%;
            background: var(--color-brand-accent);
            animation-delay: 2s;
        }

        @keyframes float {
            0% { transform: translate(0, 0); }
            50% { transform: translate(20px, 30px); }
            100% { transform: translate(0, 0); }
        }