/* ========================================
   AUTH GROUP STYLES
   登录/注册页面样式
   ======================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: var(--color-surface);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    max-width: 450px;
    width: 100%;
}

h1 { text-align: center; color: var(--color-text); margin-bottom: 30px; font-size: 28px; }

.form-group { margin-bottom: 20px; }

label { display: block; margin-bottom: 8px; color: var(--color-text-secondary); font-weight: 600; }

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--color-input-border);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--color-input-bg);
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-surface);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

button {
    width: 100%;
    padding: 15px;
    background: var(--gradient-primary);
    color: var(--color-text-inverse);
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.alert-success {
    background: var(--color-alert-success-bg);
    color: var(--color-alert-success-text);
}

.alert-danger {
    background: var(--color-alert-danger-bg);
    color: var(--color-alert-danger-text);
}

.link { text-align: center; margin-top: 20px; }

.link a {
    color: var(--color-primary);
    text-decoration: none;
}

.link a:hover { text-decoration: underline; }