.logo-text {
  display: inline-flex;
  align-items: center;
  height: 70px;
  color: #111827;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

[x-cloak] {
  display: none !important;
}

.logo-text-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: #405189;
  font-weight: 800;
}

.navbar-menu .nav-link.menu-link {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

.navbar-menu .nav-link.menu-link.active {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

/* Giriş ekranı: solda kurumsal tanıtım, sağda form; SMS kodu 6 kutu. */
.auth-split {
  --auth-navy: #1f2a4d;
  --auth-navy-2: #2c3a66;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #f3f5f9;
}
.auth-brand {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(1200px 600px at -10% 110%, rgba(10, 179, 156, .25), transparent 60%),
    linear-gradient(150deg, var(--auth-navy) 0%, var(--auth-navy-2) 100%);
}
.auth-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.auth-brand > * { position: relative; z-index: 1; }
.auth-brand-mark { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; }
.auth-brand-logo {
  width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--auth-navy);
  display: grid; place-items: center; font-weight: 800; font-size: 20px; flex: 0 0 40px;
}
.auth-brand-body { max-width: 440px; }
.auth-brand-body h1 { font-size: 32px; line-height: 1.25; font-weight: 700; margin-bottom: 14px; color: #fff; }
.auth-brand-body p { color: rgba(255, 255, 255, .72); font-size: 15px; margin-bottom: 28px; }
.auth-brand-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.auth-brand-list li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, .88); font-size: 14px; }
.auth-brand-list i {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; background: rgba(255, 255, 255, .1);
  display: grid; place-items: center; font-size: 16px; color: #7fe3d4;
}
.auth-brand-foot { color: rgba(255, 255, 255, .5); font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; }
.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-stepper { display: flex; gap: 8px; margin-bottom: 28px; }
.auth-stepper span { flex: 1; height: 4px; border-radius: 4px; background: #e3e7ef; transition: background .2s; }
.auth-stepper span.on { background: var(--vz-primary); }
.auth-title { font-size: 24px; font-weight: 700; color: var(--auth-navy); margin-bottom: 6px; }
.auth-sub { color: #6c757d; font-size: 14px; margin-bottom: 28px; }
.auth-card .form-label { font-weight: 600; font-size: 13px; color: #495057; }
.auth-input { position: relative; }
.auth-input > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #98a2b3; font-size: 18px; pointer-events: none; }
.auth-input .form-control { padding-left: 42px; padding-right: 44px; height: 48px; border-radius: 10px; border-color: #dfe3ea; }
.auth-input-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent;
  color: #98a2b3; font-size: 18px; width: 36px; height: 36px; border-radius: 8px;
}
.auth-input-eye:hover { color: #495057; }
.auth-btn { height: 48px; border-radius: 10px; font-weight: 600; }
.auth-note { margin-top: 28px; font-size: 12px; color: #98a2b3; display: flex; align-items: center; gap: 6px; justify-content: center; }
.auth-otp-info { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; padding: 14px 16px; border-radius: 12px; background: #eef1f8; font-size: 13.5px; color: #495057; line-height: 1.4; }
.auth-otp-icon { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 10px; background: var(--vz-primary); color: #fff; display: grid; place-items: center; font-size: 20px; }
.auth-otp-boxes { display: flex; gap: 10px; justify-content: space-between; margin-bottom: 12px; }
.auth-otp-cell { display: flex; align-items: center; gap: 10px; }
.auth-otp-sep { color: #c0c6d4; font-weight: 700; }
.auth-otp-box {
  width: 56px; height: 64px; padding: 0; text-align: center; font-size: 26px; font-weight: 700; color: var(--auth-navy);
  border: 1.5px solid #dfe3ea; border-radius: 12px; background: #fff; outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s; caret-color: var(--vz-primary);
}
.auth-otp-box.filled { border-color: #b9c3dc; background: #f8f9fc; }
.auth-otp-box:focus { border-color: var(--vz-primary); box-shadow: 0 0 0 4px rgba(var(--vz-primary-rgb), .15); }
.auth-otp-box:disabled { opacity: .6; }
.auth-otp-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: #6c757d; margin-bottom: 22px; }
.auth-otp-timer { font-variant-numeric: tabular-nums; color: var(--auth-navy); }
.auth-otp-resend { border: 0; background: transparent; padding: 0; color: var(--vz-primary); font-size: 13px; }
.auth-otp-resend:disabled { color: #98a2b3; }
.auth-back { border: 0; background: transparent; color: #6c757d; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.auth-back:hover { color: var(--auth-navy); }
@media (max-width: 991.98px) {
  .auth-split { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .auth-brand { padding: 22px 20px; }
  .auth-brand-mark { font-size: 17px; }
  .auth-brand-body, .auth-brand-foot { display: none; }
  .auth-form-side { align-items: flex-start; padding: 28px 16px; }
}
@media (max-width: 420px) {
  .auth-otp-boxes, .auth-otp-cell { gap: 6px; }
  .auth-otp-box { width: 44px; height: 54px; font-size: 22px; }
}

.content-view .card,
.metric-card,
.customer-summary {
  border-radius: 6px;
}

.metric-card {
  display: block;
  height: 100%;
  padding: 18px;
  color: inherit;
  background: #fff;
  border: 0;
  box-shadow: 0 1px 2px rgba(56, 65, 74, .15);
  text-align: left;
}

.metric-card:hover {
  transform: translateY(-1px);
}

.metric-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #405189;
  background: rgba(64, 81, 137, .12);
  font-size: 22px;
}

.metric-value {
  display: block;
  margin-top: 16px;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
}

.metric-label {
  display: block;
  margin-top: 8px;
  color: #878a99;
  font-size: 13px;
}

.list-search-form {
  min-width: min(430px, 100%);
}

.row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  white-space: nowrap;
}

.row-actions .btn {
  display: inline-flex;
  width: auto;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.row-actions .btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
}

/* Etiketli acilir menu dugmesi (Islemler): belirgin arka plan ve kenarlik */
.row-actions .islem-menu .btn {
  width: auto;
  padding: 5px 11px;
  white-space: nowrap;
  background-color: #eef4ff;
  color: #2563eb;
  border: 1px solid #cfe0ff;
}

.row-actions .islem-menu .btn:hover,
.row-actions .islem-menu .btn:focus,
.row-actions .islem-menu .btn.show {
  background-color: #3577f1 !important;
  border-color: #3577f1 !important;
  color: #fff !important;
}

/* SES/SMS/ISS satir ve ust bar islem butonlari */
.sth-row-action-btn {
  min-width: 132px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.sth-row-action-btn.sth-row-action-add {
  background-color: #405189;
  border: 1px solid #405189;
  color: #fff;
}

.sth-row-action-btn.sth-row-action-add:hover,
.sth-row-action-btn.sth-row-action-add:focus {
  background-color: #33416d !important;
  border-color: #33416d !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(64, 81, 137, 0.28);
}

.sth-row-action-btn.sth-row-action-view {
  background-color: #e0ebff;
  border: 1px solid #93bbf5;
  color: #1e40af;
}

.sth-row-action-btn.sth-row-action-view:hover,
.sth-row-action-btn.sth-row-action-view:focus {
  background-color: #3577f1 !important;
  border-color: #3577f1 !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(53, 119, 241, 0.28);
}

.sth-bulk-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  padding: 5px 12px;
  font-weight: 600;
  border-radius: 6px;
  background-color: #e0ebff;
  border: 1px solid #93bbf5;
  color: #1e40af;
  white-space: nowrap;
}

.sth-bulk-action-btn:hover:not(:disabled),
.sth-bulk-action-btn:focus:not(:disabled) {
  background-color: #3577f1 !important;
  border-color: #3577f1 !important;
  color: #fff !important;
}

.sth-bulk-action-btn:hover:not(:disabled) .badge,
.sth-bulk-action-btn:focus:not(:disabled) .badge {
  background-color: rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
}

.sth-bulk-action-btn:disabled {
  background-color: #eaedf3 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  opacity: 0.9;
}

.empty-row {
  height: 150px;
  color: #878a99;
  text-align: center;
}

.customer-detail-link {
  color: #405189;
  font-weight: 600;
}

.customer-detail-link:hover {
  color: #2f3d6f;
  text-decoration: underline;
}

.customer-suggestion-box {
  position: absolute;
  z-index: 1050;
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #e9ebec;
  border-radius: 6px;
  background: #f8f9fa;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}

.customer-suggestion-title {
  margin-bottom: 8px;
  color: #878a99;
  font-size: 12px;
  font-weight: 700;
}

.customer-match-list {
  display: grid;
  gap: 6px;
}

.customer-match-item {
  display: block;
  width: 100%;
  padding: 8px 10px;
  color: inherit;
  background: #fff;
  border: 1px solid #e9ebec;
  border-radius: 6px;
  text-align: left;
}

.customer-match-item:hover {
  border-color: rgba(64, 81, 137, .38);
}

.customer-match-title,
.customer-match-meta {
  display: block;
}

.customer-match-title {
  color: #405189;
  font-weight: 700;
}

.customer-match-meta {
  margin-top: 2px;
  color: #878a99;
  font-size: 12px;
}

.status-pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #0ab39c;
  background: rgba(10, 179, 156, .1);
  font-size: 12px;
  font-weight: 700;
}

.status-pill.passive {
  color: #f06548;
  background: rgba(240, 101, 72, .1);
}

.status-pill.active {
  color: #0ab39c;
  background: rgba(10, 179, 156, .1);
}

.status-pill.opportunity {
  color: #f7b84b;
  background: rgba(247, 184, 75, .16);
}

.status-pill.danger {
  color: #f06548;
  background: rgba(240, 101, 72, .12);
}

/* Havuzdaki (musterisiz) numara: ne aktif ne pasif, notr gri */
.status-pill.neutral {
  color: #878a99;
  background: rgba(135, 138, 153, .14);
}

/* Numara listesi: secim cubugu ve atama modali rozetleri */
.numara-secim-cubugu {
  background: rgba(64, 81, 137, .06);
}

.numara-rozet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 500;
}

.numara-rozet-kaldir {
  width: 8px;
  height: 8px;
  padding: 0;
}

.status-pill.test {
  color: #3577f1;
  background: rgba(53, 119, 241, .12);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr);
  border: 1px solid #e9ebec;
  border-bottom: 0;
  border-radius: 6px;
  overflow: hidden;
}

.detail-key,
.detail-value {
  min-width: 0;
  padding: 10px 12px;
  border-bottom: 1px solid #e9ebec;
}

.detail-key {
  color: #495057;
  background: #f8f9fa;
  font-weight: 600;
}

.detail-value pre {
  margin: 0;
  white-space: pre-wrap;
}

.customer-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px;
  background: #f8f9fa;
  border: 1px solid #e9ebec;
}

.customer-title {
  font-size: 20px;
  font-weight: 700;
}

.customer-subtitle {
  margin-top: 4px;
  color: #878a99;
}

.customer-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.customer-stat {
  min-height: 66px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e9ebec;
  border-radius: 6px;
  text-align: left;
}

button.customer-stat {
  color: inherit;
}

button.customer-stat:hover {
  border-color: rgba(64, 81, 137, .38);
  box-shadow: 0 2px 6px rgba(56, 65, 74, .08);
}

.customer-stat span,
.related-head > div:first-child > span {
  display: block;
  color: #878a99;
  font-size: 13px;
}

.customer-stat strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

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

.customer-info-item {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e9ebec;
  border-radius: 6px;
  background: #fff;
}

.customer-info-item-wide {
  grid-column: span 2;
}

.customer-info-item span {
  display: block;
  margin-bottom: 7px;
  color: #495057;
  font-size: 13px;
  font-weight: 600;
}

.customer-info-item strong {
  display: block;
  min-height: 24px;
  color: #212529;
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.customer-tabs {
  gap: 4px;
  margin-bottom: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
}

.customer-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.tab-count {
  min-width: 24px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #405189;
  background: rgba(64, 81, 137, .1);
  font-size: 12px;
  font-weight: 700;
}

/* Sekme sayaci yuklenirken rozet icindeki kucuk spinner */
.relation-count-spinner {
  width: 11px;
  height: 11px;
  border-width: 2px;
  vertical-align: -1px;
  color: currentColor;
}

.customer-stat .relation-count-spinner {
  width: 16px;
  height: 16px;
}

.related-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.modal .form-label,
.customer-form-card .form-label {
  font-weight: 600;
}

.modal textarea.form-control,
.customer-form-card textarea.form-control {
  min-height: 92px;
}

.table td,
.table th {
  vertical-align: middle;
}

.table td {
  max-width: 420px;
  overflow-wrap: anywhere;
}

.empty-related {
  display: grid;
  min-height: 160px;
  place-items: center;
  color: #878a99;
  border: 1px dashed #dfe2e5;
  border-radius: 6px;
  background: #fbfcfd;
}

@media (max-width: 768px) {
  .list-search-form {
    min-width: 100%;
  }

  .row-actions {
    flex-wrap: wrap;
  }

  .detail-grid,
  .customer-info-grid,
  .customer-summary {
    grid-template-columns: 1fr;
  }

  .customer-info-item-wide {
    grid-column: auto;
  }

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

/* ── Toast Host: Modal arkasında kalmamasi icin z-index ──
   Bootstrap .modal = 1055, .modal-backdrop = 1050, sector/tur modal = 1065.
   Toast container'i bunlardan daha yukarida tutulur ki
   acik modal uzerinde hata/basari mesajlari gorunebilsin. */
#toastHost {
  z-index: 100060 !important;
}

#toastHost .toast {
  min-width: 280px;
  max-width: 360px;
  box-shadow: 0 12px 32px rgba(34, 48, 73, .28);
}

/* ── Bootstrap Modal Kurumsal Tema ──
   Not: Sağa/sola taşımayı önlemek için modal-dialog
   pozisyonu sabitlenir, transform garantisi verilir. */
.modal {
  --vz-modal-bg: #fff;
}

#sectorModal,
#turModal {
  z-index: 1065;
}

#sectorModal.show,
#turModal.show {
  background-color: rgba(15, 23, 42, 0.45);
}

.modal-backdrop.show {
  opacity: .55;
}

.telilet-modal .modal-dialog {
  margin: 1.75rem auto;
  transform: none !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.telilet-modal.fade .modal-dialog {
  transform: scale(.96) !important;
  transition: transform .25s cubic-bezier(.4, 0, .2, 1), opacity .25s ease;
  opacity: 0;
}

.telilet-modal.show .modal-dialog {
  transform: scale(1) !important;
  opacity: 1;
}

.telilet-modal .modal-content {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(34, 48, 73, .28), 0 8px 24px rgba(0, 0, 0, .08);
}

.telilet-modal .modal-content::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #405189 0%, #5163a8 50%, #405189 100%);
  z-index: 5;
}

/* Icinde acilir arama listesi olan modallar: liste modal disina tasabilsin
   (overflow:hidden listeyi kirpiyor, kirpik alana tiklama modali kapatiyordu) */
.telilet-modal.telilet-modal-acilir .modal-content {
  overflow: visible;
}

.telilet-modal.telilet-modal-acilir .modal-content::before {
  border-radius: 14px 14px 0 0;
}

.telilet-modal.telilet-modal-acilir .modal-header {
  border-radius: 14px 14px 0 0;
}

.telilet-modal.telilet-modal-acilir .modal-footer {
  border-radius: 0 0 14px 14px;
}

.telilet-modal .modal-header {
  align-items: center;
  gap: 12px;
  padding: 1.15rem 1.4rem .9rem;
  border-bottom: 1px solid #eef0f4;
  background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%);
}

.telilet-modal .modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.telilet-modal .modal-title-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #405189, #5163a8);
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(64, 81, 137, .25);
}

.telilet-modal .modal-title {
  margin: 0;
  color: #2c3e50;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.telilet-modal .modal-header .btn-close {
  position: relative;
  margin: 0;
  padding: .5rem;
  border-radius: 8px;
  transition: background .2s, transform .2s;
}

.telilet-modal .modal-header .btn-close:hover {
  background: rgba(240, 101, 72, .12);
  transform: rotate(90deg);
}

.telilet-modal .modal-body {
  padding: 1.35rem 1.4rem;
  color: #495057;
}

.telilet-modal .modal-footer {
  gap: .55rem;
  padding: .9rem 1.4rem 1.1rem;
  border-top: 1px solid #eef0f4;
  background: #fbfcfe;
}

.telilet-modal .modal-footer .btn {
  min-width: 110px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  padding: .55rem 1.25rem;
  transition: all .2s ease;
}

.telilet-modal .modal-footer .btn-primary {
  background: linear-gradient(135deg, #405189, #5163a8);
  border: 0;
  box-shadow: 0 3px 8px rgba(64, 81, 137, .25);
}

.telilet-modal .modal-footer .btn-primary:hover {
  background: linear-gradient(135deg, #364578, #4658a0);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(64, 81, 137, .35);
}

.telilet-modal .modal-footer .btn-light {
  border: 1px solid #dee2e6;
  color: #495057;
}

.telilet-modal .modal-footer .btn-light:hover {
  background: #f4f5f7;
  border-color: #ced4da;
  color: #343a40;
}

.telilet-modal .form-control:focus,
.telilet-modal .form-select:focus {
  border-color: rgba(64, 81, 137, .55);
  box-shadow: 0 0 0 .2rem rgba(64, 81, 137, .15);
}

.firma-btk-profile {
  padding: 1rem;
  border: 1px solid;
  border-radius: 7px;
}

.firma-btk-profile h6 {
  font-size: .95rem;
  font-weight: 700;
  color: inherit;
}

.firma-btk-profile-test {
  color: #193c76;
  border-color: #a4c8ff;
  background: #f1f7ff;
}

.firma-btk-profile-live {
  color: #087b80;
  border-color: #7fd4d9;
  background: #f0fbfb;
}

.firma-btk-badge {
  padding: .25rem .6rem;
  border-radius: 7px;
  font-size: .7rem;
  font-weight: 700;
}

.firma-btk-profile-test .firma-btk-badge {
  color: #285bad;
  background: #d9e9ff;
}

.firma-btk-profile-live .firma-btk-badge {
  color: #087b80;
  background: #cceeee;
}

.firma-btk-profile .form-control {
  background: #fff;
}

.firma-btk-notice {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 42px;
  margin-top: 1.65rem;
  padding: .65rem .85rem;
  color: #925700;
  border: 1px solid #f7ce80;
  border-radius: 7px;
  background: #fff8e9;
}

@media (max-width: 991.98px) {
  .firma-btk-notice {
    margin-top: 0;
  }
}

.contact-search-select {
  position: relative;
}

.contact-search-select-trigger {
  text-align: left;
}

.contact-search-select-trigger span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-search-select-panel {
  position: absolute;
  inset: calc(100% + 6px) 0 auto;
  z-index: 10;
  padding: 8px;
  border: 1px solid #dce1ed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(38, 49, 80, .16);
}

.contact-search-select-search {
  position: relative;
  margin-bottom: 6px;
}

.contact-search-select-search > i {
  position: absolute;
  top: 50%;
  left: 11px;
  transform: translateY(-50%);
  color: #7b849a;
  pointer-events: none;
}

.contact-search-select-search input {
  padding-left: 34px;
  border-radius: 7px;
}

.contact-search-select-options {
  max-height: min(220px, 35vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.contact-search-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #495057;
  text-align: left;
  font-size: 13px;
}

.contact-search-select-option.is-active,
.contact-search-select-option:hover {
  background: #eef1f9;
  color: #405189;
}

.contact-search-select-option.is-selected {
  color: #405189;
  font-weight: 600;
}

.contact-search-select-empty {
  margin: 0;
  padding: 14px 10px;
  color: #7b849a;
  font-size: 13px;
}

[data-layout-mode="dark"] .contact-search-select-panel {
  background: #2a2d3a;
  border-color: #454b60;
}

[data-layout-mode="dark"] .contact-search-select-option {
  color: #c7ccd6;
}

[data-layout-mode="dark"] .contact-search-select-option.is-active,
[data-layout-mode="dark"] .contact-search-select-option:hover,
[data-layout-mode="dark"] .contact-search-select-option.is-selected {
  background: #353d59;
  color: #e5eaff;
}

/* Dark mode uyumu */
[data-layout-mode="dark"] .telilet-modal .modal-content {
  background: #2a2d3a;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .55), 0 8px 24px rgba(0, 0, 0, .35);
}

[data-layout-mode="dark"] .telilet-modal .modal-header {
  background: linear-gradient(180deg, #2f3342 0%, #2a2d3a 100%);
  border-bottom-color: rgba(255, 255, 255, .08);
}

[data-layout-mode="dark"] .telilet-modal .modal-title {
  color: #f3f5f8;
}

[data-layout-mode="dark"] .telilet-modal .modal-body,
[data-layout-mode="dark"] .telilet-modal .modal-footer {
  color: #c7ccd6;
  background: #2a2d3a;
}

[data-layout-mode="dark"] .telilet-modal .modal-footer {
  border-top-color: rgba(255, 255, 255, .08);
}

[data-layout-mode="dark"] .telilet-modal .modal-footer .btn-light {
  background: #353846;
  border-color: rgba(255, 255, 255, .12);
  color: #e9ecef;
}

[data-layout-mode="dark"] .telilet-modal .detail-key {
  background: #323645;
  color: #c7ccd6;
}

@media (max-width: 575.98px) {
  .telilet-modal .modal-dialog {
    margin: .5rem;
  }
  .telilet-modal .modal-header,
  .telilet-modal .modal-body,
  .telilet-modal .modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .telilet-modal .modal-footer .btn {
    min-width: 0;
    flex: 1;
  }
}

/* Telilet SweetAlert2 tema */
.swal2-container {
  z-index: 100050 !important;
}

.notyf {
  z-index: 100070 !important;
}

.swal2-popup.telilet-swal {
  --telilet-swal-main: #405189;
  --telilet-swal-soft: #eef2ff;
  --telilet-swal-ring: rgba(64, 81, 137, .22);
  width: min(440px, calc(100vw - 32px));
  border: 1px solid rgba(64, 81, 137, .10);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(64, 81, 137, .14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 28px 90px rgba(15, 23, 42, .26), 0 10px 26px rgba(15, 23, 42, .12);
  color: #1f2937;
  font-family: inherit;
  overflow: hidden;
  padding: 2.15rem 2rem 1.7rem;
}

.swal2-popup.telilet-swal::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--telilet-swal-main), #2dd4bf, #38bdf8);
}

.swal2-popup.telilet-swal::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 22px;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: var(--telilet-swal-soft);
  opacity: .72;
  pointer-events: none;
}

.swal2-popup.telilet-swal .swal2-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin: .15rem auto .85rem;
  border-width: 0;
  background: var(--telilet-swal-soft);
  color: var(--telilet-swal-main);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .74), 0 10px 28px var(--telilet-swal-ring);
}

.swal2-popup.telilet-swal .swal2-icon .swal2-icon-content {
  font-size: 2rem;
  font-weight: 700;
}

.swal2-popup.telilet-swal .swal2-title {
  position: relative;
  z-index: 1;
  max-width: 340px;
  margin: 0 auto;
  padding: 0;
  color: #111827;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0;
}

.swal2-popup.telilet-swal .swal2-html-container {
  position: relative;
  z-index: 1;
  max-width: 350px;
  margin: .65rem auto 0;
  color: #64748b;
  font-size: .94rem;
  line-height: 1.58;
}

.swal2-popup.telilet-swal .swal2-actions {
  position: relative;
  z-index: 1;
  gap: .65rem;
  margin: 1.55rem 0 0;
}

.swal2-popup.telilet-swal .swal2-styled {
  min-width: 118px;
  border-radius: 11px;
  box-shadow: none;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: .68rem 1.35rem;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.swal2-popup.telilet-swal .swal2-styled:hover {
  transform: translateY(-1px);
}

.swal2-popup.telilet-swal .swal2-confirm,
.swal2-popup.telilet-swal .telilet-swal-confirm {
  border: 0;
  background: linear-gradient(135deg, var(--telilet-swal-main), #5468c2);
  color: #fff;
}

.swal2-popup.telilet-swal .swal2-confirm:hover,
.swal2-popup.telilet-swal .telilet-swal-confirm:hover {
  box-shadow: 0 10px 22px var(--telilet-swal-ring);
}

.swal2-popup.telilet-swal .swal2-cancel,
.swal2-popup.telilet-swal .telilet-swal-cancel {
  border: 1px solid #d8deea;
  background: rgba(255, 255, 255, .86);
  color: #475569;
}

.swal2-popup.telilet-swal .swal2-cancel:hover,
.swal2-popup.telilet-swal .telilet-swal-cancel:hover {
  border-color: #c5cfdd;
  background: #f8fafc;
  color: #1f2937;
}

.swal2-popup.telilet-swal .swal2-close {
  top: .75rem;
  right: .75rem;
  color: #94a3b8;
  font-size: 1.45rem;
  transition: color .18s ease, background-color .18s ease;
}

.swal2-popup.telilet-swal .swal2-close:hover {
  background: #f1f5f9;
  color: #334155;
}

.swal2-popup.telilet-swal .swal2-styled:focus {
  box-shadow: 0 0 0 4px var(--telilet-swal-ring);
}

.swal2-popup.telilet-swal .swal2-timer-progress-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--telilet-swal-main), #2dd4bf);
}

.swal2-popup.telilet-swal.telilet-swal-success {
  --telilet-swal-main: #10b981;
  --telilet-swal-soft: #dffcf1;
  --telilet-swal-ring: rgba(16, 185, 129, .24);
}

.swal2-popup.telilet-swal.telilet-swal-error,
.swal2-popup.telilet-swal.telilet-swal-danger {
  --telilet-swal-main: #ef4444;
  --telilet-swal-soft: #fff1f2;
  --telilet-swal-ring: rgba(239, 68, 68, .24);
}

.swal2-popup.telilet-swal.telilet-swal-warning {
  --telilet-swal-main: #f59e0b;
  --telilet-swal-soft: #fff7df;
  --telilet-swal-ring: rgba(245, 158, 11, .24);
}

.swal2-popup.telilet-swal.telilet-swal-info {
  --telilet-swal-main: #0ea5e9;
  --telilet-swal-soft: #e0f2fe;
  --telilet-swal-ring: rgba(14, 165, 233, .24);
}

.swal2-popup.telilet-swal.telilet-swal-danger::before {
  background: linear-gradient(90deg, #ef4444, #fb7185, #f97316);
}

.swal2-popup.telilet-swal.telilet-swal-danger .swal2-confirm,
.swal2-popup.telilet-swal.telilet-swal-danger .telilet-swal-confirm {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

@media (max-width: 575.98px) {
  .swal2-popup.telilet-swal {
    width: calc(100vw - 24px);
    padding: 1.85rem 1.25rem 1.35rem;
  }

  .swal2-popup.telilet-swal .swal2-actions {
    width: 100%;
    gap: .5rem;
  }

  .swal2-popup.telilet-swal .swal2-styled {
    flex: 1;
    min-width: 0;
    padding-left: .75rem;
    padding-right: .75rem;
    white-space: normal;
  }
}

/* BTK e-Kayit basvuru formu */
.btk-form .customer-form-card {
  margin-bottom: 18px;
}

.btk-izin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.btk-izin-card {
  display: block;
  min-height: 82px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #e9ebec;
  border-radius: 6px;
  background: #f8f9fa;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.btk-izin-card:hover {
  border-color: #a7b4c4;
  background: #fff;
  box-shadow: 0 2px 8px rgba(49, 69, 95, .08);
}

.btk-izin-card .form-check-input {
  float: none;
  margin: 2px 8px 0 0;
  vertical-align: top;
}

.btk-izin-title {
  display: inline-block;
  font-weight: 600;
  color: #34495e;
}

.btk-izin-desc {
  display: block;
  margin: 7px 0 0 26px;
  font-size: 11px;
  line-height: 1.35;
  color: #878a99;
}

@media (max-width: 1200px) {
  .btk-izin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .btk-izin-grid {
    grid-template-columns: 1fr;
  }
}

/* Abonelik sozlesmesi formu; .musteri-arama-liste ayni acilir sonuc listesinin
   numara filtresi ve atama modalindaki karsiligi */
.soz-musteri-liste,
.musteri-arama-liste {
  top: 100%;
  left: 0;
  z-index: 1060;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 0;
}

.soz-satir-tablo input.form-control {
  min-width: 70px;
}

.soz-satir-tablo td {
  max-width: none;
}

.soz-satir-tablo .dropdown-menu {
  min-width: 180px;
  max-width: 320px;
}

/* Firma logosu */
.firma-logo-kucuk {
  max-height: 28px;
  max-width: 90px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e9ebec;
  border-radius: 4px;
  padding: 2px 4px;
}

.firma-logo-onizleme {
  display: grid;
  min-height: 120px;
  place-items: center;
  padding: 12px;
  border: 1px dashed #dfe2e5;
  border-radius: 6px;
  background: #fbfcfd;
}

.firma-logo-onizleme img {
  max-height: 96px;
  max-width: 100%;
  object-fit: contain;
}

/* Liste hucreleri: nowrap tablolarda uzun metin yandaki sutuna tasmasin */
.table-nowrap td:not(:last-child) {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hucre-kirp {
  display: inline-block;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

/* Islem acilir menusu: z-index ve kirpilma guvenligi */
.islem-menu {
  position: relative;
}

.islem-menu .dropdown-menu {
  min-width: 13.5rem;
  font-size: 13px;
  z-index: 1055 !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 6px 0;
}

.islem-menu .dropdown-item {
  padding: 7px 14px;
  display: flex;
  align-items: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.islem-menu .dropdown-item i {
  font-size: 15px;
  width: 18px;
  text-align: center;
}

.islem-menu .dropdown-item:hover {
  background-color: #f3f6f9;
}

.islem-menu .dropdown-item.text-danger:hover {
  background-color: #fde8e4;
  color: #f06548 !important;
}

/* Tablo tasiyicisi ve satirlari icin z-index guvencesi */
.table-responsive {
  position: relative;
}

.row-actions:has(.islem-menu .dropdown-menu.show),
tr:has(.islem-menu .dropdown-menu.show) {
  position: relative;
  z-index: 1050;
}

/* Bürünme Modu (Impersonation) */
.burunme-banner {
  background: linear-gradient(90deg, #f7b84b 0%, #f06548 100%);
  color: #fff;
  padding: 8px 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  min-height: 42px;
}

body.burunme-aktif #page-topbar {
  top: 42px !important;
}

body.burunme-aktif .app-menu {
  top: 42px !important;
}

body.burunme-aktif .main-content {
  padding-top: 42px;
}

/* Topbar kullanici ve firma bilgisi kirpma (uzun unvanlarda navbar dagilmasin) */
.topbar-user .user-name-text {
  display: inline-block;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.topbar-user .user-name-sub-text {
  display: block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 1400px) {
  .topbar-user .user-name-sub-text {
    max-width: 280px;
  }
}



/* ------------------------------------------------------------------
 * Sayfalama cubugu (inc/bilesenler/sayfalama.php)
 * ------------------------------------------------------------------ */
.tl-sayfalama {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.875rem 1rem;
  border-top: 1px solid var(--vz-border-color);
  transition: opacity 0.15s ease;
}

.tl-sayfalama--yukleniyor {
  opacity: 0.6;
}

.tl-sayfalama__bilgi {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--vz-secondary-color, #878a99);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.tl-sayfalama__boyut .form-select {
  width: auto;
  min-width: 7.5rem;
}

.tl-sayfalama__liste {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.tl-sayfalama__dugme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.625rem;
  border: 1px solid var(--vz-border-color);
  border-radius: 0.5rem;
  background: var(--vz-card-bg, #fff);
  color: var(--vz-body-color);
  font-size: 0.875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.tl-sayfalama__dugme i {
  font-size: 1.125rem;
}

.tl-sayfalama__dugme:hover:not(:disabled):not(.is-aktif) {
  border-color: var(--vz-primary);
  color: var(--vz-primary);
  background: rgba(var(--vz-primary-rgb), 0.06);
}

.tl-sayfalama__dugme:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(var(--vz-primary-rgb), 0.25);
}

.tl-sayfalama__dugme.is-aktif {
  border-color: var(--vz-primary);
  background: var(--vz-primary);
  color: #fff;
  box-shadow: 0 2px 6px rgba(var(--vz-primary-rgb), 0.35);
  cursor: default;
}

.tl-sayfalama__dugme:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.tl-sayfalama__bosluk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 2.25rem;
  color: var(--vz-secondary-color, #878a99);
  letter-spacing: 0.1em;
  user-select: none;
}

.tl-sayfalama__mobil-durum {
  display: none;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.tl-sayfalama__git {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.tl-sayfalama__git-etiket {
  margin: 0;
  color: var(--vz-secondary-color, #878a99);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.tl-sayfalama__git .input-group {
  flex-wrap: nowrap;
  width: 7.5rem;
}

.tl-sayfalama__git .form-control {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Tek satira sigmayan genislikte: ust satir bilgi + sayfaya git, alt satir dugmeler */
@media (max-width: 1399.98px) {
  .tl-sayfalama__liste {
    order: 3;
    width: 100%;
    justify-content: center;
  }
}

/* Orta ekran: "Onceki/Sonraki" yazilari yerine yalniz ok */
@media (max-width: 991.98px) {
  .tl-sayfalama__metin {
    display: none;
  }
}

/* Telefon: numara dizisi yerine "Sayfa 3 / 20", dugmeler parmakla rahat basilir */
@media (max-width: 575.98px) {
  .tl-sayfalama {
    justify-content: center;
    padding: 0.75rem;
  }

  .tl-sayfalama__bilgi {
    width: 100%;
    justify-content: space-between;
  }

  .tl-sayfalama__no {
    display: none;
  }

  .tl-sayfalama__mobil-durum {
    display: block;
    flex: 1 1 auto;
    text-align: center;
  }

  .tl-sayfalama__liste {
    gap: 0.375rem;
  }

  .tl-sayfalama__dugme {
    min-width: 2.75rem;
    height: 2.75rem;
  }

  .tl-sayfalama__git {
    order: 4;
    width: 100%;
    justify-content: center;
  }

  .tl-sayfalama__git .input-group {
    width: 9rem;
  }
}

[data-layout-mode="dark"] .tl-sayfalama__dugme:not(.is-aktif) {
  background: transparent;
}

/* Musteri detayi > SES/SMS/ISS abonelik tablosu: ozet kartlari, filtre ve tek satir islem menusu */
.hat-abonelik { --hat-ana: #405189; --hat-yesil: #0a8f7c; --hat-sari: #b7791f; --hat-kirmizi: #d4442a; --hat-mavi: #299cdb; }
.hat-ton-ana { background: #e2e7f6; color: var(--hat-ana); }
.hat-ton-turkuaz { background: #dcf4f1; color: #0ab39c; }
.hat-ton-mavi { background: #e1f0fb; color: #299cdb; }
.hat-ton-yesil { background: #daf4f0; color: var(--hat-yesil); }
.hat-ton-sari { background: #fff6e0; color: var(--hat-sari); }
.hat-ton-kirmizi { background: #fde8e4; color: var(--hat-kirmizi); }
.hat-ton-gri { background: #f1f2f4; color: #a0a6b1; }
.hat-renk-ana { color: var(--hat-ana); }
.hat-renk-mavi { color: var(--hat-mavi); }
.hat-renk-yesil { color: #0ab39c; }
.hat-renk-sari { color: #f7b84b; }
.hat-ozet { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.hat-ozet-kart { display: flex; align-items: center; gap: 10px; min-width: 160px; padding: 10px 14px; border: 1px solid #e9ebec; border-radius: 8px; background: #fff; }
.hat-ozet-kart strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.15; color: #212529; }
.hat-ozet-kart span:not(.hat-ozet-ikon) { font-size: 11.5px; color: #878a99; }
.hat-ozet-ikon { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 17px; flex: none; }
.hat-arac-cubugu { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.hat-arama { position: relative; width: 300px; max-width: 100%; }
.hat-arama i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #878a99; pointer-events: none; }
.hat-arama .form-control { padding-left: 30px; }
.hat-tur-secim .btn { border: 1px solid #e9ebec; background: #f8f9fb; color: #495057; font-size: 12.5px; padding: 4px 12px; }
.hat-tur-secim .btn span { margin-left: 4px; color: #878a99; }
.hat-tur-secim .btn.active { background: var(--hat-ana); border-color: var(--hat-ana); color: #fff; }
.hat-tur-secim .btn.active span { color: rgba(255, 255, 255, .75); }
.hat-iptal-gizle { font-size: 12.5px; color: #6d7080; }
.hat-tablo { font-size: 13px; }
.hat-tablo thead th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: #878a99; font-weight: 600; background: #f8f9fb; padding: 10px 12px; border-bottom: 1px solid #e9ebec; white-space: nowrap; }
.hat-tablo td { padding: 11px 12px; border-color: #f1f2f4; white-space: nowrap; }
.hat-tablo tbody tr:hover > td { background: #fafbfd; }
.hat-tablo tbody tr.hat-secili > td { background: #f4f7fe; }
.hat-tablo tr.hat-iptal td, .hat-tablo tr.hat-iptal .hat-ana { color: #9aa0ac; }
.hat-hizmet { display: flex; align-items: center; gap: 10px; }
.hat-hizmet-ikon { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-size: 18px; flex: none; }
.hat-ana { font-weight: 600; color: #212529; line-height: 1.25; }
.hat-numara { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.hat-alt { font-size: 11.5px; color: #878a99; }
.hat-durum { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.hat-durum::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hat-durum-aktif { background: #daf4f0; color: var(--hat-yesil); }
.hat-durum-iptal { background: #fde8e4; color: var(--hat-kirmizi); }
.hat-durum-yok { background: #f1f2f4; color: #6d7080; }
.hat-btk { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 6px; }
.hat-btk-hazir { color: var(--hat-yesil); background: #eefaf8; }
.hat-btk-eksik { color: var(--hat-sari); background: #fff6e0; }
.hat-btk-kapali { color: #878a99; background: #f5f6f8; }
.hat-menu-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid #e9ebec; background: #fff; color: #495057; display: inline-grid; place-items: center; font-size: 18px; padding: 0; }
.hat-menu-btn:hover, .hat-menu-btn:focus-visible { border-color: #c5cbe0; background: #f3f6fb; }
.hat-menu-btn.show { background: var(--hat-ana); border-color: var(--hat-ana); color: #fff; }
.hat-menu-btn:disabled { opacity: .5; }
.hat-menu-liste { min-width: 280px; padding: 6px; border-radius: 10px; border: 1px solid #eef0f2; box-shadow: 0 10px 30px rgba(30, 32, 37, .16); font-size: 13px; }
.hat-menu-liste .hat-menu-baslik { padding: 6px 10px 6px; font-size: 11px; color: #878a99; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.hat-menu-liste .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; color: #343a40; }
.hat-menu-liste .dropdown-item i { font-size: 16px; width: 18px; text-align: center; }
.hat-menu-liste .dropdown-item:hover, .hat-menu-liste .dropdown-item:focus { background: #f3f6fb; }
.hat-menu-liste .dropdown-item.text-danger { color: var(--hat-kirmizi) !important; }
.hat-menu-liste .dropdown-divider { margin: 5px 4px; }
@media (max-width: 575.98px) {
  .hat-ozet-kart { flex: 1 1 calc(50% - 10px); min-width: 0; }
  .hat-arama { width: 100%; }
}

/* Hat islemi > Musteri devir: hedef musteri otomatik tamamlama */
.devir-musteri { position: relative; }
.devir-girdi { position: relative; }
.devir-girdi > i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #878a99; pointer-events: none; }
.devir-girdi .form-control { padding-left: 34px; padding-right: 34px; }
.devir-yukleniyor { position: absolute; right: 12px; top: 50%; margin-top: -.5rem; color: #878a99; }
.devir-oneriler { position: static; margin-top: 4px !important; max-height: 220px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #e9ebec; border-radius: 8px; box-shadow: 0 10px 30px rgba(30, 32, 37, .14); }
.devir-oneri { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.devir-oneri.aktif { background: #f3f6fb; }
.devir-bos { padding: 10px; color: #878a99; font-size: 13px; }
.devir-harf { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex: none; background: #e2e7f6; color: #405189; font-weight: 600; }
.devir-ad { font-weight: 600; color: #212529; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.devir-alt { font-size: 12px; color: #878a99; }
.devir-secili { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #93bbf5; background: #f4f8ff; border-radius: 8px; }
.devir-secili .devir-harf { background: #405189; color: #fff; }
.devir-tik { color: #0ab39c; font-size: 20px; }
.min-w-0 { min-width: 0; }

/* Numaralar: NVI Durum anahtari ve bilgi menusu */
.nvi-anahtar { display: inline-flex; align-items: center; gap: .4rem; min-height: auto; }
.nvi-anahtar .form-check-input { cursor: pointer; }
.nvi-anahtar .form-check-input:not(:checked) { background-color: rgba(var(--vz-danger-rgb, 220, 53, 69), .12); border-color: rgba(var(--vz-danger-rgb, 220, 53, 69), .45); }
.nvi-anahtar .form-check-label { cursor: pointer; font-weight: 500; min-width: 2.6rem; }
.nvi-bilgi-menu { width: 290px; white-space: normal; text-transform: none; letter-spacing: normal; }
