/* 登录页样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px 32px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.login-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
}

.login-sub {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    margin-top: 6px;
}

.login-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 22px 0;
}

.login-hint {
    font-size: 14px;
    color: #475569;
    margin-bottom: 14px;
    text-align: center;
}

.token-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    font-family: "SF Mono", Consolas, monospace;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.token-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.login-btn {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #6366f1;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}

.login-btn:hover { background: #4f46e5; }
.login-btn:disabled { background: #c7d2fe; cursor: not-allowed; }

.login-error {
    margin-top: 14px;
    padding: 10px 12px;
    font-size: 13px;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    text-align: center;
}

.lang-switch-login {
    position: absolute;
    top: 16px;
    right: 16px;
}

.lang-select {
    padding: 4px 8px;
    font-size: 13px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}
