.pbc-pricing-timeline {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Combo Section */
.pbc-combo-section {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.combo-icon {
    font-size: 32px;
    flex-shrink: 0;
    margin-top: 2px;
}

.combo-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.combo-content {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.combo-schedule {
    color: rgba(26, 26, 26, 0.8);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.combo-schedule strong,
.combo-schedule b {
    font-weight: 700;
    color: #1a1a1a;
}

.combo-schedule br {
    line-height: 1.6;
}

.combo-schedule a {
    color: #1a1a1a;
    text-decoration: underline;
}

/* Countdown Section */
.pbc-countdown-wrapper {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    padding: 15px 25px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pbc-countdown-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.countdown-title {
    color: #FFD700;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.pbc-countdown {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: auto;
}

.countdown-value {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 900;
    padding: 8px 12px;
    border-radius: 6px;
    min-width: 50px;
    text-align: center;
    margin-bottom: 3px;
    line-height: 1;
}

.countdown-label {
    color: #FFD700;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Timeline Container */
.pbc-timeline-container {
    position: relative;
    padding: 15px 0 30px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Timeline Item */
.pbc-timeline-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
    position: relative;
}

.pbc-timeline-item.collapsed {
    overflow: visible;
}

.pbc-timeline-item.current {
    border-color: #FFD700;
}

.pbc-timeline-item.past {
    opacity: 0.6;
    filter: grayscale(50%);
}

/* Stacked Layer Effect for Collapsed Items */
.pbc-timeline-item.collapsed {
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pbc-timeline-item.collapsed::before,
.pbc-timeline-item.collapsed::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    border: none;
    z-index: -1;
    transition: all 0.3s ease;
}

.pbc-timeline-item.collapsed::before {
    top: 5px;
    background: rgba(248, 248, 248, 0.9);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.pbc-timeline-item.collapsed::after {
    top: 10px;
    left: 20px;
    right: 20px;
    background: rgba(245, 245, 245, 0.7);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

/* Expanded state - remove layers */
.pbc-timeline-item.expanded {
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pbc-timeline-item.expanded::before,
.pbc-timeline-item.expanded::after {
    opacity: 0;
    transform: translateY(-8px);
}

/* Collapsed State */
.pbc-timeline-item.collapsed {
    cursor: pointer;
}

.pbc-timeline-item.collapsed:hover {
    transform: translateY(-2px);
}

.pbc-timeline-item.collapsed:hover::before {
    top: 6px;
}

.pbc-timeline-item.collapsed:hover::after {
    top: 11px;
}

.pbc-timeline-item.collapsed .timeline-content {
    max-height: 0;
    opacity: 0;
    padding: 0 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.pbc-timeline-item.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

/* Expanded State */
.pbc-timeline-item.expanded .timeline-content {
    max-height: 1000px;
    opacity: 1;
    padding: 0 20px 15px 72px;
    transition: all 0.4s ease;
}

.pbc-timeline-item.expanded .toggle-icon {
    transform: rotate(0deg);
}

/* Header Clickable */
.timeline-header-clickable {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 10px 10px 0 0;
}

/* Marker */
.timeline-marker {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.pbc-timeline-item.collapsed:hover .timeline-marker {
    transform: scale(1.05) rotate(5deg);
}

.marker-icon {
    font-size: 22px;
    transition: transform 0.3s ease;
}

/* Toggle Icon */
.toggle-icon {
    margin-left: auto;
    font-size: 16px;
    color: #FFD700;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-weight: bold;
}

.pbc-timeline-item.collapsed:hover .toggle-icon {
    color: #FFA500;
    transform: scale(1.1);
}

/* Header */
.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    gap: 8px;
}

/* Content */
.timeline-content {
    padding: 0 20px 15px 72px;
}

.timeline-header h3 {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.timeline-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.timeline-badge.active {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.timeline-price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 6px 0;
}

.timeline-price {
    color: #FFD700;
    font-size: 32px;
    font-weight: 900;
    margin: 0;
    line-height: 1.2;
}

.timeline-original-price-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
}

.original-price-label {
    font-weight: 600;
    color: #666;
}

.timeline-original-price {
    color: #999;
    font-weight: 500;
    text-decoration: line-through;
    text-decoration-color: #dc3232;
    text-decoration-thickness: 2px;
}

.timeline-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0;
    padding: 10px 12px;
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid #FFD700;
    border-radius: 4px;
}

.timeline-date {
    color: #666;
    font-size: 13px;
    margin: 6px 0;
}

.timeline-status {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
}

.timeline-status.active-now {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
}

.timeline-status.expired {
    background: #e0e0e0;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .pbc-combo-section {
        padding: 15px 20px;
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .combo-icon {
        font-size: 28px;
    }
    
    .combo-wrapper {
        gap: 4px;
    }
    
    .combo-content {
        font-size: 14px;
    }
    
    .combo-schedule {
        font-size: 12px;
    }
    
    .pbc-countdown-wrapper {
        flex-direction: column;
        gap: 8px;
        padding: 12px 15px;
        margin-top: 15px;
    }
    
    .countdown-title {
        font-size: 12px;
        text-align: center;
    }
    
    .pbc-countdown {
        gap: 6px;
    }
    
    .countdown-value {
        font-size: 20px;
        padding: 6px 10px;
        min-width: 45px;
    }
    
    .countdown-label {
        font-size: 8px;
    }
    
    .pbc-timeline-container {
        gap: 0;
        padding: 10px 0 20px;
    }
    
    .timeline-header-clickable {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .timeline-marker {
        width: 40px;
        height: 40px;
    }
    
    .marker-icon {
        font-size: 20px;
    }
    
    .timeline-header h3 {
        font-size: 16px;
    }
    
    .timeline-content {
        padding: 0 15px 12px 65px;
    }
    
    .timeline-price {
        font-size: 24px;
    }
    
    .timeline-original-price-wrapper {
        font-size: 14px;
    }
    
    .timeline-original-price {
        font-size: 14px;
    }
    
    .timeline-description {
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .timeline-courses {
        padding: 8px;
        margin: 6px 0;
    }
    
    .timeline-date {
        margin: 6px 0;
    }
    
    .timeline-status {
        margin-top: 8px;
        padding: 6px;
    }
    
    /* Stacked layers on mobile */
    .pbc-timeline-item.collapsed {
        margin-bottom: 20px;
    }
    
    .pbc-timeline-item.collapsed::before {
        left: 8px;
        right: 8px;
        top: 4px;
    }
    
    .pbc-timeline-item.collapsed::after {
        left: 16px;
        right: 16px;
        top: 8px;
    }
}

/* Phase specific colors */
.pbc-phase-early_bird .timeline-marker {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.pbc-phase-phase_1 .timeline-marker {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
}

.pbc-phase-phase_2 .timeline-marker {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
}

.pbc-phase-regular .timeline-marker {
    background: linear-gradient(135deg, #666 0%, #888 100%);
}

.countdown-expired {
    color: #FFD700;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    padding: 0;
}
