/**
 * Hisense Membership Account Page Styles
 * 
 * @package Hisense_Membership
 * @since 2.0.0
 */

/* ==========================================================================
   Main Container
   ========================================================================== */


/* ==========================================================================
   Current Membership Overview Styles
   ========================================================================== */

.current-membership-overview {
    margin-bottom: 40px;
}

.current-membership-card {
    border-radius: 12px;
    padding: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

.current-tier-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.current-tier-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.current-tier-icon img {
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
}

.current-tier-info h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: #fff;
}

.member-since {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.current-tier-right {
    flex: 1;
}

.current-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.current-stat-item {
    text-align: center;
}

.current-stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
    display: block;
}

.current-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.progress-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    height: 12px;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-fill {
    height: 100%;
    transition: width 0.3s ease;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.benefit-icon {
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

/* ==========================================================================
   Tiers Showcase
   ========================================================================== */

.tiers-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    column-gap: 35px;
    row-gap: 70px;
    padding-top: 50px;
}

.tier-showcase-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 35px 25px 40px;
    border-radius: 12px;
    position: relative;
    z-index: 0;
}

.tier-showcase-card:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 5px;
    padding: 1px;
    background: linear-gradient(180deg,
            rgba(4, 156, 152, 1) 0%,
            rgba(242, 242, 242, 1) 100%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    z-index: -1;
}

.tier-showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 30px;
    margin-bottom: 15px;
}

.current-tier-badge {
    background: #00AAA6;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 170, 166, 0.3);
    display: none;
}

.tier-medal {
    position: absolute;
    top: 0;
    left: 25px;
    transform: translateY(-50%);
    z-index: 2;
}

.tier-icon-custom {
    width: 82px;
    height: 82px;
    max-width: 82px;
    max-height: 82px;
    display: block;
}

.tier-icon-custom img {
    width: 100%;
}

.tier-showcase-title {
    color: #000000;
    font-size: 30px;
    line-height: 32px;
    font-weight: 500;
    margin: 0;
}

.tier-showcase-benefits {
    display: flex;
    flex-direction: column;
}

.benefit-item-showcase {
    padding: 15px 0;
    border-bottom: 1px solid rgba(109, 109, 109, .22);
}

.benefit-item-showcase:last-child {
    border-bottom: none;
}

.benefit-item-showcase h5 {
    color: #000000;
    font-size: 18px;
    line-height: 20px;
    font-weight: 400;
    margin: 0;
}

.benefit-item-showcase p {
    padding-top: 15px;
    color: #666;
    font-size: 13px;
    margin: 0;
}

.benefit-coupon {
    margin-top: 8px;
    padding: 5px 8px;
    background: #f0f8ff;
    border: 1px solid #d1ecf1;
    border-radius: 4px;
    font-size: 0.85em;
}

.coupon-label {
    font-weight: 600;
    color: #0c5460;
    margin-right: 5px;
}

.benefit-coupon code {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
    color: #495057;
}


/* Special handling for SVG icons */
.tier-icon-custom img[src$=".svg"] {
    border-radius: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Dashboard Overview Styles
   ========================================================================== */

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    background: #F1F1F1;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 30px;
}

.dashboard-current-tier {
    background: #fff;
    border-radius: 5px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.current-tier-display {
    margin-bottom: 20px;
}

.dashboard-tier-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: block;
}


.tier-name-large {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.tier-member-text {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.dashboard-upgrade-tier {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.2s ease;
}

.dashboard-upgrade-tier:hover {
    transform: translateY(-2px);
}

.you-are-here-indicator {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #00AAA6;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.progress-line {
    position: absolute;
    left: -20px;
    top: 50%;
    width: 20px;
    height: 3px;
    background: #00AAA6;
    transform: translateY(-50%);
}

.upgrade-tier-icon {
    margin-bottom: 15px;
}

.upgrade-tier-icon img,
.upgrade-tier-icon svg {
    width: 80px;
    height: 80px;
}

.upgrade-tier-name {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.upgrade-amount {
    margin-bottom: 5px;
}

.upgrade-amount .amount {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.upgrade-amount .currency {
    font-size: 14px;
    color: #666;
    margin-left: 2px;
}

.upgrade-text {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* ==========================================================================
   Points Balance Section
   ========================================================================== */

.points-balance-section {
    background: #F1F1F1;
    padding: 0 10px;
    border-radius: 0 0 5px 5px;
}

.points-balance-title {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.points-balance-title strong {
    font-weight: 500;
}


.redeem-points-btn {
    background: #333;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.redeem-points-btn:hover {
    background: #555;
}

/* ==========================================================================
   History and Timeline
   ========================================================================== */

.history-table {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.points-amount.positive {
    color: #28a745;
}

.points-amount.negative {
    color: #dc3545;
}

.transaction-type {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    text-transform: uppercase;
}

.type-earned {
    background: #d4edda;
    color: #155724;
}

.type-redeemed {
    background: #f8d7da;
    color: #721c24;
}

.tier-timeline {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-date {
    width: 120px;
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.tier-change {
    font-weight: bold;
    margin-bottom: 5px;
}

.change-reason {
    font-size: 14px;
    color: #666;
}

/* ==========================================================================
   User Coupons Styles
   ========================================================================== */

.user-coupons-section {
    margin: 40px 0;
    background: #fff;
    border-radius: 5
}

.user-coupons-section .section-title {
    text-align: center;
}

.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.coupon-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coupon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.coupon-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.coupon-tier-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.coupon-code {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
    letter-spacing: 1px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.coupon-amount {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.coupon-expiry {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 20px;
    font-style: italic;
}

.copy-coupon-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.copy-coupon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.no-coupons-message {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.no-coupons-message p {
    margin: 0;
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
}

/* ==========================================================================
   Shortcode Template Styles
   ========================================================================== */

/* Enhanced grid layout for better spacing */

.membership-tier {
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}




.tier-badge-container {
    position: relative;
    margin-bottom: 0;
}


.tier-progress-markers::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    background: #049C98;
    border-radius: 2px;
    z-index: 2;
    width: calc(var(--progress-width));
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 170, 166, 0.3);
}

.future-tier-wrapper .progress-indicator {
    position: absolute;
    top: 163px;
    left: calc(30px + var(--progress-width, 25%) * (100% - 60px) / 100% - 4px);
    width: 8px;
    height: 8px;
    background: #00AAA6;
    border: 2px solid white;
    border-radius: 50%;
    z-index: 3;
    transition: left 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 170, 166, 0.4);
    animation: pulse-indicator 2s infinite;
}

@keyframes pulse-indicator {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}


.tier-progress-markers {
    position: absolute;
    top: 185px;
    left: 12%;
    right: 12%;
    height: 5px;
    z-index: 4;
    border: 1px solid #CDCDCD;
    z-index: 10;
}

.tier-marker {
    position: absolute;
    top: 50%;
    width: 1px;
    height: 9px;
    background: #ccc;
    transform: translateY(-50%);
}

.membership-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.membership-content-grid .left-column,
.membership-content-grid .right-column {
    min-height: 300px;
}


.hisense-membership-account>div:last-child {
    margin-bottom: 0;
}

/* Dashboard section styling - Original Structure */
.membership-tiers-section {
    background: #F1F1F1;
    padding: 10px 10px;
    border-radius: 5px 5px 0 0;
}

.membership-tiers-container {
    display: flex;
    justify-content: center;
    position: relative;
    background: #ffffff;
}

.membership-tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    width: 25%;
    opacity: 1;
    padding: 40px 0 30px;
}

.membership-tier.current-tier {
    z-index: 10;
}

.tier-badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.tier-badge-container .tier-badge-image {
    width: 122px;
    height: 122px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.membership-tier.current-tier .tier-badge-image {
    transform: scale(1.2);
    position: relative;
}

/* Fallback tier badge styles */
.tier-badge-fallback {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.membership-tier.current-tier .tier-badge-fallback {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(40, 167, 69, 0.3));
}

.tier-key-text {
    font-size: 14px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Tier-specific colors for fallback badges */
.tier-badge-fallback.tier-bronze {
    background: linear-gradient(135deg, #CD7F32, #B8860B);
}

.tier-badge-fallback.tier-silver {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
}

.tier-badge-fallback.tier-gold {
    background: linear-gradient(135deg, #FFD700, #FFC107);
}

.tier-badge-fallback.tier-platinum {
    background: linear-gradient(135deg, #E5E4E2, #C0C0C0);
}

.tier-info {
    text-align: center;
}

.tier-greeting {
    font-size: 16px;
    color: #000000;
    margin: 0;
}

.tier-member {
    font-size: 16px;
    color: #000000;
    margin: 0;
    font-weight: 400;
}


.tier-price-needed {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
    margin: 0;
}

.tier-price-needed.achieved {
    color: var(--hisense-primary);
}

.tier-price-needed>span {
    display: block;
}


/* Future tier wrapper with progress */
.future-tier-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    flex-wrap: wrap;
}


.tier-marker {
    position: absolute;
    top: -4px;
    width: 12px;
    height: 12px;
    background: #e0e0e0;
    border-radius: 50%;
    transform: translateX(-50%);
    display: none;
}


.tier-progress-info {
    position: absolute;
    bottom: calc(100% + 10px);
    left: calc(var(--progress-width));
    transform: translateX(-50%);
    z-index: 100;
}

.progress-text {
    margin: 0;
    font-size: 12px;
    color: #000000;
    font-weight: 400;
    background: #ffffff;
    border: 1px solid #D5D5D5;
    border-radius: 5px;
    padding: 8px 10px;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.progress-text:after {
    content: '';
    position: absolute;
    top: 104%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #CDCDCD;
}

.progress-text::before {
    content: '';
    position: absolute;
    top: 97%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #ffffff;
    z-index: 1;
    margin-top: 1px;
}

/* .progress-text.congratulations {
    color: #ffc107;
} */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.dashboard-current-tier,
.dashboard-upgrade-tier {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.dashboard-current-tier:hover,
.dashboard-upgrade-tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dashboard-current-tier.active-tier {
    border: 3px solid #28a745;
    background: linear-gradient(135deg, #f8fff9, #ffffff);
}

.tier-icon-container {
    position: relative;
    margin-bottom: 20px;
}

.tier-medal {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.medal-icon>img {
    width: 85px;
    height: 85px;
}

.medal-inner {
    text-align: center;
    color: white;
}

.medal-text {
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 2px;
}

.medal-stars {
    font-size: 10px;
    opacity: 0.8;
}

.you-are-here-indicator {
    background: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.tier-info {
    margin-top: 50px;
}


.tier-name {
    font-size: 30px;
    font-weight: 500;
    margin: 0;
    color: #000;
    line-height: 1.2;
}

.tier-member-text {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.upgrade-amount {
    margin: 10px 0;
}

.upgrade-amount .amount {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.upgrade-amount .currency {
    font-size: 16px;
    color: #666;
    margin-left: 5px;
}

.upgrade-text {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0 0;
}

/* Tiers showcase section styling */
.tiers-showcase-section {
    margin: 80px 0;
}

.tiers-showcase-section h2 {
    text-align: center;
}

.tiers-showcase-section p {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1550px) {
    .tier-name {
        font-size: 27px;
    }

    .tier-badge-container .tier-badge-image {
        width: 110px;
        height: 110px;
    }

    .tier-progress-markers {
        position: absolute;
        top: 175px;
    }

    .progress-text {
        padding: 5px 4px;
    }

    .future-tier-wrapper {
        padding: 20px;
    }



    .tiers-showcase-section p {
        font-size: 14px;
    }

    .benefit-item-showcase h5 {
        font-size: 16px;
    }

    .benefit-item-showcase {
        padding: 12px 0;
    }

    .tier-showcase-card {
        padding: 30px 20px 35px;
    }

    .tiers-showcase-grid {
        column-gap: 30px;
    }

    .tier-showcase-title {
        font-size: 26px;
    }
}

@media (max-width: 1200px) {
    .tier-name {
        font-size: 24px;
    }

    .tier-badge-container .tier-badge-image {
        width: 90px;
        height: 90px;
    }

    .tier-progress-markers {
        position: absolute;
        top: 150px;
    }

    .tier-info {
        margin-top: 40px;
    }

    .tiers-showcase-grid {
        column-gap: 30px;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1040px) {
    .tier-badge-container .tier-badge-image {
        width: 65px;
        height: 65px;
    }

    .future-tier-wrapper .tier-progress-markers {
        position: absolute;
        top: 106px;
    }

    .progress-text {
        padding: 3px 4px;
    }

    .membership-tier {
        padding: 25px 0 25px;
    }

    .tier-progress-markers {
        top: 110px;
    }
}

@media (max-width: 768px) {
    .current-membership-card {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .current-tier-left {
        flex-direction: column;
        gap: 15px;
    }

    .current-tier-icon img,
    .current-tier-icon svg {
        width: 60px;
        height: 60px;
    }

    .current-tier-info h2 {
        font-size: 24px;
    }

    .current-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .current-stat-value {
        font-size: 20px;
    }

    .tiers-showcase-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 30px;
    }

    .tier-showcase-card {
        padding: 15px;
    }

    .tier-showcase-card.current-tier-highlight {
        transform: scale(1);
    }

    .tier-showcase-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .tier-medal {
        margin-bottom: 15px;
    }

    .medal-icon svg {
        width: 50px;
        height: 50px;
    }


    .timeline-item {
        flex-direction: column;
    }

    .timeline-date {
        width: auto;
        margin-bottom: 10px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }

    .dashboard-current-tier {
        padding: 20px;
    }

    .dashboard-tier-icon {
        width: 100px;
        height: 100px;
    }

    .tier-name-large {
        font-size: 20px;
    }

    .dashboard-upgrade-tier {
        padding: 15px;
    }

    .upgrade-tier-icon img,
    .upgrade-tier-icon svg {
        width: 60px;
        height: 60px;
    }

    .upgrade-tier-name {
        font-size: 18px;
    }

    .upgrade-amount .amount {
        font-size: 16px;
    }

    .points-balance-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }

    .points-balance-title {
        font-size: 20px;
    }

    .you-are-here-indicator {
        position: static;
        transform: none;
        margin-bottom: 10px;
        display: inline-block;
    }

    .progress-line {
        display: none;
    }

    .coupons-grid {
        grid-template-columns: 1fr;
    }

    .coupon-card {
        padding: 20px;
    }

    /* Shortcode template responsive styles */

    .membership-content-grid .left-column,
    .membership-content-grid .right-column {
        margin-bottom: 30px;
    }

    .tiers-showcase-section {
        margin-top: 40px;
    }

    .tiers-showcase-section h2 {
        text-align: center;
        margin-bottom: 10px;
    }

    .tiers-showcase-section p {
        text-align: center;
        color: #666;
        margin-bottom: 30px;
    }

    .tier-name {
        font-size: 16px;
    }

    .tier-greeting {
        font-size: 12px;
    }

    .tier-price-needed {
        font-size: 12px;
    }

    .future-tier-wrapper .tier-progress-markers {
        top: 97px;

    }

    .progress-text {
        font-size: 12px;
    }

}
@media (max-width: 580px) {
    .membership-tiers-section{
        overflow: auto;
    }

    .membership-tiers-container {
        min-width: 500px;
        justify-content: flex-start;
    }
    .tier-progress-markers{
        width: calc(100% - 24%);
    }
}

@media (max-width: 480px) {
    .tiers-showcase-grid {
        grid-template-columns: 1fr;
        column-gap: 30px;
    }
}