/* ===================================
   认证页面样式 - Auth Pages
   用于登录、注册页面
   =================================== */

/* Body 居中布局 */
body.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* 登录/注册容器 */
.login-container,
.register-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 400px;
}

.login-container h1,
.register-container h1 {
    text-align: center;
    color: #667eea;
    margin-bottom: 30px;
    font-size: 28px;
}

/* 登录/注册按钮 */
.login-container button,
.register-container button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.login-container button:hover,
.register-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.login-container button:active,
.register-container button:active {
    transform: translateY(0);
}

/* 链接区域 */
.register-link,
.login-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.register-link a,
.login-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

.register-link a:hover,
.login-link a:hover {
    text-decoration: underline;
}

/* 管理员登录卡片 */
.login-card {
    max-width: 420px;
    margin: 60px auto 0;
    background: white;
    padding: 40px 35px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    text-align: center;
}

.login-title {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 26px;
}

.login-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.btn-login {
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
}
