.app-error-modal {
    width: min(420px, calc(100vw - 32px));
    border: 0;
    border-radius: 16px;
    padding: 28px;
    color: var(--text-primary);
    background: var(--surface, #ffffff);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.app-error-modal::backdrop {
    background: rgba(10, 16, 30, 0.58);
    backdrop-filter: blur(3px);
}

.app-error-modal__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 0 auto 12px;
    border-radius: 50%;
    color: #ffffff;
    background: #dc3545;
    font-weight: 800;
}

.app-error-modal h2 {
    margin: 0 0 10px;
    font-size: 19px;
}

.app-error-modal p {
    margin: 0 0 22px;
    color: var(--text-secondary, #5d6675);
    line-height: 1.5;
}
