/*
|--------------------------------------------------------------------------
| Users Hub
|--------------------------------------------------------------------------
| Screen Layouts
|--------------------------------------------------------------------------
*/

.auth-screen {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding:
        max(24px, env(safe-area-inset-top))
        max(18px, env(safe-area-inset-right))
        max(24px, env(safe-area-inset-bottom))
        max(18px, env(safe-area-inset-left));
    background:
        radial-gradient(
            circle at top left,
            rgba(10, 124, 62, 0.13),
            transparent 36%
        ),
        var(--usershub-background);
}

.auth-card {
    width: min(100%, 460px);
    border: 1px solid rgba(219, 227, 236, 0.9);
    border-radius: var(--usershub-radius);
    background: var(--usershub-surface);
    box-shadow: var(--usershub-shadow);
    padding: clamp(24px, 5vw, 38px);
}

.auth-header {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
}

.auth-brand-mark {
    display: grid;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    place-items: center;
    background: var(--usershub-primary);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 850;
    letter-spacing: 0.04em;
}

.auth-eyebrow {
    margin: 0 0 2px;
    color: var(--usershub-primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-header h1 {
    margin: 0;
    color: var(--usershub-text);
    font-size: clamp(1.65rem, 5vw, 2rem);
    line-height: 1.2;
}

.auth-introduction {
    margin: 8px 0 0;
    color: var(--usershub-muted);
    font-size: 0.92rem;
}

.auth-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 26px;
    color: var(--usershub-muted);
    font-size: 0.9rem;
    text-align: center;
}

.auth-footer a {
    font-weight: 750;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 520px) {

    .auth-card {
        border-radius: 14px;
        padding: 24px 20px;
    }

    .auth-header {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .auth-brand-mark {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
}