/* ══════════════════════════════════════════════════════════════════════════
   Error Pages — myCPE ONE Design System
   Used by: 401, 403, 404, 419, 429, 500, 503
   ══════════════════════════════════════════════════════════════════════════ */

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    font-family: Inter, system-ui, -apple-system, sans-serif;
}

.error-page__code {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    color: #7162EA;
    letter-spacing: -4px;
    margin-bottom: 16px;
}

.error-page__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #26244A;
    margin-bottom: 12px;
}

.error-page__desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #475467;
    margin-bottom: 32px;
    max-width: 480px;
}

.error-page__desc p {
    margin-bottom: 8px;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.error-page__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.error-page__btn--primary {
    background: #7162EA;
    color: #fff;
}
.error-page__btn--primary:hover {
    background: #5A4BD6;
    color: #fff;
    text-decoration: none;
}

.error-page__btn--secondary {
    background: #fff;
    color: #344054;
    border: 1px solid #D0D5DD;
}
.error-page__btn--secondary:hover {
    background: #F9FAFB;
    color: #344054;
    text-decoration: none;
}

.error-page__icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.error-page__icon--warning {
    background: #FEF0C7;
}
.error-page__icon--danger {
    background: #FEE4E2;
}
.error-page__icon--info {
    background: #E0EAFF;
}
.error-page__icon--lock {
    background: #F3F1FD;
}

.error-page__retry-hint {
    margin-top: 24px;
    padding: 14px 18px;
    background: #F9FAFB;
    border: 1px solid #EAECF0;
    border-radius: 8px;
    font-size: 14px;
    color: #475467;
    line-height: 1.5;
    max-width: 480px;
}

.error-page__retry-hint strong {
    color: #344054;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .error-page {
        padding: 48px 0;
        min-height: 50vh;
    }
    .error-page__code {
        font-size: 80px;
        letter-spacing: -2px;
    }
    .error-page__title {
        font-size: 24px;
    }
    .error-page__desc {
        font-size: 15px;
    }
    .error-page__actions {
        flex-direction: column;
    }
    .error-page__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 375px) {
    .error-page__code {
        font-size: 64px;
    }
    .error-page__title {
        font-size: 20px;
    }
    .error-page__desc {
        font-size: 14px;
    }
}
