/**
 * MembersUp Core — confirmation dialog styles.
 * Self-contained (fixed colors, no CSS-var dependency) so it looks the same
 * in wp-admin and on the front end, where brand variables may not be loaded.
 */

.mbrup-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none; /* JS sets flex when shown */
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

.mbrup-confirm-box {
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 420px;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    text-align: center;
    font-family: inherit;
}

.mbrup-confirm-message {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #1a1a1a;
}

.mbrup-confirm-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.mbrup-confirm-btn {
    padding: 8px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}

.mbrup-confirm-no {
    background: #f0f0f0;
    border-color: #ccc;
    color: #1a1a1a;
}

.mbrup-confirm-yes {
    background: #2271b1;
    color: #fff;
}

/* Destructive: the confirm button reads as danger. */
.mbrup-confirm-destructive .mbrup-confirm-yes {
    background: #b32d2e;
}

.mbrup-confirm-btn:focus-visible {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}
