
        :root {
            --primary: #2563EB;
            --primary-dark: #1E40AF;
            --secondary: #0F172A;
            --text: #334155;
            --bg: #F8FAFC;
            --white: #FFFFFF;
            --error: #EF4444;
            --success: #10B981;
        }

        body {
            font-family: 'Roboto', sans-serif;
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            display: flex; justify-content: center; align-items: center;
            min-height: 100vh; margin: 0; color: var(--text); padding: 20px;
        }

        .container { width: 100%; max-width: 420px; position: relative; }

        .form-card {
            background: var(--white);
            border-radius: 20px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.1);
            overflow: hidden;
            position: relative;
        }

        .form-header {
            background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
            padding: 30px; text-align: center; color: white;
        }

        .logo { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 5px; }
        .logo span { color: #F59E0B; }

        .form-body { padding: 30px; }

        /* Toggles */
        .tabs { display: flex; background: var(--bg); padding: 5px; border-radius: 50px; margin-bottom: 25px; }
        .tab {
            flex: 1; padding: 10px; border: none; background: transparent;
            border-radius: 50px; font-weight: 600; color: #64748b; cursor: pointer;
            transition: 0.3s; font-family: 'Poppins', sans-serif;
        }
        .tab.active { background: var(--white); color: var(--primary); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

        /* Inputs */
        .input-group { margin-bottom: 20px; position: relative; }
        .input-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; margin-left: 5px; }
        
        .input-wrapper { position: relative; }
        .input-wrapper input {
            width: 100%; padding: 12px 40px; border: 2px solid #e2e8f0;
            border-radius: 12px; font-size: 0.95rem; outline: none; transition: 0.3s;
            box-sizing: border-box; background: #f8fafc;
        }
        .input-wrapper input:focus { border-color: var(--primary); background: white; }
        
        .input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
        
        /* Toggle Password Visibility */
        .toggle-password {
            position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
            color: #94a3b8; cursor: pointer; transition: 0.3s;
        }
        .toggle-password:hover { color: var(--primary); }

        /* Buttons */
        .btn {
            width: 100%; padding: 14px; border: none; border-radius: 50px;
            background: var(--primary); color: white; font-weight: 600; font-size: 1rem;
            cursor: pointer; transition: 0.3s; font-family: 'Poppins', sans-serif;
            display: flex; align-items: center; justify-content: center; gap: 10px;
        }
        .btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
        .btn:disabled { opacity: 0.7; cursor: not-allowed; }

        /* Links & Messages */
        .forgot-link {
            display: block; text-align: right; font-size: 0.85rem;
            color: #64748b; text-decoration: none; margin-bottom: 20px; margin-top: -10px;
        }
        .forgot-link:hover { color: var(--primary); }

        .message {
            padding: 12px; border-radius: 10px; font-size: 0.9rem; text-align: center;
            margin-bottom: 20px; display: none;
        }
        .error { background: #fee2e2; color: var(--error); border: 1px solid #fecaca; }
        .success { background: #d1fae5; color: var(--success); border: 1px solid #a7f3d0; }

        .back-home { text-align: center; margin-top: 20px; display: block; color: #64748b; text-decoration: none; font-size: 0.9rem; }
        
        /* Sections */
        .form-section { display: none; animation: fadeIn 0.4s ease; }
        .form-section.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

