/* 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;
    width: min(calc(var(--s, 1) * 360px), 100%);
    background: #0d1117;
    border: calc(var(--s, 1) * 1px) solid rgba(255,255,255,0.1);
    border-radius: calc(var(--s, 1) * 20px);
    padding: calc(var(--s, 1) * 24px) calc(var(--s, 1) * 22px) calc(var(--s, 1) * 20px);
    box-shadow: 0 calc(var(--s, 1) * 24px) calc(var(--s, 1) * 80px) rgba(0,0,0,0.8);
    color: #fff; box-sizing: border-box;
}
.rc-confirm-title { margin: 0 0 calc(var(--s, 1) * 8px); font-size: calc(var(--s, 1) * 18px); font-weight: 800; }
.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,0.6); }
.rc-confirm-actions { display: flex; gap: calc(var(--s, 1) * 10px); }
.rc-confirm-actions button {
    flex: 1; border-radius: calc(var(--s, 1) * 12px);
    padding: calc(var(--s, 1) * 13px) 0;
    font-size: calc(var(--s, 1) * 15px); font-weight: 800; cursor: pointer;
    font-family: inherit;
}
.rc-confirm-cancel { background: rgba(255,255,255,0.08); color: #fff; border: calc(var(--s, 1) * 1px) solid rgba(255,255,255,0.12); }
.rc-confirm-ok { background: linear-gradient(180deg,#60b6ff,#2b6cff); color: #fff; border: none; }
.rc-confirm-ok.danger { background: linear-gradient(180deg,#ff6b6b,#e0302f); }
.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;
}
