
        :root {
            --primary: #5ab032;
            --primary-dark: #006837;
            --primary-light: #dcfce7;
            --text-main: #1f2937;
            --text-muted: #6b7280;
            --white: #ffffff;
            --glass-bg: rgba(255, 255, 255, 0.95);
            --border: #e5e7eb;
            --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            font-family: var(--font-stack);
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 24px;
            color: var(--text-main);
            overflow: hidden;
            position: relative;
        }

        /* --- Background Decoration --- */
        .bg-pattern {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background-image: radial-gradient(rgba(255,255,255,0.2) 1px, transparent 1px);
            background-size: 24px 24px;
            opacity: 0.3;
            pointer-events: none;
        }

        .blob {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            filter: blur(40px);
            z-index: 0;
        }
        .blob-1 { width: 200px; height: 200px; top: -50px; right: -50px; }
        .blob-2 { width: 250px; height: 250px; bottom: -80px; left: -80px; }

        /* --- Main Card --- */
        .card {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            width: 100%;
            max-width: 380px;
            border-radius: 24px;
            padding: 32px;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.5);
            position: relative;
            z-index: 10;
        }

        /* --- Logo Section --- */
        .logo-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 32px;
        }
        .logo-img {
            max-width: 200px;
            height: auto;
            object-fit: contain;
            margin-bottom: 8px;
        }
        .logo-fallback {
            width: 64px;
            height: 64px;
            background: var(--primary-light);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-dark);
            margin-bottom: 8px;
        }
        .badge {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-muted);
            font-weight: 600;
        }

        /* --- Form Elements --- */
        .form-group {
            margin-bottom: 20px;
        }
        .form-label {
            display: block;
            font-size: 12px;
            font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
            margin-left: 4px;
        }
        .input-wrapper {
            position: relative;
        }
        
        .input-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
            width: 20px;
            height: 20px;
        }
        
        .form-input {
            width: 100%;
            padding: 14px 14px 14px 44px; /* Left padding for icon */
            border-radius: 12px;
            border: 1px solid #cbd5e1; /* Darker border for better visibility */
            background: #ffffff; /* Solid white background */
            font-size: 16px;
            color: var(--text-main);
            outline: none;
            transition: all 0.3s ease;
            box-shadow: 0 1px 3px rgba(0,0,0,0.06); /* Added shadow for depth */
        }

        .form-input:focus {
            background: #fff;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(90, 176, 50, 0.15);
        }
        
        .form-input:focus + .input-icon {
            color: var(--primary);
        }

        .toggle-password {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            color: #9ca3af;
            padding: 0;
            display: flex;
        }
        .toggle-password svg {
            width: 20px;
            height: 20px;
        }

        .forgot-link {
            display: block;
            text-align: right;
            font-size: 12px;
            color: var(--primary-dark);
            text-decoration: none;
            font-weight: 600;
            margin-top: 6px;
        }

        /* --- Button --- */
        .btn-submit {
            width: 100%;
            padding: 16px;
            border: none;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            transition: transform 0.1s, box-shadow 0.2s;
            margin-top: 10px;
        }

        .btn-submit:active {
            transform: scale(0.98);
        }

        /* --- Footer --- */
        .footer-link {
            text-align: center;
            margin-top: 24px;
            padding-top: 20px;
            border-top: 1px solid var(--border);
            font-size: 14px;
            color: var(--text-muted);
        }
        .footer-link span {
            color: var(--primary-dark);
            font-weight: 700;
            cursor: pointer;
        }

        .copyright {
            position: absolute;
            bottom: 24px;
            font-size: 10px;
            color: rgba(255,255,255,0.7);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 500;
        }

        /* --- Animations --- */
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        .spinner {
            animation: spin 1s linear infinite;
        }

        .hidden { display: none !important; }
        .flex { display: flex !important; }