/* The site's dialogs (JS/dialog.js). --s is the page scale from rcadya-scale.js. */
.rc-confirm { position: fixed; inset: 0; z-index: 10050; }
.rc-confirm-backdrop {
    position: fixed; left: 0; right: 0;
    top: calc(var(--s, 1) * -200px); bottom: calc(var(--s, 1) * -200px);
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(calc(var(--s, 1) * 8px));
    -webkit-backdrop-filter: blur(calc(var(--s, 1) * 8px));
}
.rc-confirm-center {
    position: fixed; inset: 0;
    display: flex; align-items: center; justify-content: center;
    padding: calc(var(--s, 1) * 20px); box-sizing: border-box;
    pointer-events: none;
}
.rc-confirm-card {
    pointer-events: auto; position: relative; overflow: hidden;
    width: min(calc(var(--s, 1) * 360px), 100%);
    font-family: 'Chakra Petch', system-ui, sans-serif;
    background: linear-gradient(160deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.08) 45%, rgba(255,255,255,.13) 100%), rgba(10,13,18,.55);
    border: calc(var(--s, 1) * 1px) solid rgba(255,255,255,.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.8); backdrop-filter: blur(28px) saturate(1.8);
    border-radius: calc(var(--s, 1) * 28px);
    padding: calc(var(--s, 1) * 32px) calc(var(--s, 1) * 28px) calc(var(--s, 1) * 28px);
    box-shadow: 0 30px 90px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.65), inset 0 -1px 0 rgba(255,255,255,.12);
    color: #fff; box-sizing: border-box; text-align: center;
}
.rc-confirm-card::before { content:""; position:absolute; left:50%; top:calc(var(--s, 1) * -130px); width:calc(var(--s, 1) * 380px); height:calc(var(--s, 1) * 260px); transform:translateX(-50%); background:radial-gradient(closest-side,#3ec5ff,transparent); opacity:.3; pointer-events:none; }
.rc-confirm-card::after { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:radial-gradient(120% 55% at 18% -8%,rgba(255,255,255,.3),transparent 58%); box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 0 0 1px rgba(255,255,255,.12); }
.rc-confirm-card > * { position: relative; z-index: 1; }
.rc-confirm-title { margin: 0 0 calc(var(--s, 1) * 12px); font: 700 calc(var(--s, 1) * 20px) Goldman, 'Chakra Petch', system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; text-wrap: balance; }
.rc-confirm-text { margin: 0 0 calc(var(--s, 1) * 20px); font-size: calc(var(--s, 1) * 14px); line-height: 1.5; color: rgba(255,255,255,.78); text-wrap: balance; }
.rc-confirm-actions { display: flex; gap: calc(var(--s, 1) * 10px); }
.rc-confirm-actions button {
    flex: 1; border-radius: calc(var(--s, 1) * 21px);
    padding: calc(var(--s, 1) * 13px) calc(var(--s, 1) * 16px);
    font-size: calc(var(--s, 1) * 14px); font-weight: 600; cursor: pointer;
    font-family: inherit;
}
.rc-confirm-cancel { background: rgba(255,255,255,.07); color: #fff; border: calc(var(--s, 1) * 1px) solid rgba(255,255,255,.22); }
.rc-confirm-ok { background: linear-gradient(135deg,#3ec5ff,#2472ff 45%,#0b2a7a); color: #fff; border: none; }
.rc-confirm-ok.danger { background: rgba(255,90,106,.12); color: #ff8a96; border: calc(var(--s, 1) * 1px) solid rgba(255,90,106,.3); }
.rc-confirm-input {
    width: 100%; box-sizing: border-box;
    margin: 0 0 calc(var(--s, 1) * 16px);
    padding: calc(var(--s, 1) * 12px);
    border-radius: calc(var(--s, 1) * 12px);
    border: calc(var(--s, 1) * 1px) solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06); color: #fff;
    font-size: max(16px, calc(var(--s, 1) * 16px));   /* 16px+: iPhones don't zoom in on focus */
    font-family: inherit;
}
