.training-plan {
    font-family: 'Segoe UI', Roboto, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 25px;
    display: grid;
    gap: 35px;
    background-color: #f9f9f9;
}

.workout-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    background: white;
    border: 1px solid #e0e0e0;
}

.workout-table caption {
    font-size: 1.4em;
    font-weight: 700;
    text-align: center;
    padding: 18px;
    color: #333;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    letter-spacing: 0.5px;
}

.workout-table th {
    background-color: #f0f0f0;
    color: #444;
    font-weight: 600;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 2px solid #e0e0e0;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.3px;
}

.workout-table td {
    padding: 12px 18px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    vertical-align: middle;
}

.workout-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.workout-table tbody tr:hover {
    background-color: #f5f5f5;
}

.superset {
    background-color: #fff8e6 !important;
    color: #8c6d1f !important;
    font-weight: 600;
}

.flexibility {
    background-color: #f0f9f0 !important;
    color: #2e7d32;
    font-style: italic;
}

.notes {
    font-size: 0.9em;
    color: #666;
    background-color: #f8f8f8;
    padding: 14px;
    line-height: 1.6;
    border-top: 1px dashed #ddd;
}

/* Стили для разных дней */
.day1 caption { border-left: 4px solid #ff7043; }
.day2 caption { border-left: 4px solid #42a5f5; }
.day3 caption { border-left: 4px solid #66bb6a; }
.day4 caption { border-left: 4px solid #ab47bc; }
.day5 caption { border-left: 4px solid #ffa726; }

/* Адаптивность */
@media (max-width: 768px) {
    .training-plan {
        padding: 15px;
        gap: 25px;
    }
    
    .workout-table {
        font-size: 14px;
    }
    
    .workout-table th, 
    .workout-table td {
        padding: 10px 12px;
    }
    
    .workout-table caption {
        font-size: 1.2em;
        padding: 14px;
    }
}

/* Анимации */
.workout-table tbody tr {
    transition: all 0.2s ease;
}

.workout-table tbody tr:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}