/**
 * Loyalty Program - Styles
 *
 * @package TUH_Account
 * @since 4.0.0
 */

/* Container */
.tuh-loyalty {
    max-width: 900px;
    margin: 0 auto;
}

/* Light mode hardening for dark-first palettes (e.g. Purple Night). */
.tuh-async-dashboard[data-theme="light"] .tuh-loyalty,
.tuh-wc-content[data-theme="light"] .tuh-loyalty,
body[data-theme="light"] .tuh-spa-wrapper .tuh-loyalty {
    --tuh-card-bg: #ffffff;
    --tuh-bg-secondary: #f8fafc;
    --tuh-card-border: #e5e7eb;
    --tuh-text-primary: #111827;
    --tuh-text-secondary: #4b5563;
    --tuh-text-muted: #6b7280;
}

/* Header */
.tuh-loyalty-header {
    padding: 24px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--tuh-primary-alpha-10, rgba(124, 58, 237, 0.12)) 0%, var(--tuh-card-bg, #ffffff) 60%);
    border: 1px solid var(--tuh-card-border, #e5e7eb);
    border-radius: var(--tuh-radius, 16px);
    color: var(--tuh-text-primary, #1a1a1a);
    box-shadow: var(--tuh-shadow-sm, none);
}

.tuh-loyalty-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tuh-balance-points {
    display: flex;
    flex-direction: column;
}

.tuh-balance-value {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--tuh-primary, #7c3aed);
}

.tuh-balance-label {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 4px;
    color: var(--tuh-text-secondary, #4b5563);
}

.tuh-balance-tier {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--tuh-primary-alpha-10, rgba(124, 58, 237, 0.12));
    border: 1px solid var(--tuh-primary-alpha-20, rgba(124, 58, 237, 0.2));
    border-radius: 999px;
    font-weight: 600;
    color: var(--tuh-primary, #7c3aed);
}

.tuh-balance-tier.tuh-tier-silver {
    background: rgba(148, 163, 184, 0.15);
    border-color: rgba(148, 163, 184, 0.35);
    color: #64748b;
}

.tuh-balance-tier.tuh-tier-gold {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.35);
    color: #b45309;
}

.tuh-balance-tier.tuh-tier-platinum {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.35);
    color: #0891b2;
}

/* Progress */
.tuh-tier-progress {
    padding-top: 16px;
    border-top: 1px solid var(--tuh-card-border, #e5e7eb);
}

.tuh-loyalty .tuh-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--tuh-text-secondary, #4b5563);
}

.tuh-loyalty .tuh-progress-bar {
    height: 6px;
    background: var(--tuh-card-border, #e5e7eb);
    border-radius: 999px;
    overflow: hidden;
}

.tuh-loyalty .tuh-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--tuh-primary, #7c3aed) 0%, var(--tuh-primary-hover, #6d28d9) 100%);
    border-radius: inherit;
    transition: width 0.5s ease;
}

/* Tiers Section */
.tuh-loyalty-tiers {
    margin-bottom: 32px;
}

.tuh-loyalty-tiers h3 {
    margin: 0 0 16px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--tuh-text-primary, #1a1a1a);
}

.tuh-tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.tuh-tier-card {
    padding: 20px;
    background: var(--tuh-card-bg, var(--surface, #fff));
    border: 1px solid var(--tuh-card-border, var(--border, #e5e7eb));
    border-radius: var(--tuh-radius, 12px);
    box-shadow: var(--tuh-shadow-sm, none);
    transition: all 0.2s ease;
}

.tuh-tier-card.active {
    border-color: var(--tuh-primary, #7c3aed);
    background: var(--tuh-primary-alpha-10, rgba(124, 58, 237, 0.1));
    box-shadow: var(--tuh-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));
}

.tuh-tier-card.locked {
    opacity: 0.6;
}

.tuh-tier-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.tuh-tier-card.tuh-tier-bronze .tuh-tier-header svg {
    color: #b45309;
}

.tuh-tier-card.tuh-tier-silver .tuh-tier-header svg {
    color: #64748b;
}

.tuh-tier-card.tuh-tier-gold .tuh-tier-header svg {
    color: #f59e0b;
}

.tuh-tier-card.tuh-tier-platinum .tuh-tier-header svg {
    color: #0891b2;
}

.tuh-tier-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.tuh-tier-badge {
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--tuh-primary, #7c3aed);
    background: var(--tuh-primary-alpha-10, rgba(124, 58, 237, 0.1));
    border: 1px solid var(--tuh-primary-alpha-20, rgba(124, 58, 237, 0.2));
    border-radius: 999px;
}

.tuh-tier-threshold {
    margin: 0 0 12px 0;
    font-size: 0.75rem;
    color: var(--tuh-text-secondary, #4b5563);
}

.tuh-tier-benefits {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tuh-tier-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 0.8rem;
    color: var(--tuh-text-secondary, #3f4752);
}

.tuh-tier-benefits li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--tuh-success, #10b981);
}

/* Redeem Section */
.tuh-loyalty-redeem {
    margin-bottom: 32px;
}

.tuh-loyalty-redeem h3 {
    margin: 0 0 16px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--tuh-text-primary, #1a1a1a);
}

.tuh-redeem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.tuh-redeem-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: var(--tuh-card-bg, var(--surface, #fff));
    border: 1px solid var(--tuh-card-border, var(--border, #e5e7eb));
    border-radius: var(--tuh-radius, 12px);
    text-align: center;
    box-shadow: var(--tuh-shadow-sm, none);
    transition: all 0.2s ease;
}

.tuh-redeem-card:not(.disabled):hover {
    border-color: var(--tuh-primary, #7c3aed);
    box-shadow: var(--tuh-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));
}

.tuh-redeem-card.disabled {
    opacity: 0.6;
}

.tuh-redeem-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    background: var(--tuh-primary-alpha-10, rgba(124, 58, 237, 0.1));
    border-radius: 50%;
    color: var(--tuh-primary, #7c3aed);
}

.tuh-redeem-info {
    margin-bottom: 16px;
}

.tuh-redeem-info h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--tuh-text-primary, #1a1a1a);
}

.tuh-redeem-cost {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    font-size: 0.85rem;
    color: var(--tuh-text-secondary, #4b5563);
}

.tuh-redeem-cost svg {
    color: var(--tuh-warning, #f59e0b);
}

.tuh-redeem-btn {
    width: 100%;
}

/* History */
.tuh-loyalty-history {
    padding: 24px;
    background: var(--tuh-card-bg, var(--surface, #fff));
    border: 1px solid var(--tuh-card-border, var(--border, #e5e7eb));
    border-radius: var(--tuh-radius, 16px);
    box-shadow: var(--tuh-shadow-sm, none);
}

.tuh-loyalty-history h3 {
    margin: 0 0 16px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--tuh-text-primary, #1a1a1a);
}

.tuh-loyalty .tuh-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tuh-loyalty .tuh-history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--tuh-bg-secondary, var(--bg-subtle, #f9fafb));
    border: 1px solid var(--tuh-card-border, var(--border, #e5e7eb));
    border-radius: 10px;
}

.tuh-loyalty .tuh-history-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.tuh-loyalty .tuh-history-item.earn .tuh-history-icon {
    background: var(--tuh-success-alpha-10, rgba(16, 185, 129, 0.1));
    color: var(--tuh-success, #10b981);
}

.tuh-loyalty .tuh-history-item.redeem .tuh-history-icon {
    background: var(--tuh-warning-alpha-10, rgba(245, 158, 11, 0.1));
    color: var(--tuh-warning, #f59e0b);
}

.tuh-loyalty .tuh-history-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tuh-loyalty .tuh-history-reason {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--tuh-text-primary, #1a1a1a);
}

.tuh-loyalty .tuh-history-date {
    font-size: 0.75rem;
    color: var(--tuh-text-secondary, #4b5563);
}

.tuh-loyalty .tuh-history-points {
    font-size: 1rem;
    font-weight: 700;
}

.tuh-loyalty .tuh-history-points.positive {
    color: var(--tuh-success, #10b981);
}

.tuh-loyalty .tuh-history-points.negative {
    color: var(--tuh-text-secondary, #4b5563);
}

/* Buttons — SPA selector (.tuh-section prefix) beats spa-classic reset:
   html body .tuh-spa-wrapper .tuh-async-dashboard button (0,2,3)
   .tuh-section .tuh-loyalty .tuh-btn → 0,3,0
   Classic selector (.tuh-loyalty only) works because SPA reset doesn't apply */
.tuh-loyalty .tuh-btn,
.tuh-section .tuh-loyalty .tuh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    border: none;
    border-radius: var(--tuh-radius-sm, 8px);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tuh-loyalty .tuh-btn-primary,
.tuh-section .tuh-loyalty .tuh-btn-primary {
    color: #fff;
    background: var(--tuh-primary, #7c3aed);
    background-color: var(--tuh-primary, #7c3aed);
}

.tuh-loyalty .tuh-btn-primary:hover:not(:disabled),
.tuh-section .tuh-loyalty .tuh-btn-primary:hover:not(:disabled) {
    background: var(--tuh-primary-hover, #6d28d9);
    background-color: var(--tuh-primary-hover, #6d28d9);
}

.tuh-loyalty .tuh-btn:disabled,
.tuh-section .tuh-loyalty .tuh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--tuh-card-border, #e5e7eb);
    background-color: var(--tuh-card-border, #e5e7eb);
    color: var(--tuh-text-muted, #6b7280);
}

/* Toast — z-index: toast layer (1100) to float above SPA overlays */
.tuh-loyalty-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 1100;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    background: #1f2937;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-width: 90vw;
    text-align: center;
}

.tuh-loyalty-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.tuh-loyalty-toast.success {
    background: var(--tuh-success, #10b981);
}

.tuh-loyalty-toast.error {
    background: var(--tuh-error, #ef4444);
}

/* Thank you notice */
.tuh-loyalty-earned-notice {
    margin: 20px 0;
    padding: 16px;
    background: var(--tuh-success-alpha-10, rgba(16, 185, 129, 0.1));
    border: 1px solid var(--tuh-success-alpha-20, rgba(16, 185, 129, 0.2));
    border-radius: 10px;
    color: var(--tuh-success, #10b981);
}

@media (max-width: 900px) {
    .tuh-loyalty {
        max-width: 100%;
    }

    .tuh-loyalty-balance {
        flex-wrap: wrap;
        gap: 12px;
    }

    .tuh-loyalty .tuh-progress-info {
        flex-wrap: wrap;
        gap: 6px 10px;
    }

    .tuh-tier-card {
        min-width: 0;
    }

    .tuh-tier-benefits li {
        overflow-wrap: anywhere;
    }

    .tuh-redeem-btn {
        min-height: 44px;
    }

    .tuh-loyalty .tuh-history-item {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .tuh-loyalty .tuh-history-info {
        min-width: 0;
    }

    .tuh-loyalty .tuh-history-reason {
        overflow-wrap: anywhere;
    }

    .tuh-loyalty .tuh-history-points {
        white-space: nowrap;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .tuh-tiers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tuh-loyalty-header {
        padding: 20px;
    }

    .tuh-balance-value {
        font-size: 2.75rem;
    }

    .tuh-loyalty-redeem h3,
    .tuh-loyalty-tiers h3,
    .tuh-loyalty-history h3 {
        font-size: 1rem;
    }

    .tuh-redeem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tuh-tier-card {
        padding: 16px;
    }

    .tuh-tier-header h4 {
        font-size: 0.95rem;
    }

    .tuh-tier-benefits li {
        font-size: 0.75rem;
    }
}

@media (max-width: 640px) {
    .tuh-loyalty-header {
        padding: 20px;
    }

    .tuh-loyalty-balance {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .tuh-balance-value {
        font-size: 2rem;
    }

    .tuh-tiers-grid {
        grid-template-columns: 1fr;
    }

    .tuh-redeem-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Enrollment Page
   ========================================== */

.tuh-loyalty-enroll-page {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tuh-loyalty-enroll-page .tuh-enroll-hero {
    padding: 48px 24px;
    margin-bottom: 32px;
    background: linear-gradient(135deg, var(--tuh-primary-alpha-10, rgba(124, 58, 237, 0.12)) 0%, var(--tuh-card-bg, #ffffff) 65%);
    border-radius: 20px;
    border: 1px solid var(--tuh-card-border, #e5e7eb);
    box-shadow: var(--tuh-shadow-sm, none);
}

.tuh-loyalty-enroll-page .tuh-enroll-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--tuh-primary, #7c3aed);
    border-radius: 50%;
    color: #fff;
}

.tuh-loyalty-enroll-page .tuh-enroll-hero h2 {
    margin: 0 0 8px 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--tuh-text-primary, #1a1a1a);
}

.tuh-loyalty-enroll-page .tuh-enroll-hero p {
    margin: 0;
    font-size: 1rem;
    color: var(--tuh-text-secondary, #6b7280);
}

.tuh-loyalty-enroll-page .tuh-enroll-benefits {
    margin-bottom: 32px;
}

.tuh-loyalty-enroll-page .tuh-enroll-benefits h3 {
    margin: 0 0 20px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tuh-text-primary, var(--text, #e5e5e5));
}

.tuh-loyalty-enroll-page .tuh-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tuh-loyalty-enroll-page .tuh-benefit-card {
    padding: 24px;
    background: var(--tuh-card-bg, var(--surface, #1e1e1e));
    border: 1px solid var(--tuh-card-border, var(--border, #333));
    border-radius: var(--tuh-radius, 12px);
    box-shadow: var(--tuh-shadow-sm, none);
}

.tuh-loyalty-enroll-page .tuh-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    background: var(--tuh-primary-alpha-10, rgba(124, 58, 237, 0.12));
    border-radius: 50%;
    color: var(--tuh-primary, #7c3aed);
}

.tuh-loyalty-enroll-page .tuh-benefit-card h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--tuh-text-primary, var(--text, #e5e5e5));
}

.tuh-loyalty-enroll-page .tuh-benefit-card p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--tuh-text-secondary, var(--text-secondary, #aaa));
}

/* Tiers Preview */
.tuh-loyalty-enroll-page .tuh-enroll-tiers {
    margin-bottom: 32px;
}

.tuh-loyalty-enroll-page .tuh-enroll-tiers h3 {
    margin: 0 0 20px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tuh-text-primary, var(--text, #e5e5e5));
}

.tuh-loyalty-enroll-page .tuh-tiers-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tuh-loyalty-enroll-page .tuh-tier-preview {
    padding: 20px 16px;
    background: var(--tuh-card-bg, var(--surface, #1e1e1e));
    border: 1px solid var(--tuh-card-border, var(--border, #333));
    border-radius: var(--tuh-radius, 12px);
    box-shadow: var(--tuh-shadow-sm, none);
}

.tuh-loyalty-enroll-page .tuh-tier-preview-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    border-radius: 50%;
    font-size: 1.25rem;
}

.tuh-loyalty-enroll-page .tuh-tier-preview-icon.tier-bronze { background: #CD7F3220; color: #CD7F32; }
.tuh-loyalty-enroll-page .tuh-tier-preview-icon.tier-silver { background: #C0C0C020; color: #A0A0A0; }
.tuh-loyalty-enroll-page .tuh-tier-preview-icon.tier-gold { background: #FFD70020; color: #DAA520; }
.tuh-loyalty-enroll-page .tuh-tier-preview-icon.tier-platinum { background: #E5E4E220; color: #8B8B8B; }

.tuh-loyalty-enroll-page .tuh-tier-preview-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tuh-text-primary, var(--text, #e5e5e5));
    margin-bottom: 4px;
}

.tuh-loyalty-enroll-page .tuh-tier-preview-points {
    display: block;
    font-size: 0.8rem;
    color: var(--tuh-text-muted, var(--text-secondary, #888));
}

/* CTA */
.tuh-loyalty-enroll-page .tuh-enroll-cta {
    padding: 32px;
    margin-bottom: 32px;
    background: linear-gradient(135deg, var(--tuh-primary, #7c3aed) 0%, var(--tuh-primary-hover, #6d28d9) 100%);
    border-radius: 16px;
    box-shadow: var(--tuh-shadow-md, 0 6px 20px rgba(0, 0, 0, 0.12));
}

/* Enrollment button — .tuh-section prefix beats spa-classic button reset (0,2,3) */
.tuh-loyalty-enroll-page .tuh-enroll-btn,
.tuh-section .tuh-loyalty-enroll-page .tuh-enroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    margin-bottom: 12px;
    background: #fff;
    background-color: #fff;
    color: var(--tuh-primary, #7c3aed);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.tuh-loyalty-enroll-page .tuh-enroll-btn:hover,
.tuh-section .tuh-loyalty-enroll-page .tuh-enroll-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tuh-loyalty-enroll-page .tuh-enroll-btn:disabled,
.tuh-loyalty-enroll-page .tuh-enroll-btn.loading,
.tuh-section .tuh-loyalty-enroll-page .tuh-enroll-btn:disabled,
.tuh-section .tuh-loyalty-enroll-page .tuh-enroll-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.tuh-loyalty-enroll-page .tuh-enroll-note {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

/* How It Works */
.tuh-loyalty-enroll-page .tuh-enroll-howto {
    text-align: left;
    margin-bottom: 24px;
}

.tuh-loyalty-enroll-page .tuh-enroll-howto h3 {
    margin: 0 0 24px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tuh-text-primary, var(--text, #e5e5e5));
    text-align: center;
}

.tuh-loyalty-enroll-page .tuh-howto-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 40px;
}

.tuh-loyalty-enroll-page .tuh-howto-timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: var(--tuh-card-border, var(--border, #333));
}

.tuh-loyalty-enroll-page .tuh-timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    position: relative;
}

.tuh-loyalty-enroll-page .tuh-timeline-number {
    position: absolute;
    left: -40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: var(--tuh-primary, #7c3aed);
    border-radius: 50%;
    z-index: 1;
}

.tuh-loyalty-enroll-page .tuh-timeline-content h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--tuh-text-primary, var(--text, #e5e5e5));
}

.tuh-loyalty-enroll-page .tuh-timeline-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--tuh-text-secondary, var(--text-secondary, #aaa));
}

/* Enrollment - Responsive Tablet */
@media (max-width: 768px) {
    .tuh-loyalty-enroll-page .tuh-enroll-hero {
        padding: 32px 20px;
    }

    .tuh-loyalty-enroll-page .tuh-enroll-hero h2 {
        font-size: 1.4rem;
    }

    .tuh-loyalty-enroll-page .tuh-enroll-icon {
        width: 64px;
        height: 64px;
    }

    .tuh-loyalty-enroll-page .tuh-benefit-card {
        padding: 16px;
    }

    .tuh-loyalty-enroll-page .tuh-tiers-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Enrollment - Responsive Mobile */
@media (max-width: 640px) {
    .tuh-loyalty-enroll-page .tuh-benefits-grid {
        grid-template-columns: 1fr;
    }

    .tuh-loyalty-enroll-page .tuh-tiers-preview {
        grid-template-columns: repeat(2, 1fr);
    }

    .tuh-loyalty-enroll-page .tuh-enroll-hero {
        padding: 24px 16px;
    }

    .tuh-loyalty-enroll-page .tuh-enroll-hero h2 {
        font-size: 1.25rem;
    }

    .tuh-loyalty-enroll-page .tuh-enroll-icon {
        width: 56px;
        height: 56px;
    }

    .tuh-loyalty-enroll-page .tuh-enroll-cta {
        padding: 20px 16px;
    }

    .tuh-loyalty-enroll-page .tuh-benefit-icon {
        width: 44px;
        height: 44px;
    }

    .tuh-loyalty-enroll-page .tuh-benefit-card h4 {
        font-size: 0.95rem;
    }

    .tuh-loyalty-enroll-page .tuh-benefit-card p {
        font-size: 0.8rem;
    }

    .tuh-loyalty-enroll-page .tuh-howto-timeline {
        padding-left: 28px;
    }

    .tuh-loyalty-enroll-page .tuh-howto-timeline::before {
        left: 9px;
    }

    .tuh-loyalty-enroll-page .tuh-timeline-number {
        left: -28px;
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }

    .tuh-loyalty-enroll-page .tuh-timeline-content h4 {
        font-size: 0.9rem;
    }

    .tuh-loyalty-enroll-page .tuh-timeline-content p {
        font-size: 0.8rem;
    }

    .tuh-loyalty-enroll-page .tuh-enroll-benefits h3,
    .tuh-loyalty-enroll-page .tuh-enroll-tiers h3,
    .tuh-loyalty-enroll-page .tuh-enroll-howto h3 {
        font-size: 1.1rem;
    }
}

/* Enrollment - Responsive Extra Small */
@media (max-width: 360px) {
    .tuh-loyalty-enroll-page .tuh-enroll-hero h2 {
        font-size: 1.1rem;
    }

    .tuh-loyalty-enroll-page .tuh-enroll-hero p {
        font-size: 0.85rem;
    }

    .tuh-loyalty-enroll-page .tuh-howto-timeline {
        padding-left: 24px;
    }

    .tuh-loyalty-enroll-page .tuh-timeline-number {
        left: -24px;
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }

    .tuh-loyalty-enroll-page .tuh-howto-timeline::before {
        left: 7px;
    }

    .tuh-loyalty-enroll-page .tuh-tiers-preview {
        grid-template-columns: 1fr;
    }
}
