/* =========================================================
   ERROR STATES
========================================================= */

.error-state {
    max-width: 760px;

    margin: 0 auto;

    padding: 50px 40px;

    border-radius: 32px;

    background: #fff;

    text-align: center;

    box-shadow: 0 18px 45px rgba(11, 19, 43, 0.08);
}

.error-state img {
    width: min(320px, 100%);

    margin: 0 auto 30px;

    object-fit: contain;
}

.error-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 90px;
    height: 42px;

    padding: 0 20px;

    border-radius: 999px;

    background: rgba(0, 121, 216, 0.12);

    color: var(--conimera-blue);

    font-size: 0.95rem;
    font-weight: 700;

    margin-bottom: 22px;
}

.error-danger {
    background: rgba(243, 19, 63, 0.12);
    color: var(--conimera-red);
}

.error-state h2 {
    margin-bottom: 18px;

    color: var(--conimera-blue-dark);

    font-size: clamp(2rem, 4vw, 2.8rem);

    font-weight: 800;

    letter-spacing: -0.03em;
}

.error-state p {
    max-width: 580px;

    margin: 0 auto;

    color: var(--conimera-muted);

    line-height: 1.8;

    text-align: center;
}

.error-actions {
    margin-top: 34px;

    display: flex;
    justify-content: center;
    gap: 16px;

    flex-wrap: wrap;
}

.btn-outline-error {
    border: 1px solid rgba(3, 37, 108, 0.14);

    border-radius: 999px;

    padding: 13px 28px;

    background: #fff;

    color: var(--conimera-blue-dark);

    font-weight: 700;

    transition: all .25s ease;
}

.btn-outline-error:hover {
    background: var(--conimera-blue-dark);
    color: #fff;
}

@media (max-width: 767.98px) {

    .error-state {
        padding: 34px 24px;
        border-radius: 26px;
    }

    .error-state img {
        width: min(240px, 100%);
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .btn,
    .btn-outline-error {
        width: 100%;
    }

}