/* === 登录页样式 === */
body.login-page {
    background: linear-gradient(145deg, #1e3a8a 0%, #1d4ed8 35%, #2563eb 65%, #60a5fa 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(29, 78, 216, 0.2);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    color: #0f172a;
    font-size: 28px;
    margin-bottom: 8px;
}

.login-header p {
    color: #64748b;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #334155;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    /* 今日修复：placeholder被遮挡问题 */
    /* line-height 默认 normal 时字符被裁切，固定 1.6 + 固定高48px 保证可见 */
    line-height: 1.6;
    height: 48px;
    box-sizing: border-box;  /* padding 计入总高，避免溢出 */
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-color: var(--color-focus);
    box-shadow: var(--color-focus-shadow);
}

.form-group input::placeholder {
    color: #94a3b8;
    opacity: 1;
    /* placeholder 显式与 input 保持一致的字号和行高，防止被截断 */
    font-size: 15px;
    line-height: 1.6;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--color-primary-shadow);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.hint {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}
