/* =============================================================
   联机大厅 - 登录页
   复用 lobby.css 的 :root 配色变量（红警2 深蓝灰科技风）
   ============================================================= */

.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 32px 32px 26px;
    border: 1px solid var(--ra-line);
    border-radius: 14px;
    background: linear-gradient(180deg, var(--ra-panel) 0%, #0b1420 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.login-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(63, 169, 245, 0.45);
    border-radius: 10px;
    background: var(--ra-accent-soft);
    color: var(--ra-accent-strong);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.login-brand-text h1 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 600;
    color: var(--ra-text-bright);
}

.login-brand-text p {
    margin: 0;
    font-size: 12px;
    color: var(--ra-text-dim);
}

.login-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    padding: 4px;
    border: 1px solid var(--ra-line);
    border-radius: 9px;
    background: rgba(8, 16, 24, 0.6);
}

.login-tab {
    flex: 1;
    padding: 9px 0;
    border-radius: 6px;
    color: var(--ra-text-dim);
    font-size: 13px;
    text-align: center;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}

.login-tab:hover {
    color: var(--ra-text-bright);
}

.login-tab.is-active {
    background: var(--ra-accent-soft);
    color: var(--ra-accent-strong);
    box-shadow: inset 0 0 0 1px rgba(63, 169, 245, 0.35);
}

.login-errors {
    margin: 0 0 16px;
    padding: 10px 12px 10px 28px;
    border: 1px solid rgba(231, 91, 91, 0.4);
    border-radius: 8px;
    background: rgba(231, 91, 91, 0.08);
    color: #ff9b9b;
    font-size: 13px;
}

.login-errors li {
    margin: 2px 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-field span {
    font-size: 12px;
    color: var(--ra-text-dim);
}

.login-field input {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--ra-line);
    border-radius: 8px;
    background: rgba(5, 9, 13, 0.75);
    color: var(--ra-text-bright);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.login-field input::placeholder {
    color: #56687a;
}

.login-field input:focus {
    border-color: var(--ra-accent);
    box-shadow: 0 0 0 3px rgba(63, 169, 245, 0.15);
}

.login-submit {
    margin-top: 6px;
    padding: 12px 0;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #3fa9f5 0%, #2b86c9 100%);
    color: #04121d;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: filter 0.18s ease, transform 0.12s ease;
}

.login-submit:hover {
    filter: brightness(1.08);
}

.login-submit:active {
    transform: translateY(1px);
}

.login-foot {
    margin: 18px 0 0;
    font-size: 12px;
    color: var(--ra-text-dim);
    text-align: center;
}

.login-foot a {
    color: var(--ra-accent-strong);
    text-decoration: none;
}

.login-foot a:hover {
    text-decoration: underline;
}
