.erp-error-page {
    min-height: calc(100vh - 150px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;
}

.erp-error {
    width: 100%;
    max-width: 640px;

    padding: 38px 40px;

    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 16px;

    box-shadow:
        0 8px 28px rgba(15, 23, 42, 0.05);
}

.erp-error__header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.erp-error__icon {
    flex: 0 0 auto;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #f1f2ff;
    color: #2416c8;
}

.erp-error__code {
    margin-bottom: 5px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;

    text-transform: uppercase;
    letter-spacing: .06em;

    color: #83899a;
}

.erp-error__title {
    margin: 0;

    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;

    color: #171b2b;
}

.erp-error__description {
    max-width: 500px;

    margin: 22px 0 0;

    font-size: 15px;
    line-height: 1.65;

    color: #697083;
}

.erp-error__details {
    margin-top: 22px;
    padding: 13px 15px;

    border: 1px solid #ffdada;
    border-radius: 10px;

    background: #fff5f5;

    font-size: 13px;
    line-height: 1.5;

    color: #d63c46;
}

.erp-error__actions {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 28px;
}

@media (max-width: 700px) {
    .erp-error-page {
        min-height: auto;

        padding: 24px 12px;
    }

    .erp-error {
        padding: 26px 22px;

        border-radius: 14px;
    }

    .erp-error__header {
        align-items: flex-start;
    }

    .erp-error__icon {
        width: 46px;
        height: 46px;
    }

    .erp-error__title {
        font-size: 24px;
    }

    .erp-error__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .erp-error__actions
    .erp-primary-button,
    .erp-error__actions
    .erp-secondary-button {
        justify-content: center;
        width: 100%;
    }
}
