/* MBS Membership Styles */

.mbs-membership-teaser {
    background: #fbf9f4;
    padding: 3rem;
    border-radius: 20px;
    border: 2px dashed rgba(212, 175, 55, 0.3);
    text-align: center;
    margin: 2rem 0;
}

.teaser-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mbs-membership-teaser h3 {
    margin: 0 0 1rem;
    color: var(--color-accent-gold, #D4AF37);
}

.mbs-membership-teaser p {
    color: #666;
    margin-bottom: 2rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.btn-join {
    background: var(--color-accent-gold, #D4AF37);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
}

/* Pricing Table */
.mbs-pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pricing-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    position: relative;
}

/* Both .highlight (plugin HTML) and .featured (legacy) are styled the same */
.pricing-card.featured,
.pricing-card.highlight {
    border: 2px solid var(--color-accent-gold, #D4AF37);
    transform: scale(1.04);
    background: #fffcf0;
    box-shadow: 0 20px 50px rgba(184, 150, 46, 0.18);
    z-index: 2;
}

/* AJAX Responses */
.mbsm-success, .mbs-newsletter-response.mbsm-success {
    color: #27ae60;
    margin-top: 10px;
    font-weight: 600;
}

.mbsm-error, .mbs-newsletter-response.mbsm-error {
    color: #e74c3c;
    margin-top: 10px;
    font-weight: 600;
}

.mbs-header-auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mbs-auth-btn {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 5px;
}

.login-btn, .dashboard-btn {
    color: var(--color-text-main, #3E362E);
}

.signup-btn {
    background: var(--color-accent-gold, #D4AF37);
    color: #fff !important;
}

.signup-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tier-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

.price span {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    text-align: left;
}

.features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-bg-mist);
    font-size: 0.95rem;
    color: var(--color-text-main);
}

.features li::before {
    content: "✓";
    color: var(--color-secondary, #B8962E);
    margin-right: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Dimmed (unavailable) feature items */
.features li.dimmed {
    color: #bbb;
    opacity: 0.65;
}

.features li.dimmed::before {
    content: "–";
    color: #ccc;
}

/* Tier emoji icon */
.tier-icon {
    display: block;
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
}

/* Price subtext */
.price-sub {
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 1.8rem;
    line-height: 1.4;
}

.btn-tier {
    display: block;
    padding: 12px;
    border-radius: 8px;
    background: var(--color-bg-mist);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-tier.gold {
    background: var(--color-secondary);
    color: var(--color-white);
}


.btn-tier:hover {
    filter: brightness(0.9);
}

/* =====================================================
   MEMBERSHIP MOBILE RESPONSIVENESS
   ===================================================== */

/* Tablet */
@media (max-width: 991px) {
    .mbs-pricing-table {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-card.featured,
    .pricing-card.highlight { transform: none; }
}

/* Mobile */
@media (max-width: 767px) {
    .mbs-pricing-table {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .price { font-size: 2.4rem; }

    .mbs-header-auth-buttons {
        gap: 8px;
    }

    .mbs-auth-btn {
        font-size: 0.8rem;
        padding: 7px 12px;
    }

    /* Checkout modal */
    .mbs-checkout-container {
        width: 95% !important;
        padding: 1.5rem 1rem !important;
        border-radius: 16px !important;
    }

    .mbs-membership-teaser {
        padding: 2rem 1.2rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .pricing-card { padding: 1.5rem 1rem; }
    .price { font-size: 2rem; }
    .features li { font-size: 0.85rem; }
    .btn-tier { padding: 10px; font-size: 0.9rem; }

    /* Login/signup header buttons → icon only on tiny screens */
    .mbs-auth-btn .btn-label { display: none; }
}

