/* ==========================================================================
   Error Pages (404, 403, etc.)
   ========================================================================== */

.hh-error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
    padding: 4rem 2rem;
    min-height: calc(100dvh - 72px - 3rem);
}

/* Large status code */
.hh-error-page-code {
    font-size: clamp(4rem, 15vw, 8rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(
        135deg,
        var(--hh-primary) 0%,
        var(--hh-accent) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.85;
    user-select: none;
}

.hh-error-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hh-text-primary);
    margin: 0;
}

.hh-error-page-description {
    color: var(--hh-text-secondary);
    max-width: 400px;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.hh-error-page-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .hh-error-page {
        padding: 3rem 1.5rem;
    }

    .hh-error-page-actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }

    .hh-error-page-actions .mud-button-root {
        width: 100%;
    }
}
