/* Pronimos KOBİ Yüzü — Paraşüt "Nakit ve Banka" Modülü Birebir Önyüz (ESM + Modern Web) */

.nkt-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #3d3c3a;
  padding-bottom: 48px;
}

.nkt-page[hidden] {
  display: none !important;
}

.nkt-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nkt-title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  color: #3d3c3a;
  letter-spacing: -0.01em;
}

.nkt-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.nkt-btn-dark {
  appearance: none;
  border: 0;
  border-radius: 4px;
  background: #2b2a28;
  color: #ffffff;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.nkt-btn-dark:hover {
  background: #1f1e1d;
}

/* Paraşüt Tarzı Alt Çizgili 4'lü Sekme Şeridi */
.nkt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid #dfddd8;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.nkt-tabs .fs-subtab {
  border-radius: 0;
  border: 0;
  border-bottom: 2.5px solid transparent;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #7d7b76;
  background: transparent;
}

.nkt-tabs .fs-subtab:hover {
  color: #3d3c3a;
  background: rgba(0, 0, 0, 0.03);
}

.nkt-tabs .fs-subtab[aria-selected="true"] {
  color: #4a90b8;
  border-bottom-color: #4a90b8;
  background: transparent;
}

/* 3'lü KPI Şeridi */
.nkt-kpi-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.nkt-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e0dc;
  border-radius: 4px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nkt-kpi-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #7d7b76;
  text-transform: uppercase;
}

.nkt-kpi-val {
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 700;
  color: #3d3c3a;
}

.nkt-kpi-val.is-accent {
  color: #4a90b8;
}

.nkt-kpi-val.is-success {
  color: #2f8b6b;
}

.nkt-kpi-val.is-danger {
  color: #de7763;
}

/* AI Banka Eşleştirme Kartı */
.nkt-ai-card {
  background: #eef9f5;
  border: 1px solid #bfe6d7;
  border-radius: 4px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nkt-ai-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nkt-ai-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1f5f49;
}

/* Beyaz Tablo Kartı + Duyarlı Tablo (responsive-table rehberi) */
.nkt-table-card {
  background: #ffffff;
  border: 1px solid #e2e0dc;
  border-radius: 4px;
  overflow: hidden;
}

.nkt-table-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid #eceae6;
}

.nkt-table-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #4a90b8;
}

.nkt-table-wrap {
  overflow: auto;
  max-inline-size: 100%;
  max-block-size: min(520px, 75vh);
  container-type: inline-size;
}

.nkt-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.nkt-table thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 1;
}

.nkt-table thead th {
  background: #f7f6f4;
  color: #7d7b76;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #eceae6;
  white-space: nowrap;
}

.nkt-table tbody th,
.nkt-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid #f0efec;
  vertical-align: middle;
  text-align: left;
  font-weight: 400;
}

.nkt-table tbody th {
  position: sticky;
  inset-inline-start: 0;
  background: #ffffff;
  font-weight: 600;
}

.nkt-table tbody tr {
  cursor: pointer;
}

.nkt-table tbody tr:hover td,
.nkt-table tbody tr:hover th {
  background: #faf9f7;
}

.nkt-table .fs-num,
.nkt-table th.fs-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@container (width < 600px) {
  .nkt-table,
  .nkt-table thead,
  .nkt-table tbody,
  .nkt-table tr,
  .nkt-table th,
  .nkt-table td {
    display: block;
  }

  .nkt-table thead {
    display: none;
  }

  .nkt-table tbody tr {
    margin-block-end: 12px;
    border: 1px solid #e2e0dc;
    border-radius: 4px;
    padding: 8px;
  }

  .nkt-table tbody th {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
    background: #f7f6f4;
    border-radius: 3px;
  }

  .nkt-table td::before {
    font-weight: 600;
    color: #7d7b76;
    margin-inline-end: 6px;
  }

  .nkt-table-hesaplar td:nth-child(2)::before { content: "Tür: "; }
  .nkt-table-hesaplar td:nth-child(3)::before { content: "Bakiye: "; }
}

/* Durum Rozetleri */
.nkt-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.nkt-badge-alinan {
  background: #eef9f5;
  color: #1f5f49;
  border: 1px solid #bfe6d7;
}

.nkt-badge-verilen {
  background: #fdf6ec;
  color: #9e5a11;
  border: 1px solid #f0d7b5;
}

.nkt-badge-banka {
  background: #f3f7fa;
  color: #346888;
  border: 1px solid #c9dfec;
}

.nkt-row-btn {
  appearance: none;
  border: 1px solid #dfddd8;
  background: #ffffff;
  color: #3d3c3a;
  border-radius: 4px;
  padding: 5px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.nkt-row-btn:hover:not(:disabled) {
  border-color: #4a90b8;
  color: #4a90b8;
}

.nkt-row-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Virman / Transfer Formu */
.nkt-virman-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.nkt-virman-full {
  grid-column: 1 / -1;
}

.nkt-virman-msg {
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  background: #eef9f5;
  border: 1px solid #bfe6d7;
  color: #1f5f49;
}

.nkt-virman-msg.is-err {
  background: #fdf2f0;
  border-color: #f2cbc3;
  color: #b4432e;
}

/* Light-Dismiss Modal Dialog (light-dismiss-a-dialog rehberi) */
dialog.nkt-dialog {
  border: 1px solid #dfddd8;
  border-radius: 6px;
  padding: 0;
  width: min(540px, 92vw);
  max-height: 85vh;
  background: #ffffff;
  color: #3d3c3a;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  margin: auto;
}

dialog.nkt-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
}

.nkt-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #eceae6;
  background: #f7f6f4;
}

.nkt-dialog-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #3d3c3a;
}

.nkt-dialog-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.nkt-dialog-kv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f0efec;
  font-size: 13px;
}

.nkt-dialog-kv span:first-child {
  color: #7d7b76;
}

.nkt-dialog-kv strong {
  font-variant-numeric: tabular-nums;
}

.nkt-dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid #eceae6;
}

@media (max-width: 900px) {
  .nkt-kpi-bar {
    grid-template-columns: 1fr;
  }
  .nkt-virman-form {
    grid-template-columns: 1fr;
  }
}

/* Filtre Çipleri & Çek Özet Şeridi */
.nkt-chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nkt-chip {
  appearance: none;
  border: 1px solid #dfddd8;
  background: #ffffff;
  color: #5d5b56;
  border-radius: 999px;
  padding: 4px 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.nkt-chip:hover {
  border-color: #4a90b8;
  color: #4a90b8;
}

.nkt-chip.is-active {
  background: #4a90b8;
  border-color: #4a90b8;
  color: #ffffff;
}

.nkt-cek-ozet-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 18px;
  background: #faf9f7;
  border-bottom: 1px solid #eceae6;
}

.nkt-cek-ozet-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
}

.nkt-cek-ozet-item span {
  color: #7d7b76;
}

.nkt-cek-ozet-item strong {
  font-size: 15px;
  font-weight: 700;
}

.nkt-cek-ozet-item strong.is-success {
  color: #2f8b6b;
}

.nkt-cek-ozet-item strong.is-danger {
  color: #de7763;
}

.nkt-tutar-giris {
  color: #2f8b6b;
  font-weight: 600;
}

.nkt-tutar-cikis {
  color: #de7763;
  font-weight: 600;
}

.nkt-cek-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.nkt-cek-actions .fs-select {
  min-width: 140px;
  padding: 4px 8px;
  font-size: 12px;
}

.nkt-virman-history {
  border-top: 1px solid #eceae6;
}

dialog.nkt-dialog-wide {
  width: min(740px, 94vw);
}

.nkt-dialog-subform {
  padding: 14px 18px;
  border-top: 1px solid #eceae6;
  background: #faf9f7;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nkt-dialog-subform h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #3d3c3a;
}

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

@media (max-width: 700px) {
  .nkt-cek-ozet-bar,
  .nkt-dialog-grid {
    grid-template-columns: 1fr;
  }
}
