/* Tarih Hesaplama – Hero renkleri yüzde sayfası ile aynı (page.css: üst siyah, alt gri) */

/* Form kartı – mobilde sade, referans düzeni */
.tarih-form-card {
  margin-bottom: 1.25rem;
  padding: 0;
  overflow: hidden;
}
.tarih-form-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background: var(--page-primary, #0f766e);
  margin: 0;
  padding: 0.65rem 1rem;
}
.tarih-form-card .calc-row {
  margin-bottom: 1rem;
  padding: 0 1rem;
  padding-top: 0.75rem;
}
.tarih-form-card .calc-row:first-of-type {
  padding-top: 1rem;
}
.tarih-form-card .calc-actions {
  padding: 0 1rem 1.25rem;
  margin-top: 0.5rem;
}
.tarih-input-hint {
  font-size: 0.75rem;
  color: var(--calc-text-muted, #64748b);
  margin: 0.25rem 0 0;
}
@media (min-width: 480px) {
  .tarih-form-card {
    padding: 1.25rem;
  }
  .tarih-form-title {
    font-size: 1.125rem;
    color: var(--calc-primary);
    background: transparent;
    padding: 0 0 1rem;
    margin: 0 0 0.5rem;
  }
  .tarih-form-card .calc-row,
  .tarih-form-card .calc-actions {
    padding: 0;
  }
}

/* Ne Elde Edersiniz */
.tarih-what-you-get {
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.06) 0%, transparent 100%);
  border: 1px solid rgba(15, 118, 110, 0.2);
}
.tarih-what-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--calc-text);
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tarih-what-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tarih-what-list li {
  font-size: 0.9375rem;
  color: var(--calc-text-muted);
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.tarih-what-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--calc-primary);
  font-weight: 700;
}

/* Sonuç istatistik grid */
.tarih-result-detail {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--calc-border);
  min-width: 0;
}
.tarih-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  min-width: 0;
}
@media (min-width: 480px) {
  .tarih-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
@media (min-width: 640px) and (max-width: 767px) {
  .tarih-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 768px) {
  .tarih-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.tarih-stat-box {
  background: var(--page-bg, #f1f5f9);
  border-radius: var(--page-radius-sm, 10px);
  padding: 0.85rem;
  text-align: center;
  border: 1px solid var(--page-border);
  min-width: 0;
}
.tarih-stat-box.tarih-stat-small .tarih-stat-value {
  font-size: 1.25rem;
}
.tarih-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--calc-primary);
  line-height: 1.2;
  word-break: break-all;
}
.tarih-stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--calc-text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
@media (min-width: 768px) {
  .tarih-stat-box {
    padding: 1rem;
  }
  .tarih-stat-value {
    font-size: 1.75rem;
  }
  .tarih-stat-label {
    font-size: 0.75rem;
  }
}

/* İlerleme çubuğu */
.tarih-progress-wrap {
  margin-top: 1rem;
}
.tarih-progress-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--calc-text);
  margin: 0 0 0.5rem;
}
.tarih-progress-track {
  height: 8px;
  background: var(--page-bg);
  border-radius: 4px;
  overflow: hidden;
}
.tarih-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--calc-primary), #0d9488);
  border-radius: 4px;
  transition: width 0.3s ease;
}
.tarih-progress-text {
  font-size: 0.8125rem;
  color: var(--calc-text-muted);
  margin: 0.35rem 0 0;
}

/* Paylaşım */
.tarih-share-wrap {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--page-bg);
  border-radius: var(--page-radius-sm);
  border: 1px dashed var(--page-border);
}
.tarih-share-title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin: 0 0 0.25rem;
}
.tarih-share-desc {
  font-size: 0.8125rem;
  color: var(--calc-text-muted);
  margin: 0 0 0.75rem;
}

/* Popüler butonlar (CalcStation tarzı kartlar) */
.tarih-popular-section {
  margin-top: 2rem;
}
.tarih-popular-desc {
  margin: 0.5rem 0 1rem;
  font-size: 0.9375rem;
  color: var(--calc-text-muted);
}
.tarih-popular-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 480px) {
  .tarih-popular-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}
.tarih-popular-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--page-border);
  border-radius: var(--page-radius-sm);
  color: var(--calc-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tarih-popular-btn:hover {
  border-color: var(--calc-primary);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.12);
  color: var(--calc-primary);
}
.tarih-popular-btn::before {
  content: "📅";
  font-size: 1.25rem;
}

/* Daha fazla bilgi / İpuçları */
.tarih-learn-more h2 {
  margin-bottom: 1rem;
}
.tarih-learn-more h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--calc-text);
}
.tarih-quick-tips {
  margin-top: 1.5rem;
}
.tarih-tips-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.5rem 0 0;
}
.tarih-tips-list li {
  margin-bottom: 0.35rem;
}
