/* MusicBank Subscriptions — subscribe widget & paywall styles */

/* Subscribe widget */
.mbs-subscribe-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mbs-widget-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #222;
}

/* Current subscription display */
.mbs-current-sub {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 16px;
}

.mbs-current-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin-bottom: 6px;
}

.mbs-current-tier {
    font-size: 14px !important;
    padding: 5px 14px !important;
    margin-bottom: 8px;
    display: inline-block;
}

.mbs-next-bill,
.mbs-canceled-notice {
    font-size: 12px;
    color: #888;
    margin: 6px 0;
}

.mbs-manage {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Tier list */
.mbs-tier-list { margin-top: 8px; }
.mbs-hidden { display: none !important; }

.mbs-tier-option {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
    transition: border-color 0.15s, background 0.15s;
}

.mbs-tier-option:hover { border-color: #e1306c; }
.mbs-tier-option.mbs-current { border-color: #e1306c; background: #fff5f8; }

.mbs-tier-option-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.mbs-tier-price {
    font-weight: 700;
    font-size: 15px;
    color: #222;
}

.mbs-tier-desc {
    font-size: 12px;
    color: #888;
    margin: 0 0 10px;
    line-height: 1.4;
}

.mbs-tier-perks {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    font-size: 12px;
    color: #555;
    line-height: 1.5;
}

.mbs-tier-perks li::before {
    content: '✓ ';
    color: #e1306c;
    font-weight: 700;
}

.mbs-tier-option .mb-btn { width: 100%; text-align: center; }

.mbs-no-plans { color: #aaa; font-size: 14px; }

/* Payment form */
.mbs-payment-form {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 14px;
    margin-top: 8px;
}

.mbs-selected-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.mbs-selected-tier-name { font-weight: 700; }
.mbs-selected-price { font-size: 14px; color: #888; }
.mbs-back-btn { margin-left: auto; font-size: 12px; }

.mbs-card-element {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 12px;
    margin: 10px 0;
    background: #fff;
    min-height: 40px;
}

.mbs-billing-field {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
    margin-top: 8px;
}

.mbs-billing-row {
    display: flex;
    gap: 8px;
}

.mbs-billing-row .mbs-billing-field { margin-top: 8px; }

.mbs-field { margin: 10px 0; }
.mbs-coupon {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
}

.mbs-secure-note {
    font-size: 11px;
    color: #aaa;
    text-align: center;
    margin-top: 8px;
}

/* Message */
.mbs-message {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
}

/* Tier counts (subscribers tab) */
.mbs-sub-counts {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.mbs-count-box {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 16px 12px;
    border-radius: 10px;
    border: 2px solid transparent;
}

.mbs-tier-free   { border-color: #a5d6a7; background: #f1f8e9; }
.mbs-tier-bronze { border-color: #ffab91; background: #fbe9e7; }
.mbs-tier-silver { border-color: #b0bec5; background: #eceff1; }
.mbs-tier-gold   { border-color: #ffe082; background: #fff8e1; }

.mbs-count-number { display: block; font-size: 28px; font-weight: 800; }
.mbs-count-label  { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #888; margin-top: 2px; }

/* Paywall overlay */
.mbs-paywall-overlay {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    color: #fff;
    position: relative;
    margin: 16px 0;
}

.mbs-paywall-icon { font-size: 48px; display: block; margin-bottom: 16px; }

.mbs-paywall-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mbs-paywall-text {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    max-width: 400px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.mbs-paywall-login {
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.mbs-paywall-login a { color: rgba(255,255,255,0.9); text-decoration: underline; }

/* My Subscriptions dashboard [mb_my_subscriptions] */
.mbs-my-subs { display: flex; flex-direction: column; gap: 12px; }

.mbs-my-subs-empty {
    color: #888;
    font-size: 14px;
}

.mbs-my-sub-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fff;
}

.mbs-my-sub-row.mbs-sub-status-canceled { opacity: 0.7; }

.mbs-my-sub-thumb { flex-shrink: 0; }
.mbs-my-sub-thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; display: block; }

.mbs-my-sub-info { flex: 1; min-width: 0; }

.mbs-my-sub-band {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: #111;
    text-decoration: none;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mbs-my-sub-band:hover { color: #e1306c; }

.mbs-my-sub-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.mbs-my-sub-status { font-size: 12px; color: #888; }
.mbs-status-canceled { color: #c62828; }

.mbs-my-sub-action { flex-shrink: 0; }

/* Tier badge colors — new tier names */
.mb-tier-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 9px;
    border-radius: 20px;
}
.mb-tier-free      { background: #e8f5e9; color: #2e7d32; }
.mb-tier-fan       { background: #fbe9e7; color: #bf360c; }
.mb-tier-supporter { background: #eceff1; color: #455a64; }
.mb-tier-superfan  { background: #fff8e1; color: #f57f17; }
.mb-tier-platinum  { background: #f3e5f5; color: #6a1b9a; }
