/* Login page */
.loginPage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.loginCard {
    width: 100%;
    max-width: 380px;
}

.loginHeader {
    margin-bottom: 32px;
}

.loginBrandTag {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    margin-bottom: 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-sidebar);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.loginHeader h1 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.loginHeader p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.loginForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.loginLabel {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.loginLabelHint {
    font-weight: 400;
    font-size: 12px;
    color: var(--text-tertiary);
}

.loginInput {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 15px;
    background: var(--bg);
    transition: border-color var(--transition);
}

.loginInput:focus {
    border-color: var(--accent);
    outline: none;
}

.loginInput::placeholder {
    color: var(--text-tertiary);
}

.loginBtn {
    padding: 10px 20px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
    transition: opacity var(--transition);
}

.loginBtn:hover {
    opacity: 0.85;
}

.loginAlert {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 16px;
}

.loginAlert.error {
    background: rgba(220, 50, 50, 0.06);
    color: #b33;
    border: 1px solid rgba(220, 50, 50, 0.12);
}

.loginAlert.info {
    background: rgba(45, 100, 200, 0.06);
    color: #2563eb;
    border: 1px solid rgba(45, 100, 200, 0.12);
}

.loginLabelRow {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.loginInlineLink {
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.15);
    text-underline-offset: 2px;
}

.loginInlineLink:hover { color: var(--text); }

.loginFooterLink {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-tertiary);
}

.loginFooterLink a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.15);
    text-underline-offset: 2px;
}

.loginFooterLink a:hover {
    color: var(--text);
}
