/* —— Xüsusi kvota — Lokal: kvota malları modalı (premium, səhifə ilə uyumlu) —— */
#xkLocal_modal.xkl-modal-root {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 28px);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

#xkLocal_modal .xkl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(8, 18, 36, 0.72), rgba(15, 23, 42, 0.55));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#xkLocal_modal .xkl-modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(88vh, 900px);
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.2), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(129, 140, 248, 0.18), transparent 38%),
    linear-gradient(165deg, #0c1629 0%, #111c35 48%, #0f172a 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 32px 80px rgba(2, 8, 23, 0.55),
    0 12px 40px rgba(14, 165, 233, 0.08);
}

#xkLocal_modal .xkl-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
}

#xkLocal_modal .xkl-modal-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.78);
}

#xkLocal_modal .xkl-modal-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #f8fafc;
  line-height: 1.15;
}

#xkLocal_modal .xkl-modal-lead {
  margin: 0;
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.88);
  font-weight: 500;
}

#xkLocal_modal .xkl-modal-lead strong {
  color: #e0f2fe;
  font-weight: 800;
}

#xkLocal_modal .xkl-modal-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.5);
  color: #e2e8f0;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

#xkLocal_modal .xkl-modal-close:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

#xkLocal_modal .xkl-modal-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 6px;
  padding: 14px 20px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

#xkLocal_modal .xkl-modal-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: rgba(203, 213, 225, 0.75);
  font-size: 12px;
  font-weight: 700;
}

#xkLocal_modal .xkl-modal-step.is-active {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(99, 102, 241, 0.2));
  border-color: rgba(125, 211, 252, 0.35);
  color: #e0f2fe;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.12);
}

#xkLocal_modal .xkl-modal-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 10px;
  background: rgba(8, 15, 30, 0.65);
  font-weight: 900;
  font-size: 11px;
  color: #bae6fd;
}

#xkLocal_modal .xkl-modal-step.is-active .xkl-modal-step-num {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  color: #fff;
}

#xkLocal_modal .xkl-modal-step-connector {
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.15), rgba(129, 140, 248, 0.35), rgba(125, 211, 252, 0.15));
  opacity: 0.85;
}

#xkLocal_modal .xkl-modal-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px 16px;
  align-items: end;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(8, 15, 30, 0.35);
}

#xkLocal_modal .xkl-modal-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.72);
}

#xkLocal_modal .xkl-modal-field input {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.72);
  color: #f1f5f9;
  font-size: 15px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#xkLocal_modal .xkl-modal-field input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

#xkLocal_modal .xkl-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-height: 46px;
  margin: 0;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

#xkLocal_modal .xkl-modal-btn:hover {
  transform: translateY(-1px);
}

#xkLocal_modal .xkl-modal-btn:active {
  transform: translateY(0);
}

#xkLocal_modal .xkl-modal-btn-fetch {
  padding-left: 22px;
  padding-right: 22px;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 52%, #4f46e5 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.35);
  white-space: nowrap;
}

#xkLocal_modal .xkl-modal-btn-fetch:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #6366f1 100%);
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.42);
}

#xkLocal_modal .xkl-modal-table-block {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 24px 18px;
}

#xkLocal_modal .xkl-modal-table-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 4px 10px;
}

#xkLocal_modal .xkl-modal-table-title {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.78);
}

#xkLocal_modal .xkl-modal-table-meta {
  font-size: 11px;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.85);
  letter-spacing: 0.06em;
}

#xkLocal_modal .xkl-modal-tablewrap {
  flex: 1 1 auto;
  min-height: 120px;
  max-height: calc(88vh - 380px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(8, 15, 30, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#xkLocal_modal .xkl-modal-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

#xkLocal_modal .xkl-modal-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e0f2fe;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.95));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 4px 12px rgba(2, 8, 23, 0.25);
}

#xkLocal_modal .xkl-modal-table tbody tr {
  transition: background 0.12s ease;
}

#xkLocal_modal .xkl-modal-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

#xkLocal_modal .xkl-modal-table tbody tr:hover {
  background: rgba(56, 189, 248, 0.08);
}

#xkLocal_modal .xkl-modal-td,
#xkLocal_modal .xkl-modal-table tbody td {
  padding: 11px 16px;
  font-size: 13px;
  color: #e2e8f0;
  font-weight: 600;
  border-bottom: 1px solid rgba(51, 65, 85, 0.55);
  vertical-align: top;
}

#xkLocal_modal .xkl-modal-td-ref {
  font-variant-numeric: tabular-nums;
  color: #7dd3fc;
  font-weight: 800;
  white-space: nowrap;
  width: 1%;
}

#xkLocal_modal .xkl-modal-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(0deg, rgba(8, 15, 30, 0.65), rgba(15, 23, 42, 0.35));
}

#xkLocal_modal .xkl-modal-foot-spacer {
  flex: 1 1 12px;
  min-width: 8px;
}

#xkLocal_modal .xkl-modal-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
}

#xkLocal_modal .xkl-modal-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(125, 211, 252, 0.3);
}

#xkLocal_modal .xkl-modal-btn-cancel {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.28);
  color: rgba(226, 232, 240, 0.92);
}

#xkLocal_modal .xkl-modal-btn-cancel:hover {
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
  background: rgba(239, 68, 68, 0.1);
}

#xkLocal_modal .xkl-modal-btn-save {
  background: linear-gradient(135deg, #10b981 0%, #059669 55%, #0d9488 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.28);
  padding-left: 22px;
  padding-right: 22px;
}

#xkLocal_modal .xkl-modal-btn-save:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #14b8a6 100%);
  box-shadow: 0 16px 36px rgba(45, 212, 191, 0.32);
}

@media (max-width: 720px) {
  #xkLocal_modal .xkl-modal-filters {
    grid-template-columns: 1fr;
  }

  #xkLocal_modal .xkl-modal-btn-fetch {
    width: 100%;
  }

  #xkLocal_modal .xkl-modal-foot {
    flex-direction: column;
    align-items: stretch;
  }

  #xkLocal_modal .xkl-modal-foot-spacer {
    display: none;
  }

  #xkLocal_modal .xkl-modal-btn-save,
  #xkLocal_modal .xkl-modal-btn-cancel,
  #xkLocal_modal .xkl-modal-btn-ghost {
    width: 100%;
    justify-content: center;
  }

  #xkLocal_modal .xkl-modal-step-connector {
    display: none;
  }

  #xkLocal_modal .xkl-modal-steps {
    justify-content: flex-start;
  }
}

.xkl-page {
  position: relative;
  max-width: 1240px;
  margin: 0 auto 0;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.16), transparent 26%),
    linear-gradient(135deg, #081224 0%, #0f1b33 44%, #111c35 100%);
  box-shadow: 0 30px 80px rgba(2, 8, 23, 0.28);
  overflow: hidden;
}

.xkl-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.05), transparent 28%),
    repeating-linear-gradient(90deg, rgba(148,163,184,0.07) 0 1px, transparent 1px 110px);
  pointer-events: none;
}

.xkl-page > * {
  position: relative;
  z-index: 1;
}

.xkl-page > h2 {
  margin: 0 0 18px;
  max-width: 760px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.05;
  font-weight: 900;
  color: #f8fbff;
  letter-spacing: -0.03em;
}

.xkl-page > h2::before {
  content: "LOCAL QUOTA INTELLIGENCE";
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.32em;
  font-weight: 800;
  color: rgba(191, 219, 254, 0.82);
}

#xkLocalPage .xkl-fetch-toolbar {
  display: flex !important;
  align-items: stretch !important;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px !important;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(8, 15, 30, 0.45) 100%);
  box-shadow: 0 10px 28px rgba(2, 8, 23, 0.2);
}

#xkLocalPage .xkl-fetch-copy {
  display: none;
}

#xkLocalPage .xkl-fetch-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.95);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.22);
}

#xkLocalPage .xkl-fetch-title {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #f8fafc;
  line-height: 1.2;
}

#xkLocalPage .xkl-fetch-desc {
  margin: 0;
  max-width: 56ch;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.82);
  font-weight: 500;
}

#xkLocalPage .xkl-btn-kvota-fetch {
  flex: 0 1 auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 9px 12px 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 34%, rgba(255, 255, 255, 0.1) 100%),
    linear-gradient(135deg, #0ea5e9 0%, #2563eb 48%, #4338ca 100%);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.015em;
  box-shadow:
    0 8px 22px rgba(30, 64, 175, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

#xkLocalPage .xkl-btn-kvota-fetch:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 12px 28px rgba(59, 130, 246, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

#xkLocalPage .xkl-btn-kvota-fetch:active {
  transform: translateY(0);
}

#xkLocalPage .xkl-btn-kvota-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 14px;
  flex-shrink: 0;
}

#xkLocalPage .xkl-btn-kvota-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

#xkLocalPage .xkl-btn-kvota-label {
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 12px;
}

#xkLocalPage .xkl-btn-kvota-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

#xkLocalPage .xkl-btn-kvota-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-left: 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  flex-shrink: 0;
}

#xkLocal_hesabatBtn {
  width: auto;
  margin-top: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 30px rgba(2, 8, 23, 0.26);
}

#xkLocal_hesabatBtn {
  background: linear-gradient(135deg, #fb7185 0%, #ea580c 52%, #f59e0b 100%);
}

#xkLocal_hesabatBtn:hover {
  background: linear-gradient(135deg, #fda4af 0%, #f97316 52%, #fbbf24 100%);
}

#xkLocal_status {
  display: flex;
  align-items: center;
  min-height: 36px !important;
  margin: 0 0 10px !important;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #111111 !important;
  font-size: 12px !important;
  line-height: 1.3;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

#xkLocal_status:empty::before {
  content: "Son status burada gorunecek. Siyahi goturub yadda saxladiginda avtomatik yenilenecek.";
  color: #111111;
}

#xkLocalPage .xkl-params-panel {
  display: grid !important;
  grid-template-columns: 1.3fr 0.9fr 0.9fr auto;
  gap: 16px;
  align-items: end !important;
  margin-bottom: 18px !important;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  backdrop-filter: blur(10px);
}

#xkLocalPage .xkl-params-panel > div {
  display: flex !important;
  flex-direction: column;
  gap: 8px !important;
}

#xkLocalPage .xkl-anbar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

#xkLocalPage label[for="xkLocal_anbar"] {
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(226, 232, 240, 0.96);
}

#xkLocalPage .xkl-params-panel label {
  margin-top: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.86);
}

.xkl-page input#xkLocal_anbar,
.xkl-page input#xkLocal_start,
.xkl-page input#xkLocal_end {
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(8, 15, 30, 0.76);
  color: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.xkl-page input#xkLocal_anbar::placeholder {
  color: rgba(203, 213, 225, 0.42);
}

.xkl-page input#xkLocal_anbar:focus,
.xkl-page input#xkLocal_start:focus,
.xkl-page input#xkLocal_end:focus {
  border-color: rgba(96, 165, 250, 0.72);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

#xkLocalPage .xkl-anbar-row #xkLocal_anbar {
  flex: 1;
  min-width: 0;
}

#xkLocal_anbarSecBtn {
  height: 44px;
  min-width: 64px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: linear-gradient(180deg, #f8fafc, #e2e8f0);
  color: #111827;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
}

#xkLocal_anbarSecBtn:hover {
  background: linear-gradient(180deg, #ffffff, #e5e7eb);
  transform: translateY(-1px);
}

#xkLocal_progressWrap.xkl-progress-card {
  margin: 0 0 18px !important;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: linear-gradient(180deg, rgba(8, 15, 30, 0.82), rgba(15, 23, 42, 0.76));
}

#xkLocal_progressBar {
  height: 14px !important;
  border-radius: 999px !important;
  background: rgba(30, 41, 59, 0.85) !important;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(2, 8, 23, 0.4);
}

#xkLocal_progress {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #22d3ee 0%, #3b82f6 45%, #f59e0b 100%) !important;
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.34);
}

#xkLocal_progressText {
  margin-top: 0 !important;
  color: #e0f2fe !important;
  font-size: 13px !important;
  font-weight: 800;
}

#xkLocal_reportActions.xkl-report-actions {
  gap: 12px !important;
  margin: 0 0 20px !important;
  flex-wrap: wrap;
}

#xkLocal_reportActions.xkl-report-actions button {
  width: auto;
  min-height: 44px;
  margin-top: 0;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid #93c5fd;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #0f172a;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 16px rgba(30, 64, 175, 0.16);
  backdrop-filter: blur(6px);
}

#xkLocal_reportActions.xkl-report-actions button:hover {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  transform: translateY(-1px);
}

.xkl-preview-grid {
  display: none !important;
}

.xkl-preview-card,
.xkl-info-card {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.05));
  box-shadow: 0 20px 44px rgba(2, 8, 23, 0.18);
}

.xkl-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.xkl-card-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(191, 219, 254, 0.72);
}

.xkl-preview-card h3,
.xkl-info-card h3 {
  margin: 6px 0 0;
  font-size: 22px;
  color: #f8fbff;
}

.xkl-inline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.16);
  border: 1px solid rgba(125, 211, 252, 0.24);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.xkl-table-wrap {
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255,255,255,0.96);
}

.xkl-table {
  width: 100%;
  margin-top: 0;
  border-collapse: collapse;
  background: transparent;
}

.xkl-table th,
.xkl-table td {
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 14px;
}

.xkl-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eff6ff;
  color: #0f172a;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xkl-table td {
  color: #0f172a;
  font-weight: 600;
}

.xkl-step-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.xkl-step-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  background: rgba(8, 15, 30, 0.42);
  color: #dbeafe;
}

.xkl-step-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: #fff;
  font-weight: 900;
}

@media (max-width: 980px) {
  #xkLocalPage .xkl-params-panel {
    grid-template-columns: 1fr 1fr;
  }

  .xkl-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .xkl-page {
    padding: 20px 16px;
    border-radius: 22px;
  }

  #xkLocalPage .xkl-fetch-toolbar,
  .xkl-card-top {
    align-items: stretch !important;
    flex-direction: column;
  }

  #xkLocalPage .xkl-params-panel {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  #xkLocalPage .xkl-btn-kvota-fetch,
  #xkLocal_hesabatBtn,
  #xkLocal_reportActions.xkl-report-actions button {
    width: 100%;
    justify-content: flex-start;
  }
}
