/* ⚪ Калькулятор трудовой договор vs ГПХ — серая тема сравнения режимов */

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

.calc-block h1 {
  color: #263238;
}

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

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

.calc-block input:hover,
.calc-block select:hover {
  border-color: #90a4ae;
}

.calc-block input:focus,
.calc-block select:focus {
  outline: none;
  border-color: #455a64;
  box-shadow: 0 0 0 3px rgba(69, 90, 100, 0.15);
}

.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: #455a64;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s ease;
}

.calc-block button:hover {
  background: #37474f;
}

.calc-block button:active {
  background: #263238;
}

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

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

.svc-placeholder {
  color: #999;
  font-size: 14px;
  line-height: 1.5;
  margin: 4px 0;
}

.svc-error {
  color: #b71c1c;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.5;
  margin: 4px 0;
}

/* 🧾 Карточка выбранного режима */
.mode-card {
  border: 1px solid #dde3e6;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 14px;
  background: #fafbfc;
}

.mode-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mode-name {
  font-weight: bold;
  color: #263238;
  font-size: 15px;
}

.mode-badge {
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  background: #607d8b;
  border-radius: 12px;
  padding: 2px 10px;
}

.mode-net {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #263238;
  margin: 6px 0 2px;
}

.mode-net .unit {
  display: block;
  font-size: 0.75rem;
  font-weight: normal;
  color: #888;
}

.mode-lines {
  font-size: 13px;
  color: #444;
  line-height: 1.7;
  border-top: 1px dashed #dde3e6;
  padding-top: 10px;
  margin-top: 10px;
}

.mode-lines span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.mode-lines .val {
  font-weight: bold;
  color: #222;
  white-space: nowrap;
}

.mode-lines .val.red {
  color: #b71c1c;
}

.mode-lines .val.green {
  color: #1b5e20;
}

.mode-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f2f4f5;
  border: 1px solid #e0e5e8;
  font-size: 12.5px;
  color: #555;
  line-height: 1.6;
}

/* 📊 Таблица сравнения режимов */
.svc-compare-title {
  font-size: 0.95rem;
  color: #263238;
  margin: 4px 0 10px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table th,
.compare-table td {
  padding: 8px 8px;
  border-bottom: 1px solid #e0e5e8;
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: #eceff1;
  color: #37474f;
  font-size: 12px;
  white-space: nowrap;
}

.compare-table td:last-child,
.compare-table th:last-child {
  text-align: right;
  white-space: nowrap;
}

.compare-table tr.best-row {
  background: #f1f8e9;
}

.compare-table tr.best-row td:first-child {
  border-top: 4px solid #558b2f;
  padding-left: 4px;
}

.compare-table .best-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: bold;
  color: #33691e;
  background: #dcedc8;
  border-radius: 10px;
  padding: 1px 7px;
  margin-left: 6px;
  vertical-align: middle;
}

.compare-table .cost-cell {
  color: #777;
}

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