
        :root {
            --primary-color: #1E8948;
            --primary-hover: #18723b;
            --bg-color: #fafafa;
            --text-main: #111827;
            --text-muted: #6b7280;
            --border-color: #e5e7eb;
            --focus-ring: rgba(30, 137, 72, 0.2);
            --font-family: 'DM Sans', sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: var(--font-family);
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .container {
            width: 100%;
            max-width: 440px;
            margin: 0 auto;
        }

        .login-card {
            background-color: #ffffff;
            width: 100%;
            padding: 40px 30px;
            border-radius: 24px;
            box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
        }

        @media (min-width: 640px) {
            .login-card {
                padding: 50px 40px;
            }
        }

        .logo-container {
            display: flex;
            justify-content: center;
            margin-bottom: 40px;
        }

        .brand-logo {
            font-size: 32px;
            font-weight: 800;
            color: var(--primary-color);
            letter-spacing: -1px;
            margin: 0;
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-label {
            display: block;
            font-size: 14px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 8px;
        }

        .form-label-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .forgot-password {
            font-size: 13px;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s;
        }

        .forgot-password:hover {
            color: var(--primary-hover);
        }

        .input-wrapper {
            position: relative;
        }

        .form-input {
            width: 100%;
            padding: 14px 16px;
            font-size: 15px;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            outline: none;
            transition: all 0.2s;
            color: var(--text-main);
        }

        .form-input::placeholder {
            color: #9ca3af;
        }

        .form-input:focus {
            border-color: var(--primary-color);
            box-shadow: none;
        }

        .password-input {
            padding-right: 48px;
        }

        .toggle-password-btn {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            outline: none;
        }

        .toggle-password-btn i {
            font-size: 14px;
            color: var(--text-muted);
            transition: color 0.2s;
        }
        
        .toggle-password-btn:hover i {
            color: var(--primary-color);
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            margin-top: -8px;
            margin-bottom: 30px;
        }

        .checkbox-input {
            width: 16px;
            height: 16px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            cursor: pointer;
            accent-color: var(--primary-color);
        }

        .checkbox-label {
            margin-left: 8px;
            font-size: 14px;
            color: var(--text-muted);
            cursor: pointer;
            user-select: none;
        }

        .scp-btn {
            width: 100%;
            cursor: pointer;
            font-size: 16px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 12px 38px;
            text-align: center;
            letter-spacing: .6px;
            font-weight: 600;
            position: relative;
            background-color: #1E8948;
            color: #fff;
            border: 0;
            box-shadow: 
                inset -2px -2px 1.4px #13461b,
                inset 1px 1px 1.4px #2ca35c;
            transition: transform .08s ease, box-shadow .08s ease;
            min-height: 48px; /* Maintain height when loader is visible */
        }

        .scp-btn:active {
            transform: translateY(2px);
            box-shadow: 
                inset -2px -2px 1.4px #13461b,
                inset 1px 1px 1.4px #2ca35c;
        }

        .btn-text {
            transition: opacity 0.2s;
        }
        
        .btn-loader {
            display: none;
            width: 22px;
            height: 22px;
            border: 3px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s linear infinite;
            position: absolute;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .scp-btn.loading {
            pointer-events: none;
        }
        
        .scp-btn.loading .btn-text {
            opacity: 0;
            visibility: hidden;
        }
        
        .scp-btn.loading .btn-loader {
            display: block;
        }

        .divider {
            display: flex;
            align-items: center;
            text-align: center;
            margin: 24px 0;
            color: var(--text-muted);
            font-size: 13px;
            font-weight: 500;
        }
        
        .divider::before, .divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid var(--border-color);
        }
        
        .divider span {
            padding: 0 12px;
        }
        
        .google-btn {
            width: 100%;
            padding: 12px 16px;
            background: #fff;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            font-size: 15px;
            font-weight: 600;
            color: var(--text-main);
            cursor: pointer;
            transition: background 0.2s, transform 0.08s ease, box-shadow 0.08s ease;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 48px;
        }
        
        .google-btn:hover {
            background: #f9fafb;
        }
        
        .google-btn:active {
            transform: translateY(2px);
            box-shadow: none;
        }
        
        .google-btn .btn-text {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            transition: opacity 0.2s;
            width: 100%;
        }
        
        .google-btn.loading {
            pointer-events: none;
        }
        
        .google-btn.loading .btn-text {
            opacity: 0;
            visibility: hidden;
        }
        
        .google-btn.loading .btn-loader {
            display: block;
            border-color: rgba(17, 24, 39, 0.1);
            border-top-color: var(--text-main);
        }
