/* Subscribe & Save confirmation prompt - see js/subscription-confirm.js.
   Colours/fonts match the My Account subscription buttons (my-account.css). */

.nibble-sub-confirm[hidden] {
    display: none;
}

.nibble-sub-confirm {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 16px;
    position: fixed;
    z-index: 100000;
}

.nibble-sub-confirm__backdrop {
    background: rgba(16, 36, 86, 0.6);
    inset: 0;
    position: absolute;
}

.nibble-sub-confirm__box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    max-width: 420px;
    padding: 28px 24px 24px;
    position: relative;
    text-align: center;
    width: 100%;
}

.nibble-sub-confirm__message {
    color: #102456;
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 22px;
}

.nibble-sub-confirm__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.nibble-sub-confirm__yes,
.nibble-sub-confirm__no {
    border: 2px solid #f8dc54;
    border-radius: 4px;
    cursor: pointer;
    font-family: "bikobold", sans-serif;
    font-size: 15px;
    padding: 12px 22px;
    text-transform: uppercase;
}

.nibble-sub-confirm__yes {
    background: #f8dc54;
    color: #102456;
}

.nibble-sub-confirm__no {
    background: #fff;
    color: #102456;
}

.nibble-sub-confirm__yes:hover,
.nibble-sub-confirm__yes:focus-visible {
    background: #102456;
    border-color: #102456;
    color: #fff;
}

.nibble-sub-confirm__no:hover,
.nibble-sub-confirm__no:focus-visible {
    border-color: #102456;
}

.nibble-sub-confirm-open,
.nibble-sub-confirm-open body {
    overflow: hidden;
}

@media (max-width: 480px) {
    .nibble-sub-confirm__actions > button {
        flex: 1 1 100%;
    }
}

/* "Auto renews. Cancel, pause, skip" label next to Subscribe & Save. The
   base rule in style.css fixes it at 80px wide, sized for the old, shorter
   "Cancel, Pause, Skip". Kept here rather than in style.css, which is
   enqueued with a fixed version number and so can stay cached. */
.wcsatt-options-prompt-action-info {
    width: 118px;
    padding-right: 12px; /* clear of the ⓘ badge in the top-right corner */
}

@media (max-width: 768px) {
    .wcsatt-options-prompt-action-info {
        font-size: 14px;
    }
}
