/* 👶 Калькулятор даты родов — розовая «baby» тема */

.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 select,
.calc-block input {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  color: #222;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-block select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d81b60' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

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

.calc-block select:focus,
.calc-block input:focus {
  outline: none;
  border-color: #d81b60;
  box-shadow: 0 0 0 3px rgba(216, 27, 96, 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: #d81b60;
  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: #c2185b;
}

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

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

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

/* 📅 Главная карточка — ПДР */
.preg-card-main {
  background: linear-gradient(135deg, #d81b60, #ec407a);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  color: #fff;
}

.preg-card-label {
  font-size: 13px;
  color: #ffd9e4;
}

.preg-card-value {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 6px 0 2px;
}

.preg-card-sub {
  font-size: 12px;
  color: #ffe0ea;
}

/* 📊 Статистика: неделя, триместр, дни до родов */
.preg-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.preg-stat {
  flex: 1;
  min-width: 100px;
  background: #fff;
  border: 1px solid #f8c4d4;
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
}

.preg-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #d81b60;
  line-height: 1.2;
}

.preg-stat-label {
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: 4px;
}

/* 📈 Прогресс беременности */
.preg-progress {
  margin-top: 16px;
}

.preg-progress-bar {
  height: 14px;
  background: #fce4ec;
  border-radius: 8px;
  overflow: hidden;
}

.preg-progress-bar div {
  height: 100%;
  background: linear-gradient(90deg, #f06292, #d81b60);
  border-radius: 8px;
  transition: width 0.6s ease;
}

.preg-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}

.preg-week-note {
  text-align: center;
  font-size: 14px;
  color: #444;
  margin: 12px 0 0;
}

.preg-warning {
  margin: 12px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff3e0;
  border: 1px solid #ffd8a8;
  font-size: 13px;
  color: #8a5a00;
  line-height: 1.4;
}

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

/* 📖 Описание */
.calculator-description {
  background-color: #fdf6f8;
  border-left-color: #d81b60;
}

.calculator-description h2,
.calculator-description h3 {
  color: #d81b60;
}
