:root {
  color-scheme: light;
  /* FSK marka paleti: logo mavisi birincil renktir; eski --teal degiskeni
     geriye uyumluluk icin maviye esitlendi (tum vurgular tek hamlede doner) */
  --ink: #10233f;
  --muted: #5b6b7f;
  --line: #d5e0ec;
  --panel: #f2f6fb;
  --steel: #16345e;
  --primary: #1d4ed8;
  --primary-dark: #16357f;
  --navy: #0f2a5c;
  --teal: #1d4ed8;
  --amber: #b7791f;
  --white: #ffffff;
  --shadow-card: 0 1px 3px rgba(15, 42, 92, 0.10), 0 1px 2px rgba(15, 42, 92, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #edf2f9;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(520px, 1.1fr) minmax(420px, 0.9fr);
}

.workbench,
.visual-panel {
  padding: 24px;
}

.workbench {
  background: var(--white);
  border-right: 1px solid var(--line);
}

.brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--navy) 0%, #17408f 55%, var(--primary) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15, 42, 92, 0.25);
}

.brandbar h1 {
  color: var(--white);
  font-size: 22px;
}

.brandbar p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
  background: var(--white);
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

p {
  margin: 6px 0 0;
  color: var(--muted);
}

.status-pill {
  min-width: 118px;
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

fieldset {
  margin: 0;
  padding: 14px 16px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

legend {
  padding: 2px 10px;
  margin-bottom: 4px;
  color: var(--steel);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-left: 3px solid var(--primary);
  background: var(--panel);
  border-radius: 0 6px 6px 0;
}

label {
  display: block;
  margin-top: 10px;
  color: #39454d;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 5px;
  padding: 8px 10px;
  border: 1px solid #c3d2e4;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

input:hover:not(:read-only),
select:hover,
textarea:hover {
  border-color: #9db4d1;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

textarea {
  resize: vertical;
}

.field-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.radio-group {
  margin-top: 10px;
}

.radio-label {
  display: block;
  color: #39454d;
  font-size: 13px;
  font-weight: 700;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 400;
}

.radio-option input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.layers-field.is-locked,
.gap-field.is-locked {
  opacity: 0.72;
}

.layers-field.is-locked input,
.gap-field.is-locked input {
  cursor: not-allowed;
}

.checkbox-inline input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.metrics-3,
.metrics-4 {
  display: grid;
  gap: 10px;
}

.metrics-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metrics-4 {
  /* kısa sayısal alanlar: üçlü dizilim yeterli ve daha derli toplu */
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.span-all {
  grid-column: 1 / -1;
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.calc-status {
  min-height: 38px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
}

button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #c3d2e4;
  border-radius: 8px;
  background: var(--white);
  color: var(--steel);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

button:hover:not(:disabled) {
  background: var(--panel);
  border-color: #9db4d1;
}

button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.30);
}

button.primary:hover:not(:disabled) {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.visual-panel {
  display: grid;
  grid-auto-rows: min-content;
  gap: 14px;
  background: #e6edf7;
}

.result-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.result-strip div,
.warnings,
.output {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.result-strip div {
  padding: 12px;
  border: 0;
  border-top: 3px solid var(--primary);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.result-strip div.updated {
  border-color: var(--teal);
  background: #e8f5f3;
  transform: translateY(-1px);
}

.result-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.result-strip strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}


.warnings,
.output {
  min-height: 46px;
  padding: 12px;
  color: var(--muted);
}

.warnings.has-warning {
  border-color: #d6a23a;
  color: #6f4d0b;
  background: #fff8e8;
}

.output a {
  color: var(--teal);
  font-weight: 700;
}

.pdf-fallback-warning {
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px solid #d6a23a;
  border-radius: 6px;
  background: #fff8e8;
  color: #6f4d0b;
  font-weight: 600;
}

@media (max-width: 980px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .workbench {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .form-grid,
  .metrics-3 {
    grid-template-columns: 1fr;
  }
}

.option-row {
  display: grid;
  grid-template-columns: 1fr 130px 32px;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}

.option-remove {
  padding: 6px 0;
  line-height: 1;
}

.option-add {
  margin-top: 4px;
}

.checkbox-inline {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.history-panel {
  border-top: 1px solid var(--line);
  padding: 12px;
}

.history-panel h2 {
  font-size: 15px;
  margin: 0 0 8px;
}

.history-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.history-filters select,
.history-filters input {
  width: auto;
  margin: 0;
  padding: 6px 8px;
  font-size: 13px;
}

.history-filters input {
  flex: 1 1 160px;
  min-width: 0;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
  font-size: 13px;
}

.history-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.history-main {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
}

.history-meta {
  color: var(--muted);
}

.history-expiry {
  font-weight: 600;
}

.history-row.is-expired {
  border-color: #c4554d;
  background: #fdf1f0;
}

.history-row.is-expired .history-expiry {
  color: #a03a33;
}

.history-row.is-expiring {
  border-color: #d6a23a;
  background: #fff8e8;
}

.history-row.is-expiring .history-expiry {
  color: #6f4d0b;
}

.history-row.is-accepted {
  border-color: #3d9a6c;
  background: #eefaf3;
}

.history-row.is-lost {
  opacity: 0.6;
}

.history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.history-actions a {
  color: var(--teal);
  font-weight: 700;
}

.history-status {
  padding: 4px 6px;
}

.history-load {
  padding: 4px 10px;
}

/* --- Çok makineli teklif oluşturucu --- */
.machine-builder {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.machine-builder h3 {
  margin: 0 0 8px;
  color: #2f4858;
  font-size: 14px;
}

.machine-builder [role="group"] label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 14px 8px 0;
  font-weight: 400;
  white-space: nowrap;
}

.machine-card {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #b9c5cb;
  border-radius: 6px;
  background: var(--white);
}

.machine-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.machine-card .machine-specs {
  margin: 6px 0;
  color: #5a6a73;
  font-size: 12px;
}

.machine-card .card-option {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.machine-card .card-capacity,
.machine-card .card-total {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

.remove-machine {
  padding: 2px 8px;
}

#builderTotal {
  display: inline-block;
  margin-left: 10px;
}

/* --- PDF önizleme --- */
.pdf-toolbar {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #39454d;
}

.pdf-toolbar .pdf-hint {
  color: #5a6a73;
  font-size: 12px;
}

.pdf-scroll {
  height: 62vh;
  min-height: 320px;
  overflow: auto;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #d3ddec 0%, #dde6f2 100%);
  box-shadow: inset 0 2px 8px rgba(15, 42, 92, 0.12);
  padding: 14px;
}

.pdf-scroll canvas {
  display: block;
  max-width: none;
  margin: 0 auto 14px;
  border: 0;
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(15, 42, 92, 0.22);
}

.pdf-scroll #pdfEmpty {
  color: #5a6a73;
  font-size: 13px;
}

/* --- E-posta paneli --- */
.email-panel {
  padding: 14px 16px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.recipient-group {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.recipient-label {
  flex: 0 0 38px;
  padding-top: 4px;
  color: #5a6a73;
  font-size: 12px;
  font-weight: 700;
}

#recipientChips,
#ccChips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
}

#recipientChips button,
#ccChips button {
  padding: 3px 8px;
  border-radius: 12px;
}

/* --- Teknik yardımcı --- */
.technical-helper {
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.technical-helper summary {
  cursor: pointer;
  color: #2f4858;
  font-weight: 700;
}

.technical-helper .table-wrap {
  max-height: 320px;
  margin-top: 8px;
  overflow: auto;
}

.technical-helper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.technical-helper th,
.technical-helper td {
  padding: 4px 6px;
  border: 1px solid var(--line);
  text-align: left;
}

.freezing-power {
  margin: 6px 0 0;
  color: #2f4858;
  font-size: 13px;
  font-weight: 700;
}

.freezing-power:empty {
  display: none;
}

.dims-warning {
  color: #6f4d0b;
}

/* --- Blok düzenleyici --- */
.view-toggle button {
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
}

.view-toggle button.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

#docLanguagePick {
  width: auto;
  margin: 0;
  padding: 4px 8px;
}

.block-editor {
  height: 62vh;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.block-editor[hidden],
.pdf-scroll[hidden] {
  display: none;
}

#blockList {
  flex: 1;
  overflow: auto;
  padding: 10px;
}

#blockEditorEmpty {
  padding: 12px;
  color: #5a6a73;
  font-size: 13px;
}

.block-row {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  border-left: 3px solid transparent;
  padding: 2px 4px;
  margin-bottom: 2px;
}

.block-row.block-dirty {
  border-left-color: var(--amber);
  background: #fff8e8;
}

.block-text {
  flex: 1;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.block-text:hover {
  outline: 1px dashed #b9c5cb;
}

.block-text:focus {
  outline: 2px solid var(--teal);
  background: #f2f9f8;
}

.block-heading {
  font-weight: 700;
  color: var(--steel);
  font-size: 14px;
}

.block-reset {
  min-height: 24px;
  padding: 0 8px;
  font-size: 12px;
  visibility: hidden;
}

.block-row.block-dirty .block-reset {
  visibility: visible;
}

.editor-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: #39454d;
}

.editor-bar[hidden] {
  display: none;
}

.card-belt {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.card-belt label {
  font-size: 12px;
}

/* iki bağımsız sütun: uzun Ticari paneli komşusunu esnetmesin */
.form-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
}

.panel-title {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--steel);
}

.calculation-summary {
  padding: 0;
}

/* --- kullanılamayan butonlar belirgin biçimde soluk görünür --- */
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: #b9c5cb;
  color: var(--muted);
  background: var(--panel);
}

button.primary:disabled {
  background: #a9bfe3;
  border-color: #a9bfe3;
  color: var(--white);
  opacity: 0.6;
}

/* --- sıkışık görünen bölgeler için nefes payı --- */
#addMachineCard {
  margin-top: 10px;
}

#multiMachineNotice {
  margin-top: 8px;
}

.machine-card header {
  margin-bottom: 6px;
}

.machine-card .add-card-option {
  margin-top: 8px;
}

#sendEmail {
  margin-top: 10px;
}

#recipientInput {
  margin-top: 4px;
}

.technical-helper #helperPower {
  display: block;
  margin-top: 10px;
}

.technical-helper .table-wrap {
  margin-bottom: 8px;
}

.editor-bar button {
  min-height: 34px;
}

.pdf-toolbar {
  margin-top: 4px;
}

.output:empty {
  display: none; /* üretimden önce boş kutu görünmesin */
}

/* --- kısa sayısal alanlar: 5-6 haneyi geçmeyecek kutular dar olsun --- */
input[name="validity_days"] {
  max-width: 140px;
  display: block;
}

input[name="unit_price"],
.machine-card .card-price {
  max-width: 220px; /* fiyat: en fazla 7-8 hane */
  display: block;
}

.machine-card .card-layers {
  max-width: 110px;
  display: block;
}

.technical-helper #helperThroughput {
  max-width: 160px;
  display: block;
}

.brand-side {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.rates-pill {
  color: var(--steel);
  font-weight: 700;
  white-space: nowrap;
}

.rates-pill[hidden] {
  display: none;
}

.rates-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  text-align: left;
}

.rates-pill .rate-eur {
  color: #1d4ed8; /* euro: mavi */
}

.rates-pill .rate-usd {
  color: #15803d; /* dolar: yeşil */
}

.rates-pill .rates-offline {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
  max-width: 200px;
  white-space: normal;
}

/* --- gereksiz geniş kutulara son: metin alanları makul genişlikte --- */
.form-col fieldset > label > input {
  max-width: 360px;
  display: block;
}

/* uzun içerikli alanlar tam genişlikte kalır */
.form-col fieldset > label > select,
.form-col textarea {
  max-width: none;
}

@media (max-width: 1500px) {
  .workbench,
  .visual-panel {
    padding: 16px;
  }
}

/* özel dar alanlar genel 360px kuralından etkilenmesin */
.form-col fieldset > label > input[name="validity_days"] {
  max-width: 140px;
}

.form-col fieldset > label > input[name="unit_price"] {
  max-width: 220px;
}

/* telefonda PDF'i tarayıcının kendi görüntüleyicisinde açar; masaüstünde yok */
.pdf-open {
  display: none;
}

/* ===== Mobil: masaüstü kurallarına dokunulmaz, yalnızca aşağıdaki iki blokta ezilir.
   1) Dokunmatik ölçüler — telefonlar (≤760px) ve dokunmatik tabletler (pointer: coarse):
      16px alanlar iOS Safari'nin odakta otomatik yakınlaştırmasını engeller,
      dokunma hedefleri en az 44px (Apple/Android önerisi). Fareli masaüstü bunu görmez.
   2) Telefon yerleşimi (≤760px): tek sütun, yana taşma yok, sabit eylem çubuğu. ===== */
@media (max-width: 760px), (pointer: coarse) {
  input,
  select,
  textarea {
    min-height: 44px;
    font-size: 16px;
  }

  button {
    min-height: 44px;
    font-family: inherit; /* iOS Safari düğmelerde sayfa yazı tipini devralmaz */
  }

  .radio-option,
  .checkbox-inline,
  .machine-builder [role="group"] label {
    min-height: 44px;
    margin-top: 0;
  }

  .machine-builder [role="group"] label {
    display: flex;
    margin: 0;
    white-space: normal;
  }

  .radio-option input,
  .checkbox-inline input,
  .machine-builder [role="group"] input {
    width: 22px;
    height: 22px;
    min-height: 0;
    flex: 0 0 auto;
  }

  /* dokunmatikte fare/Ctrl ipucu yerine "PDF'i aç" (yerel görüntüleyicide parmakla yakınlaştırma) */
  .pdf-toolbar {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
  }

  .pdf-toolbar .pdf-hint {
    display: none;
  }

  .view-toggle button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  .pdf-open:not([hidden]) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #c3d2e4;
    border-radius: 8px;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
  }

  .block-reset {
    min-height: 36px;
  }

  .editor-bar {
    flex-wrap: wrap;
  }

  .editor-bar button {
    min-height: 44px;
  }

  #recipientChips button,
  #ccChips button {
    min-height: 36px;
  }

  .history-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 6px;
  }

  .history-status,
  .history-load {
    min-height: 44px;
  }

  .history-filters select,
  .history-filters input {
    min-height: 44px;
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  /* ızgara öğeleri içeriklerinin en geniş hâline göre büyümesin: sayfa yana taşmasın */
  .shell,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .workbench,
  .visual-panel {
    min-width: 0;
    padding: 12px;
  }

  .form-col,
  fieldset {
    min-width: 0;
  }

  /* başlık: logo + ad üstte, kur ve durum alt satırda */
  .brandbar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 14px;
  }

  .brandbar h1 {
    font-size: 19px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-side {
    width: 100%;
  }

  .brand-side .status-pill {
    flex: 1 1 0;
    min-width: 0;
  }

  .form-col fieldset > label > input,
  .form-col fieldset > label > input[name="unit_price"],
  .form-col fieldset > label > input[name="validity_days"] {
    max-width: none;
  }

  .metrics-3,
  .metrics-4,
  .card-belt {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics-3 .field-note {
    grid-column: 1 / -1;
  }

  .option-row {
    grid-template-columns: minmax(0, 1fr) 110px 44px;
  }

  .machine-card .card-option {
    flex-wrap: wrap;
  }

  .machine-card .card-option input:first-child {
    flex: 1 1 100%;
  }

  /* Hesapla / Oluştur form boyunca ekranın altında kalır: uzun formun sonuna inmek gerekmez */
  .actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    flex-wrap: wrap;
    margin: 0 -12px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 12px rgba(15, 42, 92, 0.10);
  }

  .actions button {
    flex: 1 1 130px;
  }

  .actions .checkbox-inline {
    flex: 1 1 100%;
    justify-content: center;
  }

  .result-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-strip div:last-child {
    grid-column: 1 / -1;
  }

  .result-strip strong {
    font-size: 18px;
  }

  .pdf-scroll {
    height: 70vh;
    padding: 8px;
  }

  .block-editor {
    height: 70vh;
  }

  .editor-bar button {
    flex: 1 1 140px;
  }

  .recipient-group {
    flex-wrap: wrap;
  }

  .recipient-label {
    flex: 1 1 100%;
  }

  .history-filters {
    flex-wrap: wrap;
  }

  .history-filters select {
    flex: 1 1 100%;
  }

  /* geçmiş: iç içe kaydırma yerine sayfa ile birlikte kayar */
  .history-list {
    max-height: none;
  }
}
