/* Wolve Loyalty Info Page Styles */
/* Reuse existing CSS variables from my-account.css */

.wolve-loyalty-info {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header Section */
.wolve-loyalty-header {
    text-align: center;
    margin-bottom: 50px;
}

.wolve-loyalty-header .loyalty-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.wolve-loyalty-header .loyalty-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

/* Description Section */
.wolve-loyalty-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Tier Cards Container */
.wolve-tier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

/* Individual Tier Card */
.wolve-tier-card {
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wolve-tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* All tiers have the same black background */
.wolve-tier-card.tier-1,
.wolve-tier-card.tier-2,
.wolve-tier-card.tier-3 {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
}

/* Tier Card Content */
.wolve-tier-card .tier-level {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.wolve-tier-card .tier-name {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #ffffff;
}

.wolve-tier-card .tier-range {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Benefits Table Wrapper */
.wolve-benefits-wrapper {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 50px;
    overflow-x: auto;
}

/* Benefits Table */
.wolve-benefits-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.wolve-benefits-table thead {
    background: #f1f3f5;
}

.wolve-benefits-table th {
    padding: 18px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    border-bottom: 2px solid #e9ecef;
}

.wolve-benefits-table th.benefit-header {
    text-align: left;
    color: #333;
}

.wolve-benefits-table tbody tr {
    transition: background-color 0.2s ease;
}

.wolve-benefits-table tbody tr:hover {
    background-color: #f8f9fa;
}

.wolve-benefits-table tbody tr:not(:last-child) td {
    border-bottom: 1px solid #e9ecef;
}

.wolve-benefits-table td {
    padding: 16px 20px;
    text-align: center;
    color: #1a1a1a;  /* Ensure all table data is dark */
}

.wolve-benefits-table td.benefit-label {
    text-align: left;
    font-weight: 500;
    color: #1a1a1a;  /* Dark color for benefit labels */
    font-size: 0.95rem;
}

.wolve-benefits-table td.benefit-value {
    color: #1a1a1a;  /* Ensure benefit values are dark */
}

/* Checkmarks and Values */
.wolve-benefits-table .checkmark {
    color: #1a1a1a;  /* Black checkmark */
    font-size: 1.3rem;
    font-weight: bold;
    display: inline-block;
    opacity: 1;  /* Ensure fully visible */
    transform: none;  /* No transformations */
}

.wolve-benefits-table .multiplier,
.wolve-benefits-table .benefit-text {
    color: #333;  /* Darker color for better visibility */
    font-weight: 600;
    font-size: 0.95rem;
}

/* Highlight row for first purchase bonus */
.wolve-benefits-table tr.highlight-row {
    background: linear-gradient(90deg, rgba(61, 226, 192, 0.1) 0%, rgba(61, 226, 192, 0.05) 100%);
}

.wolve-benefits-table .highlight-text {
    color: #00a584;  /* Mint green for highlighted text */
    font-weight: 700;
    font-size: 1rem;
}

/* CTA Section */
.wolve-loyalty-cta {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
}

.wolve-loyalty-cta .cta-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    line-height: 1.3;
}

.wolve-cta-button {
    display: inline-block;
    padding: 14px 40px;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.wolve-cta-button:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    text-decoration: none;
}

/* Error Messages */
.wolve-loyalty-error {
    text-align: center;
    padding: 40px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 600px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .wolve-loyalty-info {
        padding: 20px 15px;
    }

    .wolve-loyalty-header .loyalty-title {
        font-size: 2rem;
    }

    .wolve-tier-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wolve-tier-card {
        padding: 25px;
    }

    .wolve-tier-card .tier-name {
        font-size: 1.5rem;
    }

    .wolve-benefits-wrapper {
        padding: 20px 10px;
        border-radius: 8px;
    }

    .wolve-benefits-table {
        font-size: 0.9rem;
    }

    .wolve-benefits-table th,
    .wolve-benefits-table td {
        padding: 12px 10px;
    }

    .wolve-loyalty-cta .cta-title {
        font-size: 1.4rem;
    }

    .wolve-cta-button {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .wolve-benefits-table {
        font-size: 0.85rem;
    }

    .wolve-benefits-table th,
    .wolve-benefits-table td {
        padding: 10px 8px;
    }

    .wolve-benefits-table .checkmark {
        font-size: 1.1rem;
    }
}

/* Print styles */
@media print {
    .wolve-loyalty-info {
        max-width: 100%;
    }

    .wolve-tier-card {
        break-inside: avoid;
    }

    .wolve-benefits-table {
        break-inside: avoid;
    }

    .wolve-cta-button {
        display: none;
    }
}

/* =============================================
   CASHPOINTS-ONLY PROGRAM STYLES
   ============================================= */

/* Cashpoints hero section */
.wolve-cashpoints-hero {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.cashpoints-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: white;
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    max-width: 350px;  /* Reduced from 500px */
    width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cashpoints-title {
    font-size: 18px;  /* Reduced from 24px */
    font-weight: 600;
    margin: 0 0 20px 0;  /* Reduced from 30px */
    color: white;
}

.cashpoints-rate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;  /* Reduced from 10px */
    margin-bottom: 15px;  /* Reduced from 20px */
}

.rate-number {
    font-size: 45px;  /* Reduced from 64px */
    font-weight: bold;
    color: #3de2c0; /* Mint accent color */
}

.rate-label {
    font-size: 14px;  /* Reduced from 18px */
    opacity: 0.9;
}

.points-info {
    font-size: 13px;  /* Reduced from 16px */
    opacity: 0.8;
    margin-top: 15px;  /* Reduced from 20px */
    padding-top: 15px;  /* Reduced from 20px */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}


/* First purchase bonus */
.first-purchase-bonus {
    margin-top: 15px;  /* Reduced from 20px */
    padding: 10px 15px;  /* Reduced from 12px 20px */
    background: rgba(61, 226, 192, 0.2);
    border-radius: 6px;  /* Reduced from 8px */
    display: inline-block;
}

.bonus-tag {
    font-size: 12px;  /* Reduced from 14px */
    color: rgba(255, 255, 255, 0.8);
    margin-right: 6px;  /* Reduced from 8px */
}

.bonus-rate {
    font-size: 14px;  /* Reduced from 18px */
    font-weight: bold;
    color: #3de2c0;
}


/* Responsive adjustments for cashpoints */
@media (max-width: 768px) {
    .cashpoints-card {
        padding: 20px 15px;  /* Reduced proportionally */
    }

    .rate-number {
        font-size: 36px;  /* Reduced proportionally */
    }

    .first-purchase-bonus {
        margin-top: 12px;
        padding: 8px 12px;
    }

    .bonus-rate {
        font-size: 13px;  /* Reduced proportionally */
    }
}