/* ==========================================================================
   Our own "Are you sure?" popup (js/confirm.js), instead of the browser's.
   Colours (named, with these defaults; the admin and Team apps set their own in css/admin/brand.css):
   ink #1C1530 · purple #5B21B6 · border #E2D4F7 · dim rgba(28, 21, 48, 0.45)
   ========================================================================== */

.confirm-sheet {
    width: 100%;
    max-width: 480px;
    margin: auto auto 0;
    padding: 0;
    border: 0;
    border-radius: 22px 22px 0 0;
    background: #FFFFFF;
    color: var(--confirm-text, #1C1530);
}

.confirm-sheet::backdrop {
    background: rgba(28, 21, 48, 0.45);
}

@media (min-width: 700px) {
    .confirm-sheet {
        margin: auto;
        border-radius: 22px;
    }
}

.confirm-sheet__panel {
    padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.confirm-sheet__text {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}

.confirm-sheet__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.confirm-sheet__no,
.confirm-sheet__yes {
    height: 50px;
    border-radius: 14px;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.confirm-sheet__no {
    border: 1.5px solid var(--confirm-border, #E2D4F7);
    background: #FFFFFF;
    color: var(--confirm-text, #1C1530);
}

.confirm-sheet__yes {
    border: 0;
    background: var(--confirm-yes, #5B21B6);
    color: #FFFFFF;
}
