/* Steam auth only */

/* Steam button */
.steam-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.steam-login-btn img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 46px;
}

.mobile-steam-login {
    margin-top: 8px;
}

.mobile-steam-login img {
    height: 44px;
}

.page-steam-login {
    margin-top: 0;
}

.page-steam-login img {
    height: 50px;
}

/* Auth page wrapper */
.auth-page-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-page-head {
    margin-bottom: 0;
}

/* Steam auth box on login/register */
.steam-auth-card {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
    gap: 26px;
    align-items: center;
    padding: 28px 30px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(8, 14, 22, 0.96), rgba(5, 9, 14, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.steam-auth-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.steam-auth-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dbe9f6;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.steam-auth-card h2 {
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.2;
}

.steam-auth-card p {
    margin: 0;
    color: #d7e7f5;
    line-height: 1.65;
    font-size: 1rem;
}

.steam-auth-hint {
    display: block;
    color: #91abc1;
    line-height: 1.55;
    font-size: 0.92rem;
}

.steam-auth-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 140px;
}

.steam-auth-actions .steam-login-btn {
    transform: translateY(0);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.steam-auth-actions .steam-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

.auth-form-card {
    padding-top: 24px;
}

.auth-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
}

@media (max-width: 980px) {
    .steam-auth-card {
        grid-template-columns: 1fr;
        padding: 22px 20px;
        gap: 18px;
    }

    .steam-auth-actions {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .steam-auth-card h2 {
        font-size: 1.2rem;
    }

    .steam-auth-card p {
        font-size: 0.95rem;
    }

    .page-steam-login img {
        height: 46px;
    }

    .auth-form-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
