.is2-pay-admin-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147482000;
  border: 1px solid rgba(251, 191, 36, .35);
  background: linear-gradient(135deg, #9f1239, #b45309);
  color: #fff;
  border-radius: 999px;
  padding: 13px 18px;
  font: 700 13px/1.1 system-ui, -apple-system, Segoe UI, sans-serif;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .55);
  cursor: pointer;
}
.is2-pay-admin-launcher:hover { filter: brightness(1.08); }
.is2-pay-admin-root,
.is2-pay-admin-root * { box-sizing: border-box; }
.is2-pay-admin-root {
  position: fixed;
  inset: 0;
  z-index: 2147482500;
  background: rgba(0, 0, 0, .72);
  color: #f8fafc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  display: none;
}
.is2-pay-admin-root.is-open { display: block; }
.is2-pay-admin-shell {
  position: absolute;
  inset: 28px;
  max-width: 1280px;
  margin: 0 auto;
  background: #09090b;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .75);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.is2-pay-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: radial-gradient(circle at top left, rgba(245, 158, 11, .18), transparent 35%), #0b0b0e;
}
.is2-pay-admin-title { display: flex; gap: 14px; align-items: center; }
.is2-pay-admin-mark {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #dc2626, #f59e0b);
  font-weight: 900;
}
.is2-pay-admin-title h2 { margin: 0; font-size: 20px; letter-spacing: .2px; }
.is2-pay-admin-title p { margin: 4px 0 0; color: #a1a1aa; font-size: 12px; }
.is2-pay-admin-close,
.is2-pay-admin-copy,
.is2-pay-admin-btn {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: #18181b;
  color: #f8fafc;
  padding: 10px 13px;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
}
.is2-pay-admin-close { width: 40px; height: 40px; padding: 0; font-size: 22px; }
.is2-pay-admin-btn.primary { background: linear-gradient(135deg, #dc2626, #f59e0b); border-color: rgba(251,191,36,.3); }
.is2-pay-admin-btn.danger { background: #451a1a; border-color: rgba(248,113,113,.35); color: #fecaca; }
.is2-pay-admin-btn.ghost { background: transparent; }
.is2-pay-admin-btn:disabled { opacity: .55; cursor: not-allowed; }
.is2-pay-admin-body {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 0;
}
.is2-pay-admin-sidebar {
  border-right: 1px solid rgba(255,255,255,.1);
  padding: 16px;
  background: #0b0b0e;
  overflow: auto;
}
.is2-pay-tab {
  width: 100%; text-align: left; padding: 12px 14px; margin-bottom: 8px;
  border-radius: 14px; border: 1px solid transparent;
  background: transparent; color: #d4d4d8; cursor: pointer; font-weight: 700;
}
.is2-pay-tab small { display: block; color: #71717a; font-weight: 600; margin-top: 2px; }
.is2-pay-tab.active { background: rgba(245,158,11,.13); border-color: rgba(245,158,11,.32); color: #fff; }
.is2-pay-admin-content { padding: 18px; overflow: auto; min-width: 0; }
.is2-pay-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.is2-pay-card {
  background: #111113;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 16px;
}
.is2-pay-card h3 { margin: 0 0 12px; font-size: 16px; }
.is2-pay-card p { color: #a1a1aa; font-size: 12px; line-height: 1.5; }
.is2-pay-col-12 { grid-column: span 12; }
.is2-pay-col-8 { grid-column: span 8; }
.is2-pay-col-6 { grid-column: span 6; }
.is2-pay-col-4 { grid-column: span 4; }
.is2-pay-col-3 { grid-column: span 3; }
.is2-pay-form-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.is2-pay-field { grid-column: span 6; }
.is2-pay-field.full { grid-column: span 12; }
.is2-pay-field.third { grid-column: span 4; }
.is2-pay-field.quarter { grid-column: span 3; }
.is2-pay-field label { display: block; font-size: 12px; color: #a1a1aa; margin-bottom: 6px; font-weight: 700; }
.is2-pay-field input,
.is2-pay-field textarea,
.is2-pay-field select {
  width: 100%; border: 1px solid rgba(255,255,255,.12); background: #09090b; color: #fff;
  border-radius: 12px; padding: 11px 12px; outline: none; min-height: 42px;
}
.is2-pay-field textarea { min-height: 90px; resize: vertical; }
.is2-pay-field input:focus,
.is2-pay-field textarea:focus,
.is2-pay-field select:focus { border-color: rgba(245, 158, 11, .65); box-shadow: 0 0 0 3px rgba(245, 158, 11, .12); }
.is2-pay-muted { color: #a1a1aa; font-size: 12px; }
.is2-pay-secret-note { color: #fbbf24; font-size: 11px; margin-top: 6px; }
.is2-pay-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

.is2-pay-package-guide {
  margin: 0 0 14px;
  padding: 11px 13px;
  border-radius: 14px;
  border: 1px solid rgba(34,197,94,.24);
  background: rgba(22,163,74,.10);
  color: #d1fae5;
  font-size: 12px;
  line-height: 1.45;
}
.is2-pay-package-guide strong { color: #86efac; }
.is2-pay-badge.legend { color: #ddd6fe; background: rgba(124,58,237,.18); border-color: rgba(167,139,250,.38); }
.is2-pay-status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.is2-pay-status {
  background: #09090b; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 12px;
}
.is2-pay-status strong { display: block; font-size: 18px; }
.is2-pay-status span { color: #a1a1aa; font-size: 11px; }
.is2-pay-ok { color: #86efac; }
.is2-pay-bad { color: #fca5a5; }
.is2-pay-warn { color: #fde68a; }
.is2-pay-table-wrap { overflow: auto; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; }
.is2-pay-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.is2-pay-table th,
.is2-pay-table td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; font-size: 12px; vertical-align: middle; }
.is2-pay-table th { color: #a1a1aa; background: #0b0b0e; font-weight: 800; position: sticky; top: 0; }
.is2-pay-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 8px; font-size: 11px; font-weight: 800; border: 1px solid rgba(255,255,255,.12); }
.is2-pay-badge.active,
.is2-pay-badge.completed,
.is2-pay-badge.created { color: #bbf7d0; background: rgba(22,163,74,.15); border-color: rgba(22,163,74,.28); }
.is2-pay-badge.inactive,
.is2-pay-badge.failed,
.is2-pay-badge.create_failed { color: #fecaca; background: rgba(220,38,38,.14); border-color: rgba(220,38,38,.3); }
.is2-pay-badge.pending { color: #fde68a; background: rgba(245,158,11,.14); border-color: rgba(245,158,11,.3); }
.is2-pay-url-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 10px; align-items: center; margin-bottom: 10px; }
.is2-pay-code {
  background: #09090b; border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  padding: 11px 12px; color: #e5e7eb; font-size: 12px; overflow-wrap: anywhere;
}
.is2-pay-message {
  margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(24,24,27,.85); color: #e5e7eb; font-size: 12px; display: none;
}
.is2-pay-message.show { display: block; }
.is2-pay-message.error { border-color: rgba(248,113,113,.35); color: #fecaca; }
.is2-pay-message.success { border-color: rgba(74,222,128,.35); color: #bbf7d0; }
.is2-pay-rep-text { white-space: pre-wrap; min-height: 150px; }
@media (max-width: 900px) {
  .is2-pay-admin-shell { inset: 8px; }
  .is2-pay-admin-body { grid-template-columns: 1fr; }
  .is2-pay-admin-sidebar { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .is2-pay-tab { min-width: 160px; }
  .is2-pay-col-8,
  .is2-pay-col-6,
  .is2-pay-col-4,
  .is2-pay-col-3,
  .is2-pay-field,
  .is2-pay-field.third,
  .is2-pay-field.quarter { grid-column: span 12; }
  .is2-pay-url-row { grid-template-columns: 1fr; }
}
.is2-pay-field.half { grid-column: span 6; }
.is2-pay-test-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.is2-pay-test-box {
  background: #09090b;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 14px;
}
.is2-pay-test-box span {
  display: block;
  color: #a1a1aa;
  font-size: 11px;
  margin-bottom: 6px;
}
.is2-pay-test-box strong { font-size: 18px; display: block; }
.is2-pay-json {
  margin: 0;
  background: #050507;
  color: #d4d4d8;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  max-height: 280px;
  overflow: auto;
}
.is2-pay-package-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(120, 53, 15, .15), rgba(14, 23, 45, .18));
  border: 1px solid rgba(245,158,11,.18);
  border-radius: 16px;
}
.is2-pay-package-preview strong { display: block; margin-bottom: 6px; }
.is2-pay-package-preview p { margin: 0; }
.is2-pay-package-preview-img {
  width: 220px;
  max-width: 40%;
  min-height: 124px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: #09090b;
}
@media (max-width: 900px) {
  .is2-pay-test-grid { grid-template-columns: 1fr; }
  .is2-pay-package-preview { flex-direction: column; align-items: stretch; }
  .is2-pay-package-preview-img { max-width: 100%; width: 100%; }
}

/* 20260503: move payment API entry from floating button into admin sidebar menu */
.is2-pay-admin-launcher { display: none !important; }
.is2-pay-admin-menu-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  border: 0;
  background: transparent;
  color: hsl(240, 5%, 65%);
  cursor: pointer;
  text-align: left;
}
.is2-pay-admin-menu-btn:hover,
.is2-pay-admin-menu-btn.is-active {
  color: #fbbf24;
  background: linear-gradient(90deg, rgba(220,38,38,.20), rgba(217,119,6,.20));
  box-shadow: inset 0 0 0 1px rgba(239,68,68,.30);
}
.is2-pay-admin-menu-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* v15: İşlem kayıtları filtre hizalama + kompakt sil butonu + tarih seçici */
.is2-pay-order-filter-form {
  align-items: end;
  grid-template-columns: minmax(180px, 1fr) minmax(185px, .9fr) minmax(185px, .9fr) minmax(255px, .85fr);
}
.is2-pay-order-filter-form .is2-pay-field,
.is2-pay-order-filter-form .is2-pay-order-status,
.is2-pay-order-filter-form .is2-pay-date-field,
.is2-pay-order-filter-form .is2-pay-order-actions {
  grid-column: auto;
  min-width: 0;
}
.is2-pay-date-control {
  display: grid;
  grid-template-columns: 1fr 38px;
  align-items: stretch;
  gap: 6px;
}
.is2-pay-date-control input[type="date"] {
  color-scheme: dark;
  cursor: pointer;
}
.is2-pay-date-pick {
  min-height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: #18181b;
  color: #f8fafc;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.is2-pay-date-pick:hover,
.is2-pay-date-control:focus-within .is2-pay-date-pick {
  border-color: rgba(245,158,11,.65);
  box-shadow: 0 0 0 3px rgba(245,158,11,.10);
}
.is2-pay-order-actions {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) minmax(90px, 1fr) 54px;
  gap: 6px;
  margin-top: 0;
  align-self: end;
}
.is2-pay-order-actions .is2-pay-admin-btn {
  width: 100%;
  min-height: 28px;
  padding: 5px 6px;
  border-radius: 9px;
  font-size: 10px;
  line-height: 1.15;
  white-space: normal;
}
.is2-pay-badge.success,
.is2-pay-badge.completed,
.is2-pay-badge.paid,
.is2-pay-badge.delivered {
  color: #86efac;
  background: rgba(22,163,74,.20);
  border-color: rgba(34,197,94,.42);
}
.is2-order-row-success td {
  background: rgba(22,163,74,.045);
}
.is2-order-row-success td:first-child {
  box-shadow: inset 3px 0 0 rgba(34,197,94,.75);
}
.is2-order-row-failed td:first-child {
  box-shadow: inset 3px 0 0 rgba(239,68,68,.65);
}
@media (max-width: 1180px) {
  .is2-pay-order-filter-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .is2-pay-order-actions {
    grid-column: span 3;
  }
}
@media (max-width: 760px) {
  .is2-pay-order-filter-form {
    grid-template-columns: 1fr;
  }
  .is2-pay-order-actions {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}
