/* PremiumBadge: variant that sits inside another control (e.g. the display mode button). */
.sph-premium-badge-compact {
    min-width: 52px;
    padding: 2px 4px !important;
    justify-content: center;
    border-radius: 100px !important;
}

/*
   PremiumInfo. Spacing in px as in the design: the theme's spacing utilities are not Bootstrap's
   (py-2 is 12px, pt-3 is 24px), so they cannot be used here.
*/
.sph-premium-info {
    gap: 8px;
}

.sph-premium-info-text {
    gap: 8px;
    padding: 0 8px;
}

.sph-premium-info-notice {
    padding: 8px 24px !important;
    border: 1px solid var(--sph-color-warning-600) !important;
    border-radius: 8px !important;
}

.sph-premium-info-action {
    padding: 16px 0 8px;
}

.sph-premium-info-button {
    min-height: 48px;
    border-radius: 8px !important;
}

/*
   PremiumBadge modal. The Modal sets its width as a percentage of the window (mw-*), but the design is a
   fixed 612px card with 16px padding and 8px between the title row and the content.
*/
.sph-premium-modal .modal-dialog {
    max-width: 612px !important;
}

.sph-premium-modal .modal-content {
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.sph-premium-modal .modal-header {
    padding: 0;
}

.sph-premium-modal .modal-header .row {
    margin: 0 !important;
}

.sph-premium-modal .sph-modal-header-col {
    margin-top: 0 !important;
    padding: 0 !important;
}

.sph-premium-modal .sph-modal-header-row {
    padding: 0 !important;
}

.sph-premium-modal .modal-body {
    padding: 8px 0 0;
}

.sph-premium-modal .sph-modal-title {
    display: flex;
    align-items: center;
}

.sph-premium-modal .btn-close {
    margin: 0;
    padding: 0;
    font-size: 24px !important;
}
