/* ===== 登录页样式 ===== */
:root {
    --primary: #D4A574;
    --primary-dark: #B8845A;
    --primary-light: #F5E6D3;
    --primary-bg: #FDF8F3;
    --text-dark: #3D2C2E;
    --text-soft: #7A6A6B;
    --shadow-md: 0 8px 30px rgba(180,140,100,0.15);
    --radius: 12px;
    --radius-lg: 24px;
    --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    position: relative;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}
.bg-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}
.bg-circle-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(212,165,116,0.12) 0%, transparent 70%);
    top: -200px; right: -150px;
}
.bg-circle-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(245,230,211,0.5) 0%, transparent 70%);
    bottom: -120px; left: -100px;
}
.login-container {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    padding: 48px 40px 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(212,165,116,0.12);
    margin: 20px;
}
.login-header {
    text-align: center;
    margin-bottom: 36px;
}
.login-logo {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(180,140,100,0.25);
}
.login-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}
.login-header h1 span { color: var(--primary-dark); }
.login-header p {
    font-size: 14px;
    color: var(--text-soft);
    margin-top: 4px;
}
.error-message {
    background: #FFEBEE;
    color: #C62828;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid #FFCDD2;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-group {
    margin-bottom: 22px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #EDE4DC;
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    background: #FAF7F3;
    color: var(--text-dark);
    transition: all 0.3s;
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212,165,116,0.15);
    background: white;
}
.form-group input::placeholder { color: #C5B5A6; }
.btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(180,140,100,0.3);
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(180,140,100,0.4);
}
.login-footer {
    text-align: center;
    margin-top: 24px;
}
.login-footer a {
    font-size: 14px;
    color: var(--text-soft);
    text-decoration: none;
    transition: color 0.3s;
}
.login-footer a:hover { color: var(--primary-dark); }
@media (max-width: 480px) {
    .login-container { padding: 36px 24px 28px; }
    .bg-circle-1, .bg-circle-2 { display: none; }
}
