/* =========================================
 * Pages: quen-mat-khau.php
 * Author: Thanh ??
 * Note: Auto-extracted from inline <style>
 * ========================================= */
:root {
            --primary: #1a73e8;
            --bg-color: #f0f2f5;
            --text-main: #202124;
            --text-sub: #5f6368;
            --border: #dadce0;
            --success: #34a853;
            --danger: #ea4335;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; }
        
        body {
            background-color: var(--bg-color);
            display: flex; align-items: center; justify-content: center;
            min-height: 100vh; padding: 20px;
        }

        .auth-card {
            background: #fff;
            width: 100%;
            max-width: 420px;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            text-align: center;
        }

        .logo {
            font-size: 24px; font-weight: 700; color: var(--text-main);
            margin-bottom: 8px; display: inline-flex; align-items: center; text-decoration: none;
        }
        .logo img { width: 32px; height: 32px; margin-right: 10px; object-fit: contain; }
        
        .sub-title { color: var(--text-sub); font-size: 14px; margin-bottom: 30px; line-height: 1.5; }

        .form-group { margin-bottom: 20px; text-align: left; }
        .form-label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 13px; color: var(--text-main); }
        
        .input-wrapper { position: relative; }
        .input-wrapper i.icon-left {
            position: absolute; top: 50%; transform: translateY(-50%);
            left: 12px; color: var(--text-sub); font-size: 18px;
        }
        
        .form-input {
            width: 100%; padding: 12px 15px 12px 40px;
            border: 1px solid var(--border); border-radius: 6px;
            font-size: 14px; outline: none; transition: 0.2s;
        }
        .form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,115,232,0.1); }
        
        .form-input-codes {
            width: 100%; padding: 12px 15px;
            border: 1px solid var(--border); border-radius: 6px;
            font-size: 24px; outline: none; transition: 0.2s;
            text-align: center; letter-spacing: 8px; font-weight: 700;
        }
        .form-input-codes:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,115,232,0.1); }

        .btn-submit {
            width: 100%; padding: 12px; border: none; border-radius: 6px;
            background: var(--primary); color: #fff; font-weight: 600; font-size: 14px;
            cursor: pointer; transition: 0.2s;
        }
        .btn-submit:hover { background: #1557b0; }
        .btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

        .btn-outline {
            display: inline-block; padding: 8px 20px;
            border: 1px solid var(--border); border-radius: 6px;
            background: #fff; color: var(--text-main); font-weight: 500; font-size: 13px;
            text-decoration: none; cursor: pointer; transition: 0.2s;
        }
        .btn-outline:hover { background: #f8f9fa; border-color: var(--primary); color: var(--primary); }

        .auth-footer { margin-top: 25px; font-size: 13px; color: var(--text-sub); }
        .auth-footer a { color: var(--primary); text-decoration: none; font-weight: 500; }
        .auth-footer a:hover { text-decoration: underline; }

        /* Steps */
        .step-indicator {
            display: flex; justify-content: center; gap: 8px; margin-bottom: 25px;
        }
        .step-dot {
            width: 10px; height: 10px; border-radius: 50%;
            background: var(--border); transition: 0.3s;
        }
        .step-dot.active { background: var(--primary); width: 28px; border-radius: 5px; }

        /* Alert */
        .alert {
            padding: 12px; border-radius: 6px; font-size: 13px; margin-bottom: 20px;
            text-align: left; display: none;
        }
        .alert.show { display: block; }
        .alert-success { background: #e6f4ea; color: #1e7e34; border: 1px solid #b7e1bd; }
        .alert-error { background: #fce8e6; color: #d93025; border: 1px solid #fad2cf; }
        .alert-info { background: #e8f0fe; color: #1a73e8; border: 1px solid #c6dafc; }

        /* Countdown */
        .countdown { font-size: 12px; color: var(--text-sub); margin-top: 8px; }
        .countdown span { color: var(--danger); font-weight: 600; }

        /* Hidden step */
        .step { display: none; }
        .step.active { display: block; animation: fadeIn 0.3s ease; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        @media (max-width: 480px) {
            .auth-card { padding: 30px 20px; }
        }