/* =============================================================================
   portal-confirm.css — the portal's confirmation dialog: three concentric rings
   around a mark, a question, Yes / No. Markup: .wl-confirm (Wishlist's delete,
   Offer Status's withdraw / decline). Each page sets the wording and the icon.
============================================================================= */

/* ── Confirm-delete dialog ────────────────────────────────────────────────────
   Used for both destructive actions on this page. */
/* The same frame as the Make an Offer / Request to Purchase dialogs: a thick pale-blue
   border round a 30px-radius card */
.wl-confirm .modal-content {
    border: .9375rem solid rgba(237, 242, 255, .9);
    border-radius: 1.875rem;
    box-shadow: 0 24px 60px rgba(21, 32, 80, .22);
}

.wl-confirm__body {
    padding: 44px 40px 38px;
    text-align: center;
}

/* Three concentric circles, palest outside — built from nested spans so the
   rings scale together and no image is needed. */
.wl-confirm__mark,
.wl-confirm__ring,
.wl-confirm__disc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.wl-confirm__mark {
    width: 138px;
    height: 138px;
    background: rgba(224, 90, 74, .09);
}
.wl-confirm__ring {
    width: 104px;
    height: 104px;
    background: rgba(224, 90, 74, .16);
}
.wl-confirm__disc {
    width: 74px;
    height: 74px;
    background: #e05a4a;
}
.wl-confirm__disc img { width: 30px; height: 30px; display: block; }

.wl-confirm__text {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.35;
    color: #1a1a2e;
    margin: 30px auto 34px;
    max-width: 22ch;              /* wraps like the design, without a hard break */
    text-wrap: balance;
}

.wl-confirm__actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.wl-confirm__btn {
    min-width: 172px;
    border-radius: 50px;
    padding: 15px 34px;
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .15s;
}
.wl-confirm__btn:disabled { opacity: .6; cursor: default; }

.wl-confirm__btn--yes { border: 0; background: #4260cb; color: #fff; }
.wl-confirm__btn--yes:hover:not(:disabled) { background: #354fae; }

.wl-confirm__btn--no { border: 1px solid #4260cb; background: #fff; color: #4260cb; }
.wl-confirm__btn--no:hover { background: #f3f6ff; }

@media (max-width: 575.98px) {
    .wl-confirm__body { padding: 32px 22px 28px; }
    .wl-confirm__text { font-size: 21px; margin: 24px auto 26px; }
    .wl-confirm__btn { min-width: 132px; font-size: 17px; padding: 13px 24px; }
}

/* ── Shared dialog (assets/js/portal-confirm.js, window.nrConfirm) ─────────────
   An optional line of detail under the question, and a blue variant for actions
   that are safe (restore, keep) rather than destructive. */
.wl-confirm__sub {
    font-size: 15.5px;
    line-height: 1.6;
    color: #6b7187;
    margin: -18px auto 30px;
    max-width: 40ch;
    text-wrap: pretty;
}
.wl-confirm__sub[hidden] { display: none; }
.wl-confirm--info .wl-confirm__mark { background: rgba(66, 96, 203, .09); }
.wl-confirm--info .wl-confirm__ring { background: rgba(66, 96, 203, .16); }
.wl-confirm--info .wl-confirm__disc { background: #4260cb; }
@media (max-width: 575.98px) {
    .wl-confirm__sub { font-size: 14.5px; margin: -12px auto 24px; }
}
/* the shared dialog's questions carry a number, so they get a little more room per line */
#nrConfirmTitle { max-width: 26ch; }
