/* ❤️ Калькулятор пульсовых зон — красная тема пульса */

.calc-intro {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 8px 0 0;
}

.calc-block label {
  display: block;
  margin-top: 16px;
  font-weight: bold;
  font-size: 15px;
  color: #222;
}

/* 🎛 Поля ввода */
.calc-block input {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border: 1px solid #f0b8b8;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-block input:hover {
  border-color: #e57373;
}

.calc-block input:focus {
  outline: none;
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.18);
}

.field-hint {
  display: block;
  color: #888;
  font-size: 12px;
  font-weight: normal;
  margin-top: 3px;
}

/* ❤️ Кнопка */
.calc-block button {
  margin-top: 22px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ef5350, #d32f2f);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s ease, transform 0.1s ease;
}

.calc-block button:hover {
  background: linear-gradient(135deg, #e53935, #c62828);
}

.calc-block button:active {
  transform: scale(0.98);
}

/* 🎴 Карточка результата */
.result-block h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  color: #222;
}

.result-output {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 18px;
}

/* ❤️ Крупные показатели */
.hr-stats {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 4px 0 8px;
}

.hr-stat-card {
  flex: 1;
  min-width: 110px;
  text-align: center;
  padding: 12px 8px;
  border-radius: 10px;
  background: #fff5f5;
  border: 1px solid #ffd9d9;
}

.hr-stat-card .hr-value {
  font-size: 1.6rem;
  font-weight: bold;
  color: #d32f2f;
  display: block;
}

.hr-stat-card .hr-label {
  font-size: 12px;
  color: #888;
  display: block;
  margin-top: 2px;
}

.hr-verdict {
  text-align: center;
  font-size: 14px;
  color: #444;
  margin: 10px 0 4px;
  line-height: 1.5;
}

/* 📊 Таблица зон */
.zone-table-wrap {
  margin-top: 16px;
}

.zone-table-wrap h3 {
  font-size: 14px;
  color: #333;
  margin: 0 0 8px;
}

.zone-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 14px;
}

.zone-table th,
.zone-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: middle;
}

.zone-table th {
  background: #fafafa;
  font-size: 13px;
  color: #555;
}

.zone-table td:last-child {
  text-align: right;
  font-weight: bold;
  white-space: nowrap;
}

.zone-table .zone-cell {
  text-align: left;
}

/* Цветная полоска зоны */
.zone-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.zone-purpose {
  font-size: 13px;
  color: #666;
  font-weight: normal;
}

/* 💡 Подсказка про резерв ЧСС */
.hr-reserve {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff5f5;
  border: 1px solid #ffd9d9;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
}

.hr-reserve strong {
  color: #c62828;
}

.hr-note {
  font-size: 12px;
  color: #888;
  margin-top: 14px;
  line-height: 1.5;
  border-top: 1px dashed #ddd;
  padding-top: 10px;
}

.error-message {
  color: #c62828;
  text-align: center;
  font-size: 15px;
  padding: 8px 0;
}

/* Мобильная адаптация таблиц */
@media (max-width: 600px) {
  .zone-table th,
  .zone-table td {
    padding: 6px 6px;
    font-size: 13px;
  }
}
