.gym-schedule-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.schedule-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    color: #333;
    font-weight: 700;
}

/* Tabs wrapper - flexbox layout */
.schedule-tabs-wrapper {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 500px;
}

/* Left side: Day tabs */
.schedule-tabs {
    flex: 0 0 220px;
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.tab-button {
    background: transparent;
    border: none;
    padding: 20px 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
}

.tab-button:hover {
    background: #e9ecef;
}

.tab-button.active {
    background: #fff;
    border-left-color: #8291ec;
}

.tab-button.current-day {
    border-left-color: #4CAF50;
}

.tab-button.current-day.active {
    border-left-color: #4CAF50;
    background: #f1f8f4;
}

.tab-day {
    display: block;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.today-badge {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: bold;
    margin-top: 4px;
}

.session-count {
    display: block;
    font-size: 0.85em;
    color: #666;
    margin-top: 4px;
}

/* Right side: Content area */
.schedule-content {
    flex: 1;
    position: relative;
}

.tab-content {
    display: none;
    padding: 30px;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.content-header h3 {
    margin: 0;
    font-size: 1.8em;
    color: #333;
    font-weight: 700;
}

.today-badge-large {
    background: #4CAF50;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
}

/* Training list */
.training-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.training-item {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 8px 15px;
    border-radius: 10px;
    /*border-left: 5px solid #8291ec;*/
    border: 1px solid #8291ec;
    transition: all 0.3s ease;
}

.training-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}

.tab-content[data-day*=""] .training-item {
    border-left-color: #8291ec;
}

.tab-button.current-day.active ~ .schedule-content .tab-content.active .training-item,
.tab-content.active[data-day="Monday"] .training-item,
.tab-content.active[data-day="Tuesday"] .training-item,
.tab-content.active[data-day="Wednesday"] .training-item,
.tab-content.active[data-day="Thursday"] .training-item,
.tab-content.active[data-day="Friday"] .training-item,
.tab-content.active[data-day="Saturday"] .training-item,
.tab-content.active[data-day="Sunday"] .training-item {
    border-left-color: #8291ec;
}

.training-time-large {
    flex: 0 0 120px;
    font-size: 1.3em;
    font-weight: 700;
    color: #8291ec;
}

.training-details {
    flex: 1;
}

.training-name, .training-details .training-name {
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.training-duration {
    font-size: 0.9em;
    color: #666;
}

/* No training state */
.no-training {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-training svg {
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-training p {
    font-size: 1.1em;
    margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .schedule-tabs-wrapper {
        flex-direction: column;
        min-height: auto;
    }
    
    .schedule-tabs {
        flex: 0 0 auto;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-button {
        flex: 0 0 auto;
        padding: 15px 20px;
        border-left: none;
        border-bottom: 4px solid transparent;
        white-space: nowrap;
    }
    
    .tab-button.active,
    .tab-button.current-day.active {
        border-bottom-color: #4CAF50;
        border-left: none;
    }
    
    .tab-button.active:not(.current-day) {
        border-bottom-color: #8291ec;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .content-header h3 {
        font-size: 1.4em;
    }
    
    .training-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .training-time-large {
        flex: 0 0 auto;
        font-size: 1.1em;
    }
    
    .schedule-title {
        font-size: 1.5em;
    }
}
