/* ==========================================================================
   TUNBRIDGE WELLNESS: SPOTLIGHT & PROMOTIONS MODAL
   Luxury community-first promotion and event boost modal.
   ========================================================================== */

.spotlight-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 24, 33, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.spotlight-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.spotlight-modal-card {
    background: var(--white, #FFFFFF);
    border-radius: var(--radius-lg, 24px);
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(45, 62, 51, 0.22), 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(108, 83, 109, 0.12);
    position: relative;
    padding: 2.25rem 2rem;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.spotlight-modal-overlay.is-open .spotlight-modal-card {
    transform: translateY(0) scale(1);
}

.spotlight-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--text-muted, #5C635E);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
}

.spotlight-modal-close:hover {
    background: rgba(108, 83, 109, 0.08);
    color: var(--forest, #6C536D);
}

.spotlight-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9E7422;
    background: #FCF6E8;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.spotlight-modal-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.9rem;
    line-height: 1.2;
    color: var(--forest, #6C536D);
    margin: 0 0 0.5rem 0;
}

.spotlight-modal-desc {
    color: var(--text-muted, #5C635E);
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0 0 1.5rem 0;
}

.spotlight-event-preview {
    background: #FAF8F5;
    border: 1px solid var(--sand, #E8E2D6);
    border-radius: var(--radius-md, 16px);
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.spotlight-preview-icon {
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spotlight-preview-info {
    flex: 1;
    min-width: 0;
}

.spotlight-preview-title {
    font-weight: 600;
    color: var(--text, #333333);
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2rem;
}

.spotlight-preview-meta {
    font-size: 0.82rem;
    color: var(--text-muted, #5C635E);
}

/* Package Options */
.spotlight-tiers-grid {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.75rem;
}

.spotlight-tier-card {
    border: 2px solid var(--sand, #E8E2D6);
    border-radius: var(--radius-md, 16px);
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white, #FFFFFF);
    position: relative;
}

.spotlight-tier-card:hover {
    border-color: rgba(108, 83, 109, 0.4);
    background: #FAF9F6;
}

.spotlight-tier-card.is-selected {
    border-color: var(--plum, #6C536D);
    background: rgba(108, 83, 109, 0.03);
    box-shadow: 0 4px 16px rgba(108, 83, 109, 0.1);
}

.spotlight-tier-card input[type="radio"] {
    margin-top: 0.3rem;
    accent-color: var(--plum, #6C536D);
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
}

.spotlight-tier-content {
    flex: 1;
}

.spotlight-tier-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.35rem;
}

.spotlight-tier-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--forest, #6C536D);
}

.spotlight-tier-price {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    color: var(--text, #333333);
}

.spotlight-tier-tag {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #EAF3EC;
    color: #2D6A4F;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.spotlight-tier-perks {
    list-style: none;
    margin: 0.5rem 0 0 0;
    padding: 0;
}

.spotlight-tier-perks li {
    font-size: 0.84rem;
    color: var(--text-muted, #5C635E);
    line-height: 1.45;
    position: relative;
    padding-left: 1.15rem;
    margin-top: 0.25rem;
}

.spotlight-tier-perks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4A7B72;
    font-weight: bold;
}

/* Sponsoring Attribution Note */
.spotlight-sponsor-note {
    background: #F4EFE6;
    border-radius: var(--radius-sm, 8px);
    padding: 0.85rem 1rem;
    font-size: 0.84rem;
    color: #4A3E31;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

/* Modal Actions */
.spotlight-modal-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.spotlight-modal-actions .btn-primary {
    flex: 1;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    border-radius: 999px;
    background: var(--plum, #6C536D);
}

.spotlight-modal-actions .btn-primary:hover {
    background: #5A445B;
}

.spotlight-modal-actions .btn-outline {
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
}

/* Spotlight Active Badge for Event Strips */
.spotlight-active-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #FAF3DE;
    color: #8A6412;
    border: 1px solid #ECD798;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Spotlight Scheduled Badge for Future Campaigns */
.spotlight-scheduled-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #E4EFE9;
    color: #2D524B;
    border: 1px solid #B8D5C8;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.btn-spotlight {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #FAF8F5;
    color: var(--forest, #6C536D);
    border: 1px solid rgba(108, 83, 109, 0.3);
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-spotlight:hover {
    background: var(--plum, #6C536D);
    color: #FFFFFF;
    border-color: var(--plum, #6C536D);
    box-shadow: 0 4px 12px rgba(108, 83, 109, 0.2);
}

@media (max-width: 640px) {
    .spotlight-modal-overlay {
        padding: 1rem 0.75rem;
        align-items: flex-end;
    }
    .spotlight-modal-card {
        padding: 1.5rem 1.25rem;
        border-radius: 20px 20px 12px 12px;
        max-height: 88vh;
    }
    .spotlight-modal-title {
        font-size: 1.55rem;
    }
    .spotlight-tier-card {
        padding: 1rem;
    }
    .spotlight-event-preview {
        padding: 0.85rem 1rem;
        margin-bottom: 1.25rem;
    }
    .spotlight-modal-actions {
        flex-direction: column-reverse;
        gap: 0.65rem;
    }
}

/* ==========================================================================
   SPOTLIGHT CHECKOUT & PAYMENT MODAL
   ========================================================================== */
.checkout-order-summary {
    background: #FAF8F5;
    border: 1px solid rgba(74, 123, 114, 0.2);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--text-main, #2D3E33);
}

.checkout-summary-row.subtotal-row {
    color: var(--text-muted, #5C635E);
    font-size: 0.85rem;
}

.checkout-summary-row.total-row {
    border-top: 1px solid rgba(74, 123, 114, 0.25);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #2D524B;
}

.checkout-method-option {
    border: 1.5px solid var(--sand, #E8E2D9);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #FFFFFF;
}

.checkout-method-option:hover {
    border-color: #4A7B72;
    background: #F9FBF9;
}

.checkout-method-option.is-selected {
    border-color: #4A7B72;
    background: rgba(74, 123, 114, 0.05);
    box-shadow: 0 0 0 1px #4A7B72;
}

.checkout-method-radio {
    accent-color: #4A7B72;
    margin-top: 0.25rem;
}

.checkout-method-details {
    flex: 1;
}

.checkout-method-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--forest, #2D3E33);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.checkout-method-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted, #5C635E);
    margin: 0;
}

.card-brand-badge {
    background: #E4EFE9;
    color: #2D524B;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.checkout-new-card-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(74, 123, 114, 0.25);
}

.checkout-new-card-form .full-width {
    grid-column: 1 / -1;
}

.checkout-input-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted, #5C635E);
    margin-bottom: 0.35rem;
}

.checkout-input-group input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--sand, #E8E2D9);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.checkout-input-group input:focus {
    border-color: #4A7B72;
    box-shadow: 0 0 0 2px rgba(74, 123, 114, 0.15);
}

.checkout-security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-muted, #5C635E);
    margin-top: 1.25rem;
    text-align: center;
}

.checkout-error-banner {
    background: #FFF5F5;
    border: 1px solid #E09B9B;
    color: #A34848;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-size: 0.84rem;
    margin-bottom: 1rem;
    display: none;
}

