﻿ 
:root {
    --club-red: #e6122d;
    --club-red-dark: #b80d22;
    --club-gold: #f59e0b;
}

.club-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    background: #fff;
    margin-bottom: 30px;
    overflow: hidden;
}

.club-header {
    background: linear-gradient(135deg, #e6122d 0%, #990011 100%);
    color: #fff;
    padding: 20px 24px;
}

    .club-header.yearly-header {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    }

.days-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 5px;
    font-size: 0.85rem;
}
/* Timeline Container (با قابلیت اسکرول افقی روان) */
.timeline-container {
    padding: 25px 15px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto; /* فعال‌سازی اسکرول افقی در صورت نیاز */
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

    /* اسکرول‌بار زیبا و باریک برای مرورگرها */
    .timeline-container::-webkit-scrollbar {
        height: 6px;
    }

    .timeline-container::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 10px;
    }

    .timeline-container::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
    }

        .timeline-container::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

.timeline-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    width: 100%;
    min-width: 680px; /* ضمانت عدم بهم‌چسبیدن آیتم‌ها و ایجاد اسکرول در صورت کمبود فضا */
    padding: 0 5px;
}

/* Thick Connector Line */
.timeline-line-bg {
    position: absolute;
    top: 88px;
    left: 60px;
    right: 60px;
    height: 8px;
    background: #e2e8f0;
    z-index: 1;
    border-radius: 4px;
}

.timeline-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 70px; /* عرض ثابت برای هر استپ تا هم‌اندازه باشند و فشرده نشوند */
    padding: 0 4px;
}

/* حذف محدودیت max-width قبلی */
.timeline-step {
    max-width: none;
}

/* Top Price Info */
.step-price-box {
    text-align: center;
    margin-bottom: 15px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
}

.step-amount {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--club-red);
    white-space: nowrap;
}

.yearly-step .step-amount {
    color: var(--club-gold);
}

/* Circle styling */
.step-circle-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.step-number {
    position: absolute;
    top: -18px;
    right: 28%;
    width: 22px;
    height: 22px;
    background: #334155;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    z-index: 3;
}

.step-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 4px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #94a3b8;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-step.active .step-circle {
    background: linear-gradient(135deg, #e6122d 0%, #b80d22 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(230, 18, 45, 0.35);
}

.yearly-step.active .step-circle {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

/* Claim Button Under Step */
.btn-view-reward {
    border-radius: 20px;
    font-size: 0.60rem;
    font-weight: 700;
    padding: 5px;
    border: none;
    background: #f1f5f9;
    color: #475569;
    transition: all 0.2s;
    white-space: nowrap;
}

.timeline-step.active .btn-view-reward {
    background: var(--club-red);
    color: #fff;
}

.yearly-step.active .btn-view-reward {
    background: var(--club-gold);
    color: #0f172a;
}

.btn-view-reward:hover {
    transform: translateY(-2px);
}

/* Ticket styling inside Modal */
.ticket-card-item {
    background: #fff;
    border: 2px dashed #e2e8f0;
    border-radius: 14px;
    position: relative;
    padding: 14px;
    margin-bottom: 15px;
}

    .ticket-card-item.active-ticket {
        border-color: var(--club-red);
        background: #fffdfd;
    }

    .ticket-card-item::before, .ticket-card-item::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 16px;
        height: 16px;
        background-color: #f8f9fa;
        border-radius: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

    .ticket-card-item::before {
        left: -9px;
        border-right: 2px dashed #e2e8f0;
    }

    .ticket-card-item::after {
        right: -9px;
        border-left: 2px dashed #e2e8f0;
    }

    .ticket-card-item.active-ticket::before {
        border-right-color: var(--club-red);
    }

    .ticket-card-item.active-ticket::after {
        border-left-color: var(--club-red);
    }

 /*no action club style */
.no-club-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    background: #fff;
    padding: 50px 20px;
    text-align: center;
    max-width: 600px;
    margin: 50px auto;
}

.no-club-icon-box {
    width: 100px;
    height: 100px;
    background: #fff5f5;
    border: 2px dashed #e6122d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #e6122d;
    font-size: 3rem;
}

.no-club-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
}

.no-club-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-return-home {
    background: #e6122d;
    color: #fff;
    border-radius: 50px;
    padding: 10px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(230, 18, 45, 0.25);
}

    .btn-return-home:hover {
        background: #b80d22;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(230, 18, 45, 0.35);
    }

 