/* 🟣 Калькулятор частичной занятости (индиго-тема гибкого графика) */

.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 #c5cae9;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  color: #222;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.calc-block input:focus {
  outline: none;
  border-color: #3f51b5;
  box-shadow: 0 0 0 3px rgba(63, 81, 181, 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: #3f51b5;
  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: #303f9f;
}

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

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

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

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

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

/* 🔢 Крупная зарплата и бейдж */
.pt-score-wrap {
  text-align: center;
}

.pt-score {
  font-size: 2.4rem;
  font-weight: bold;
  text-align: center;
  margin: 10px 0 6px;
  color: #222;
  line-height: 1.2;
}

.pt-score .unit {
  font-size: 1rem;
  font-weight: normal;
  color: #888;
}

.pt-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 20px;
  background: #3f51b5;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
}

/* 📊 Детали расчёта */
.pt-detail {
  margin: 16px 0 0;
  border-top: 1px dashed #c5cae9;
  padding-top: 10px;
}

.pt-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 14px;
  color: #444;
}

.pt-detail-item strong {
  color: #222;
  white-space: nowrap;
  text-align: right;
}

.pt-detail-item.total {
  border-top: 1px solid #c5cae9;
  margin-top: 6px;
  padding-top: 10px;
  font-weight: bold;
  font-size: 15px;
  color: #222;
}

.pt-detail-item.total strong {
  color: #283593;
}

.pt-warn {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef0fa;
  border: 1px solid #dce0f5;
  font-size: 13px;
  color: #1a237e;
  line-height: 1.5;
}

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