/* ---------------------------------------------------------------------- */
/* error-page */
/* ---------------------------------------------------------------------- */
.error-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}

.error-card {
    width: 100%;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-sizing: border-box;
}

/* ---------------------------------------------------------------------- */
/* Conteúdo textual */
/* ---------------------------------------------------------------------- */
.error-content {
    flex: 1;
    min-width: 0;
}

.error-content h1 {
    font-size: 3rem;
    margin: 0 0 16px;
}

.error-content h2 {
    font-size: 1.4rem;
    margin: 0 0 16px;
    font-weight: 600;
}

.error-content p {
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ---------------------------------------------------------------------- */
/* Ações */
/* ---------------------------------------------------------------------- */
.error-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------------------------------------------------------------------- */
/* Imagem */
/* ---------------------------------------------------------------------- */
.error-image {
    flex: 0 0 40%;
    max-width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-image img {
    max-width: 100%;
    max-height: 50vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ---------------------------------------------------------------------- */
/* Responsivo */
/* ---------------------------------------------------------------------- */
@media (max-width: 768px) {
    .error-card {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 32px;
        gap: 32px;
    }

    .error-image {
        max-width: 100%;
        flex: none;
    }

    .error-image img {
        max-height: 220px;
    }

    .error-actions {
        justify-content: center;
    }
}
