/* ============================================
   拌面生成站 — 登录/注册页样式
   ============================================ */

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
    background: var(--bg-primary);
}

.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 36px;
}

.auth-logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 12px;
    letter-spacing: -0.5px;
}

.auth-logo p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 6px;
}

.auth-logo svg {
    width: 48px;
    height: 48px;
}

.auth-form {
    margin-top: 8px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .btn-block {
    margin-top: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.auth-footer p {
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer a {
    font-weight: 500;
}

/* 注册成功提示 */
.auth-success {
    text-align: center;
    padding: 20px 0;
}

.auth-success svg {
    width: 64px;
    height: 64px;
    color: var(--success);
    margin-bottom: 20px;
}

.auth-success h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.auth-success p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* 密码强度指示器 */
.password-strength {
    height: 3px;
    border-radius: 2px;
    background: var(--border-light);
    margin-top: 8px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
    width: 0;
}

.password-strength-bar.weak { width: 33%; background: var(--danger); }
.password-strength-bar.medium { width: 66%; background: var(--warning); }
.password-strength-bar.strong { width: 100%; background: var(--success); }

/* 移动端 */
@media (max-width: 768px) {
    .auth-page {
        padding: 16px;
        align-items: flex-start;
        padding-top: 60px;
    }

    .auth-card {
        padding: 32px 24px;
        border-radius: var(--radius-md);
    }

    .auth-logo h1 {
        font-size: 20px;
    }

    .auth-logo svg {
        width: 40px;
        height: 40px;
    }

    .auth-form .form-group {
        margin-bottom: 14px;
    }
}
