/* 💙 Калькулятор прогноза зарплаты — синяя тема будущего */

.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 #bbdefb;
  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 {
  border-color: #64b5f6;
}

.calc-block input:focus {
  outline: none;
  border-color: #1565c0;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 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: #1565c0;
  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: #0d47a1;
}

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

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

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

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

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

/* 🔢 Сводка прогноза */
.fc-summary {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.fc-card {
  flex: 1;
  min-width: 140px;
  padding: 12px;
  border-radius: 10px;
  background: #e8f1fb;
  border: 1px solid #bbdefb;
  text-align: center;
}

.fc-label {
  font-size: 12px;
  color: #555;
  margin-bottom: 4px;
}

.fc-value {
  font-size: 1.25rem;
  font-weight: bold;
  color: #222;
}

.fc-value.accent {
  color: #1565c0;
}

/* 📋 Таблица по годам */
.fc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.fc-table th,
.fc-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #bbdefb;
  text-align: left;
}

.fc-table th {
  background: #e8f1fb;
  font-size: 13px;
}

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

.fc-table tr:last-child td {
  border-bottom: none;
}

.fc-table tr:last-child {
  background: #f4f9fe;
}

.fc-table tr:last-child td {
  font-weight: bold;
  color: #0d47a1;
}

/* 📝 Примечания */
.fc-note {
  font-size: 12px;
  color: #888;
  margin-top: 14px;
  line-height: 1.5;
  border-top: 1px dashed #ddd;
  padding-top: 10px;
}
