* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: #0b0d11;
    color: var(--ls-text, #f2f4f7);
    -webkit-font-smoothing: antialiased;
}

.auth {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 32px 16px;
    overflow: hidden;
}

.auth-glow {
    position: absolute;
    top: -220px;
    left: 50%;
    width: 720px;
    height: 440px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, color-mix(in srgb, var(--login-accent) 22%, transparent), transparent);
    pointer-events: none;
}

.auth-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 380px;
    padding: 34px 30px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #13161c;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.auth-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: contain;
}

.auth-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1d2128;
}

.auth h1 {
    margin: 4px 0 0;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.auth-sub {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #9aa3b2;
}

.auth-sub b {
    color: #e6e9ef;
    font-weight: 600;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 44px;
    margin-top: 8px;
    border-radius: 10px;
    background: var(--login-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.auth-btn:hover {
    filter: brightness(1.1);
}

.auth-btn:active {
    transform: translateY(1px);
}

.auth-btn.off {
    opacity: 0.45;
    pointer-events: none;
}

.auth-btn svg {
    width: 20px;
    height: 20px;
}

.auth-link {
    font-size: 12.5px;
    color: #8b93a3;
    text-decoration: none;
}

.auth-link:hover {
    color: #e6e9ef;
}

.auth-note {
    margin: 2px 0 0;
    font-size: 11.5px;
    color: #6b7383;
}

.auth-error {
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    font-size: 12.5px;
}

.auth-foot {
    position: relative;
    margin: 18px 0 0;
    font-size: 11.5px;
    color: #59606e;
}
