/* Основные стили таблиц */
.workout-tables {
  font-family: 'Arial', sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.circuit-block {
  margin-bottom: 40px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.circuit-title {
  background-color: #f8f9fa;
  color: #d62c1a; /* Красный */
  padding: 15px;
  margin: 0;
  font-size: 1.4rem;
  border-bottom: 2px solid #ffc107; /* Жёлтый */
}

.circuit-specs {
  background-color: #ffc107; /* Жёлтый */
  color: #000;
  padding: 8px 15px;
  margin: 0;
  font-weight: bold;
}

.workout-table {
  width: 100%;
  border-collapse: collapse;
}

.workout-table th {
  background-color: #343a40;
  color: white;
  padding: 12px;
  text-align: left;
}

.workout-table td {
  padding: 12px;
  border-bottom: 1px solid #dee2e6;
}

.high-volume td:nth-child(2),
.high-volume td:nth-child(3),
.tut-circuit td:nth-child(4) {
  background-color: #fff3cd; /* Светло-жёлтый */
  color: #000;
  font-weight: bold;
  text-align: center;
}

.tut-circuit td:nth-child(3) {
  color: #d62c1a; /* Красный */
  font-weight: bold;
}

.footnote {
  padding: 10px 15px;
  background-color: #f8f9fa;
  font-size: 0.9em;
  color: #6c757d;
}

.coach-comment {
  padding: 15px;
  background-color: #f8d7da;
  border-left: 4px solid #d62c1a; /* Красный */
  margin-top: 10px;
}

.coach-comment strong {
  color: #d62c1a; /* Красный */
}
/* Специфичные стили для таблицы ног */
.lower-body td:nth-child(2),
.lower-body td:nth-child(3) {
  background-color: #fff3cd; /* Светло-жёлтый */
  color: #000;
  font-weight: bold;
  text-align: center;
}

.lower-body td:first-child {
  font-weight: 600;
}

.lower-body td:nth-child(2) {
  position: relative;
}

.lower-body td:nth-child(2)::after {
  content: attr(data-note);
  position: absolute;
  right: 5px;
  top: 5px;
  font-size: 0.7em;
  color: #d62c1a; /* Красный */
}
/* Специфичные стили для грудных */
.chest-circuit td:nth-child(3) {
  color: #d62c1a; /* Красный для темпа */
  font-weight: bold;
}

.chest-circuit td:nth-child(2),
.chest-circuit td:nth-child(4) {
  background-color: #fff3cd; /* Жёлтый */
  text-align: center;
}

/* Адаптация для мобильных */
@media (max-width: 600px) {
  .workout-table th, 
  .workout-table td {
    padding: 8px 4px;
    font-size: 0.9em;
  }
  
  .circuit-title {
    font-size: 1.2rem;
  }
}
