/* ============================================================
   AXIS BROKERS — в стиле Dashboard
   Градиенты, стекло, свечения, фирменная палитра AXIS
   ============================================================ */

html, body {
  height: 100%;
  overflow: hidden;
}

.app {
  height: 100vh;
  overflow: hidden;
}

.main {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sidebar {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb {
  background: #2a3140;
  border-radius: 3px;
}

.content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: #2a3140 transparent;
}
.content::-webkit-scrollbar { width: 8px; }
.content::-webkit-scrollbar-track { background: transparent; }
.content::-webkit-scrollbar-thumb {
  background: #2a3140;
  border-radius: 4px;
}
.content::-webkit-scrollbar-thumb:hover { background: #3a4152; }

/* ============================================================
   СТАТИСТИКА
   ============================================================ */

.stats-bar {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 16px;
  flex-shrink: 0;
}

.stat-card,
.summary-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 20px 22px;
  background:
    radial-gradient(520px 230px at 100% 0%, rgba(164, 75, 255, 0.15), transparent 65%),
    radial-gradient(420px 210px at 0% 100%, rgba(255, 138, 43, 0.08), transparent 65%),
    linear-gradient(180deg, #141827 0%, #10131d 100%);
  border: 1px solid rgba(164, 75, 255, 0.22);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
}

.stat-card::after,
.summary-card::after {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 138, 43, 0.7),
    rgba(164, 75, 255, 0.9),
    rgba(46, 168, 255, 0.7),
    transparent);
  pointer-events: none;
}

.stat-card:hover,
.summary-card:hover {
  transform: translateY(-2px);
  border-color: rgba(164, 75, 255, 0.4);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(164, 75, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.stat-head,
.summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
}

.stat-title,
.summary-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.stat-title::before,
.summary-title::before {
  content: '';
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg,
    #ff8a2b 0%,
    #ff3d8a 35%,
    #a44bff 65%,
    #2ea8ff 100%);
  box-shadow: 0 0 10px rgba(164, 75, 255, 0.45);
  flex-shrink: 0;
}

/* ============================================================
   КНОПКА "View More" — фиолетовая таблетка с читаемым текстом
   ============================================================ */
.stat-more {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px;
  color: #c8b5ff !important;
  -webkit-text-fill-color: #c8b5ff !important;
  background: rgba(164, 75, 255, 0.12) !important;
  background-image: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  border: 1px solid rgba(164, 75, 255, 0.35) !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.stat-more:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: rgba(164, 75, 255, 0.25) !important;
  border-color: rgba(164, 75, 255, 0.65) !important;
  box-shadow: 0 0 18px rgba(164, 75, 255, 0.4);
  text-decoration: none !important;
  transform: translateY(-1px);
}
.stat-more .ic,
.stat-more .arr {
  width: 12px !important;
  height: 12px !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  margin: 0 !important;
  vertical-align: 0 !important;
  flex-shrink: 0;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}
.stat-row:last-child { border-bottom: none; }

.stat-label {
  color: #8b93a7;
  font-weight: 500;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.stat-label .ic {
  width: 17px;
  height: 17px;
  vertical-align: 0;
  filter: drop-shadow(0 0 5px rgba(164, 75, 255, 0.4));
}

.stat-value {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  font-weight: 800;
  color: #ffffff;
  font-size: 13.5px;
  letter-spacing: -0.1px;
}
.stat-value.warn {
  color: #f59e0b;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

/* Сводная карточка */
.summary-card.big { min-width: 0; }
.summary-chart {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: center;
}
.summary-graph {
  position: relative;
  padding: 8px 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.summary-graph svg {
  width: 100%;
  height: 110px;
  display: block;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.summary-list .summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 8px;
  border-radius: 12px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: 0.2s;
}
.summary-list .summary-item:hover {
  background: rgba(164, 75, 255, 0.07);
  border-color: rgba(164, 75, 255, 0.3);
  box-shadow: 0 0 18px rgba(164, 75, 255, 0.12);
  transform: translateX(-2px);
}
.summary-list .si-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a2a9bd;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  min-width: 0;
  white-space: nowrap;
}
.summary-list .si-ico {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg,
    rgba(255, 138, 43, 0.12),
    rgba(164, 75, 255, 0.16) 55%,
    rgba(46, 168, 255, 0.14));
  border: 1px solid rgba(164, 75, 255, 0.32);
  box-shadow: 0 0 12px rgba(164, 75, 255, 0.18),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: 0.2s;
}
.summary-list .si-ico .ic {
  width: 16px;
  height: 16px;
  vertical-align: 0;
  filter: drop-shadow(0 0 4px rgba(164, 75, 255, 0.45));
}
.summary-list .summary-item:hover .si-ico {
  box-shadow: 0 0 16px rgba(164, 75, 255, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(164, 75, 255, 0.55);
}
.summary-list .summary-item > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: -0.1px;
  color: #fff;
  flex-shrink: 0;
}
.summary-list .summary-item > span.green,
.summary-list .summary-item > span.yellow,
.summary-list .summary-item > span.red,
.summary-list .summary-item > span.si-chip {
  padding: 3px 9px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.summary-list .summary-item > span.green {
  color: #29c26b;
  background: rgba(41, 194, 107, 0.12);
  border-color: rgba(41, 194, 107, 0.32);
  text-shadow: 0 0 10px rgba(41, 194, 107, 0.4);
}
.summary-list .summary-item > span.yellow {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.32);
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}
.summary-list .summary-item > span.red {
  color: #ef4c5a;
  background: rgba(239, 76, 90, 0.12);
  border-color: rgba(239, 76, 90, 0.32);
  text-shadow: 0 0 10px rgba(239, 76, 90, 0.4);
}
.summary-list .summary-item > span.si-chip {
  color: #c8b5ff;
  background: rgba(164, 75, 255, 0.12);
  border-color: rgba(164, 75, 255, 0.32);
  letter-spacing: 0.8px;
}
.summary-list .summary-item > span.si-volume {
  font-size: 13.5px;
  background: linear-gradient(135deg, #ffffff 0%, #c8b5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.summary-list .summary-item .arr {
  width: 12px;
  height: 12px;
  margin: 0;
  vertical-align: 0;
}

/* ============================================================
   PAGE HEAD
   ============================================================ */

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-shrink: 0;
}
.page-head h1 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.4px;
  background: linear-gradient(135deg,
    #ffffff 0%,
    #e8ddff 40%,
    #b9a8ff 75%,
    #7c9bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(164, 75, 255, 0.35));
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.page-head h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    #ff8a2b 0%,
    #ff3d8a 35%,
    #a44bff 65%,
    #2ea8ff 100%);
  box-shadow: 0 0 12px rgba(164, 75, 255, 0.6);
  opacity: 0.9;
}

/* ============================================================
   КНОПКА "User payments" — ФИНАЛЬНАЯ ВЕРСИЯ (жёсткое переопределение)
   ============================================================ */

button.btn-primary,
.btn-primary,
#openAdd {
  /* Сброс всего старого */
  all: unset;

  /* Layout */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 12px 26px !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;

  /* Typography */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;

  /* Text color — БЕЛЫЙ */
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;

  /* Background — фирменный градиент */
  background-color: #a44bff !important;
  background-image: linear-gradient(135deg,
    #ff8a2b 0%,
    #ff3d8a 35%,
    #a44bff 65%,
    #2ea8ff 100%) !important;
  background-size: 200% 200% !important;
  background-position: 0% 50% !important;
  background-repeat: no-repeat !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;

  /* Border */
  border: none !important;
  outline: none !important;

  /* Shadows */
  box-shadow:
    0 8px 26px rgba(164, 75, 255, 0.5),
    0 4px 12px rgba(255, 61, 138, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;

  /* Behavior */
  cursor: pointer !important;
  user-select: none !important;
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;

  /* Animation */
  animation: axisBtnFlow 6s ease infinite !important;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    background-position 0.6s ease,
    filter 0.3s ease !important;
}

/* Плавный перелив градиента */
@keyframes axisBtnFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Блик, пробегающий при наведении */
button.btn-primary::before,
.btn-primary::before,
#openAdd::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%) !important;
  transition: left 0.8s cubic-bezier(0.22, 1, 0.36, 1) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* Верхний блик */
button.btn-primary::after,
.btn-primary::after,
#openAdd::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 10% !important;
  right: 10% !important;
  height: 1px !important;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.9),
    transparent) !important;
  filter: blur(0.5px) !important;
  pointer-events: none !important;
  z-index: 2 !important;
  opacity: 0.85 !important;
}

/* Hover */
button.btn-primary:hover,
.btn-primary:hover,
#openAdd:hover {
  transform: translateY(-2px) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-position: 100% 50% !important;
  filter: brightness(1.1) !important;
  box-shadow:
    0 14px 40px rgba(164, 75, 255, 0.65),
    0 6px 18px rgba(255, 61, 138, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}
button.btn-primary:hover::before,
.btn-primary:hover::before,
#openAdd:hover::before {
  left: 100% !important;
}

/* Active */
button.btn-primary:active,
.btn-primary:active,
#openAdd:active {
  transform: translateY(0) scale(0.98) !important;
  box-shadow:
    0 4px 12px rgba(164, 75, 255, 0.45),
    0 2px 6px rgba(255, 61, 138, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Focus */
button.btn-primary:focus-visible,
.btn-primary:focus-visible,
#openAdd:focus-visible {
  outline: 2px solid rgba(164, 75, 255, 0.8) !important;
  outline-offset: 3px !important;
}

/* Иконка внутри */
button.btn-primary .ic,
.btn-primary .ic,
#openAdd .ic,
button.btn-primary svg,
.btn-primary svg,
#openAdd svg {
  width: 16px !important;
  height: 16px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25)) !important;
  position: relative !important;
  z-index: 3 !important;
  transition: transform 0.3s ease !important;
}
button.btn-primary:hover .ic,
.btn-primary:hover .ic,
#openAdd:hover .ic,
button.btn-primary:hover svg,
.btn-primary:hover svg,
#openAdd:hover svg {
  transform: scale(1.15) rotate(-6deg) !important;
}

/* ============================================================
   TABS
   ============================================================ */

.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  width: fit-content;
  flex-shrink: 0;
}
.tab {
  background: transparent;
  border: none;
  color: #8b93a7;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
  letter-spacing: 0.3px;
}
.tab:hover:not(.active) {
  color: #fff;
  background: rgba(164, 75, 255, 0.08);
}
.tab.active {
  background: linear-gradient(135deg, #a44bff, #7c5cff);
  color: #fff;
  font-weight: 800;
  box-shadow:
    0 4px 16px rgba(164, 75, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ============================================================
   FILTERS
   ============================================================ */

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}
.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8b93a7;
  padding: 9px 14px;
  border-radius: 11px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.3px;
  transition: 0.2s;
}
.filter:hover {
  color: #fff;
  border-color: rgba(164, 75, 255, 0.5);
  background: rgba(164, 75, 255, 0.06);
  box-shadow: 0 0 14px rgba(164, 75, 255, 0.2);
}
.filter.active {
  color: #b9a8ff;
  border-color: rgba(164, 75, 255, 0.6);
  background: rgba(164, 75, 255, 0.1);
}
.filter .ic.g {
  width: 16px;
  height: 16px;
  vertical-align: 0;
  filter: drop-shadow(0 0 5px rgba(164, 75, 255, 0.35));
}
.filter .chev {
  width: 12px;
  height: 12px;
  vertical-align: 0;
  opacity: 0.7;
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.filter:hover .chev {
  transform: translateY(1px);
  opacity: 1;
}

.search-inline {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 12px;
  background:
    linear-gradient(#12151c, #12151c) padding-box,
    linear-gradient(135deg,
      rgba(255, 138, 43, 0.35) 0%,
      rgba(255, 61, 138, 0.28) 35%,
      rgba(164, 75, 255, 0.35) 65%,
      rgba(46, 168, 255, 0.35) 100%) border-box;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.search-inline:hover {
  background:
    linear-gradient(#171b24, #171b24) padding-box,
    linear-gradient(135deg,
      rgba(255, 138, 43, 0.6) 0%,
      rgba(255, 61, 138, 0.5) 35%,
      rgba(164, 75, 255, 0.6) 65%,
      rgba(46, 168, 255, 0.6) 100%) border-box;
}
.search-inline:focus-within {
  background:
    linear-gradient(#171b24, #171b24) padding-box,
    linear-gradient(135deg, #ff8a2b 0%, #ff3d8a 35%, #a44bff 65%, #2ea8ff 100%) border-box;
  box-shadow:
    0 0 0 3px rgba(164, 75, 255, 0.15),
    0 0 22px rgba(164, 75, 255, 0.28);
}
.search-inline .ico {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  filter: drop-shadow(0 0 6px rgba(164, 75, 255, 0.45));
}
.search-inline .ico .ic { width: 18px; height: 18px; }
.search-inline input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
}
.search-inline input::placeholder {
  color: #8b93a7;
  font-weight: 500;
}

/* ============================================================
   ТАБЛИЦА
   ============================================================ */

.table-wrap {
  position: relative;
  background:
    radial-gradient(520px 230px at 100% 0%, rgba(164, 75, 255, 0.08), transparent 65%),
    linear-gradient(180deg, #141827 0%, #10131d 100%);
  border: 1px solid rgba(164, 75, 255, 0.18);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.table-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 138, 43, 0.7),
    rgba(164, 75, 255, 0.9),
    rgba(46, 168, 255, 0.7),
    transparent);
  pointer-events: none;
  z-index: 3;
}

.table-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #2a3140 transparent;
}
.table-scroll::-webkit-scrollbar { width: 8px; }
.table-scroll::-webkit-scrollbar-track { background: transparent; }
.table-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,
    rgba(164, 75, 255, 0.55),
    rgba(46, 168, 255, 0.4));
  border-radius: 4px;
}
.table-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg,
    rgba(164, 75, 255, 0.85),
    rgba(46, 168, 255, 0.65));
}

.table {
  width: 100%;
  border-collapse: collapse;
}
.table thead th {
  text-align: left;
  font-size: 10.5px;
  text-transform: uppercase;
  color: #8b93a7;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(164, 75, 255, 0.15);
  background: rgba(20, 24, 38, 0.9);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
}
.table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13px;
  vertical-align: middle;
  color: #e7eaf3;
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr {
  transition: background 0.2s;
}
.table tbody tr:hover {
  background: rgba(164, 75, 255, 0.05);
}

.pid {
  color: #b9a8ff;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 4px 9px;
  background: rgba(164, 75, 255, 0.1);
  border: 1px solid rgba(164, 75, 255, 0.22);
  border-radius: 7px;
  display: inline-block;
}

.client {
  font-weight: 800;
  color: #ffffff;
  font-size: 13.5px;
  letter-spacing: 0.1px;
}

.bank {
  color: #e7eaf3;
  font-size: 12.5px;
  font-weight: 600;
}
.bank .muted {
  color: #8b93a7;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3px;
  margin-left: 4px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.badge.Success {
  background: rgba(41, 194, 107, 0.12);
  color: #29c26b;
  border: 1px solid rgba(41, 194, 107, 0.32);
  box-shadow: 0 0 14px rgba(41, 194, 107, 0.15);
}
.badge.Inprocess {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.32);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.15);
}
.badge.Error {
  background: rgba(239, 76, 90, 0.12);
  color: #ef4c5a;
  border: 1px solid rgba(239, 76, 90, 0.32);
  box-shadow: 0 0 14px rgba(239, 76, 90, 0.15);
}

.amount {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  font-weight: 900;
  color: #ffffff;
  font-size: 13.5px;
  letter-spacing: -0.2px;
}
.amount small {
  color: #8b93a7;
  font-weight: 600;
  font-size: 10px;
  margin-left: 5px;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.method {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e7eaf3;
  font-size: 12.5px;
  font-weight: 600;
}
.method-dot {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: linear-gradient(135deg,
    rgba(164, 75, 255, 0.15),
    rgba(46, 168, 255, 0.15));
  border: 1px solid rgba(164, 75, 255, 0.3);
  display: grid;
  place-items: center;
  font-size: 11px;
  box-shadow: 0 0 10px rgba(164, 75, 255, 0.15);
  color: #b9a8ff;
}
.method-dot .ic { width: 13px; height: 13px; }

.table tbody td.muted {
  color: #8b93a7;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.row-actions {
  display: flex;
  gap: 6px;
  opacity: 0.45;
  transition: 0.2s;
}
tr:hover .row-actions { opacity: 1; }
.act {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8b93a7;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  padding: 0;
  font-family: inherit;
  transition: 0.2s;
}
.act:hover {
  color: #ffffff;
  border-color: rgba(164, 75, 255, 0.5);
  background: rgba(164, 75, 255, 0.08);
  box-shadow: 0 0 12px rgba(164, 75, 255, 0.25);
}
.act.del:hover {
  color: #ef4c5a;
  border-color: rgba(239, 76, 90, 0.5);
  background: rgba(239, 76, 90, 0.08);
  box-shadow: 0 0 12px rgba(239, 76, 90, 0.25);
}
.act .ic { width: 15px; height: 15px; vertical-align: 0; }

.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-top: 1px solid rgba(164, 75, 255, 0.12);
  background: rgba(20, 24, 38, 0.6);
  flex-shrink: 0;
}
.table-footer .muted {
  font-size: 12.5px;
  color: #8b93a7;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.pagination { display: flex; gap: 8px; }
.page-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8b93a7;
  padding: 7px 14px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.3px;
  transition: 0.2s;
}
.page-btn:hover:not(:disabled) {
  color: #ffffff;
  border-color: rgba(164, 75, 255, 0.5);
  background: rgba(164, 75, 255, 0.06);
}
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.empty {
  text-align: center;
  padding: 60px 20px;
  color: #8b93a7;
  font-size: 13.5px;
  font-weight: 600;
}

/* ============================================================
   МОДАЛКИ
   ============================================================ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(164, 75, 255, 0.18), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(46, 168, 255, 0.12), transparent 60%),
    rgba(5, 8, 15, 0.9);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  animation: modalBackdropIn 0.3s ease;
}
.modal-backdrop.show { display: flex; }
@keyframes modalBackdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal {
  position: relative;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(164, 75, 255, 0.15), transparent 55%),
    linear-gradient(180deg, #131826 0%, #0b0e16 100%);
  border-radius: 22px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.75),
    0 0 80px rgba(164, 75, 255, 0.2);
  animation: modalIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(124, 92, 255, 0.25);
  color: #e7eaf3;
}
.modal.small { max-width: 400px; }

.modal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg,
    #ff8a2b 0%,
    #ff3d8a 15%,
    #a44bff 30%,
    #2ea8ff 45%,
    #a44bff 60%,
    #ff3d8a 75%,
    #ff8a2b 90%,
    #ff3d8a 100%);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 20;
  animation: modalBorderFlow 8s linear infinite;
}
@keyframes modalBorderFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(-24px) scale(0.95); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(164, 75, 255, 0.15);
  position: relative;
  z-index: 2;
}
.modal-head h2 {
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #c8b5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.3px;
}
.modal-head .icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a2a9bd;
  cursor: pointer;
  font-size: 14px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  transition: 0.3s;
}
.modal-head .icon-btn:hover {
  background: rgba(239, 76, 90, 0.18);
  border-color: rgba(239, 76, 90, 0.55);
  color: #ef4c5a;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 0 24px rgba(239, 76, 90, 0.4);
}
.modal-head .icon-btn .ic { width: 16px; height: 16px; }

.modal-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.modal-body label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11.5px;
  color: #8b93a7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.modal-body input,
.modal-body select {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 11px 14px;
  color: #fff;
  font-size: 13.5px;
  outline: none;
  font-family: inherit;
  font-weight: 600;
  transition: 0.2s;
}
.modal-body input:hover,
.modal-body select:hover {
  border-color: rgba(164, 75, 255, 0.4);
}
.modal-body input:focus,
.modal-body select:focus {
  background: rgba(164, 75, 255, 0.05);
  border-color: rgba(164, 75, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(164, 75, 255, 0.15),
              0 0 20px rgba(164, 75, 255, 0.16);
}
.modal-body input::placeholder {
  color: #566079;
  font-weight: 500;
}
.modal-body select option {
  background: #14171f;
  color: #fff;
}
.hint {
  font-size: 11.5px;
  color: #6b7590;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 3px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 1100px) {
  .stats-bar { grid-template-columns: 1fr; }
  .summary-chart { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .content { padding: 16px; }
  .search-top { display: none; }
  .page-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .stats-bar { grid-template-columns: 1fr; }
  .content { padding: 14px; gap: 12px; }
  .page-head h1 { font-size: 20px; }
  .tab { padding: 7px 12px; font-size: 11.5px; }
  .filter { padding: 7px 10px; font-size: 11.5px; }
  .table thead th,
  .table tbody td { padding: 10px 12px; font-size: 12px; }
}

/* ============================================================
   AXIS BROKERS — STYLISH PAGE TITLE
   "Brokers Axis Crypto" — как в Dashboard
   ============================================================ */

/* ---------- Заголовок "Brokers Axis Crypto" ---------- */
.topbar-title h1 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1.15;
  background: linear-gradient(135deg,
    #ffffff 0%,
    #e8ddff 40%,
    #b9a8ff 75%,
    #7c9bff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  position: relative;
  display: inline-block;
  padding-right: 2px;
  filter: drop-shadow(0 0 18px rgba(164, 75, 255, 0.35))
          drop-shadow(0 0 6px rgba(46, 168, 255, 0.2));
}

/* "Axis Crypto" — фирменный градиент (переопределяем часть) */
.topbar-title h1 .t-accent {
  display: inline-block;
  background: linear-gradient(90deg, #7c9bff 0%, #a44bff 55%, #ff3d8a 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Тонкая градиентная полоска под заголовком */
.topbar-title h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    #ff8a2b 0%,
    #ff3d8a 35%,
    #a44bff 65%,
    #2ea8ff 100%);
  box-shadow: 0 0 12px rgba(164, 75, 255, 0.6);
  opacity: 0.85;
}

/* Вертикальная градиентная полоска слева */
.topbar-title {
  position: relative;
  padding-left: 14px;
}
.topbar-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg,
    #ff8a2b 0%,
    #ff3d8a 35%,
    #a44bff 65%,
    #2ea8ff 100%);
  box-shadow: 0 0 12px rgba(164, 75, 255, 0.6);
}

/* ---------- Лицензия под заголовком ---------- */
.breadcrumb {
  font-size: 11.5px;
  color: #8b93a7;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><defs><linearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='24' y2='24'><stop offset='0' stop-color='%23ff8a2b'/><stop offset='.55' stop-color='%23a44bff'/><stop offset='1' stop-color='%232ea8ff'/></linearGradient></defs><rect x='4.5' y='10.5' width='15' height='10' rx='2.2' stroke='url(%23g)' stroke-width='2'/><path d='M8 10.5 V7.5 a4 4 0 0 1 8 0 V10.5' stroke='url(%23g)' stroke-width='2' stroke-linecap='round'/></svg>") no-repeat center / contain;
  margin-right: -1px;
}
.breadcrumb b {
  font-family: 'SF Mono', 'Consolas', monospace !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #c8b5ff !important;
  padding: 2px 8px;
  background: rgba(164, 75, 255, 0.1);
  border: 1px solid rgba(164, 75, 255, 0.25);
  border-radius: 5px;
  text-shadow: 0 0 8px rgba(164, 75, 255, 0.4);
}
.breadcrumb span {
  color: #a48cff !important;
  font-weight: 800;
}


/* ============================================================
   BROKERS — PREMIUM GRADIENT LAYER
   Градиентные обводки, плитки-иконки, свечение и hover-эффекты.
   Только оформление: размеры вёрстки и функционал не меняются.
   ============================================================ */
@property --bk-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes bkSpin { to { --bk-angle: 360deg; } }
@keyframes bkShine {
  0%   { transform: translateX(-120%) skewX(-18deg); }
  45%  { transform: translateX(260%)  skewX(-18deg); }
  100% { transform: translateX(260%)  skewX(-18deg); }
}

:root {
  --bk-soft: linear-gradient(135deg,
    rgba(255,138,43,0.55) 0%, rgba(255,61,138,0.50) 35%,
    rgba(164,75,255,0.50) 65%, rgba(46,168,255,0.55) 100%);
  --bk-strong: linear-gradient(135deg, #ff8a2b 0%, #ff3d8a 35%, #a44bff 65%, #2ea8ff 100%);
  --bk-spark: conic-gradient(from var(--bk-angle),
    transparent 0deg, transparent 245deg,
    rgba(255,138,43,0.95) 288deg, rgba(255,61,138,1) 318deg,
    rgba(164,75,255,0.95) 338deg, rgba(46,168,255,0.9) 354deg, transparent 360deg);
  --bk-tile: linear-gradient(135deg, rgba(255,138,43,0.14), rgba(255,61,138,0.14) 50%, rgba(164,75,255,0.2));
}

/* ---------- Карточки статистики и таблица: градиентная рамка ---------- */
.stat-card,
.summary-card {
  border: 1px solid transparent;
  background:
    radial-gradient(520px 230px at 100% 0%, rgba(164, 75, 255, 0.16), transparent 65%) padding-box,
    radial-gradient(420px 210px at 0% 100%, rgba(255, 138, 43, 0.09), transparent 65%) padding-box,
    linear-gradient(180deg, #141827 0%, #10131d 100%) padding-box,
    var(--bk-spark) border-box,
    var(--bk-soft) border-box;
  animation: bkSpin 8s linear infinite;
}
.summary-card { animation-delay: -3.5s; }
.stat-card:hover,
.summary-card:hover {
  border-color: transparent;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.45),
    0 0 36px rgba(255, 61, 138, 0.14),
    0 0 46px rgba(164, 75, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.table-wrap {
  border: 1px solid transparent;
  background:
    radial-gradient(520px 230px at 100% 0%, rgba(164, 75, 255, 0.09), transparent 65%) padding-box,
    linear-gradient(180deg, #141827 0%, #10131d 100%) padding-box,
    var(--bk-spark) border-box,
    var(--bk-soft) border-box;
  animation: bkSpin 10s linear infinite;
  animation-delay: -6s;
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(164, 75, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* ---------- Заголовки карточек ---------- */
.stat-title,
.summary-title { letter-spacing: 0.4px; }
.stat-more {
  background: linear-gradient(135deg, rgba(255,138,43,0.14), rgba(164,75,255,0.2)) !important;
  border-color: rgba(255, 61, 138, 0.35) !important;
}
.stat-more:hover {
  background: linear-gradient(135deg, rgba(255,138,43,0.3), rgba(164,75,255,0.38)) !important;
  border-color: rgba(255, 61, 138, 0.7) !important;
  box-shadow: 0 0 20px rgba(255, 61, 138, 0.35);
}

/* ---------- Payments Statistics: иконки в плитках ---------- */
.stat-row { padding: 6px 0; }
.stat-label { gap: 12px; color: #98a0b6; font-weight: 600; letter-spacing: 0.3px; }
.stat-label .ic.g {
  width: 28px;
  height: 28px;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 9px;
  background: var(--bk-tile);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 12px rgba(164, 75, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  filter: none;
  transition: 0.2s;
}
.stat-row:hover .stat-label .ic.g {
  border-color: rgba(255, 61, 138, 0.5);
  box-shadow: 0 0 16px rgba(255, 61, 138, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.stat-value:not(.warn) {
  background: linear-gradient(135deg, #ffffff 0%, #d9ccff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- P&L / Summary ---------- */
.summary-list .si-ico {
  background: var(--bk-tile);
  border-color: rgba(255, 255, 255, 0.09);
}
.summary-list .summary-item:hover {
  background: linear-gradient(90deg, rgba(255,138,43,0.07), rgba(164,75,255,0.09));
  border-color: rgba(255, 61, 138, 0.35);
  box-shadow: 0 0 20px rgba(255, 61, 138, 0.12);
}
.summary-list .summary-item:hover .si-ico {
  border-color: rgba(255, 61, 138, 0.55);
  box-shadow: 0 0 16px rgba(255, 61, 138, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.summary-list .summary-item > span.si-chip {
  background: linear-gradient(135deg, rgba(255,138,43,0.16), rgba(164,75,255,0.2));
  border-color: rgba(255, 61, 138, 0.38);
  color: #ffd1e6;
}
.summary-graph {
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(164,75,255,0.07), rgba(46,168,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6px;
}

/* ---------- Заголовок страницы: градиентная плашка под кнопкой ---------- */
.page-head h1 { filter: drop-shadow(0 0 18px rgba(255, 61, 138, 0.3)); }

/* ---------- Вкладки ---------- */
.tabs {
  border: 1px solid transparent;
  background:
    linear-gradient(#11141d, #11141d) padding-box,
    var(--bk-soft) border-box;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3);
}
.tab:hover:not(.active) {
  background: linear-gradient(135deg, rgba(255,138,43,0.08), rgba(164,75,255,0.12));
}
.tab.active {
  position: relative;
  overflow: hidden;
  background: var(--bk-strong);
  box-shadow:
    0 6px 20px rgba(255, 61, 138, 0.4),
    0 0 24px rgba(164, 75, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -8px 14px rgba(0, 0, 0, 0.14);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.tab.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  animation: bkShine 5.5s ease-in-out infinite;
  pointer-events: none;
}

/* ---------- Фильтры ---------- */
.filter {
  border: 1px solid transparent;
  background:
    linear-gradient(#12151e, #12151e) padding-box,
    linear-gradient(135deg, rgba(255,138,43,0.28), rgba(164,75,255,0.28) 60%, rgba(46,168,255,0.28)) border-box;
}
.filter:hover,
.filter.active {
  color: #fff;
  background:
    linear-gradient(#1a1730, #1a1730) padding-box,
    var(--bk-strong) border-box;
  box-shadow: 0 0 18px rgba(255, 61, 138, 0.28);
}
.search-inline { box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28); }

/* ---------- Таблица ---------- */
.table thead th {
  color: #a39bc4;
  background:
    linear-gradient(180deg, rgba(164,75,255,0.13), rgba(20,24,38,0.95));
  border-bottom: 1px solid rgba(255, 61, 138, 0.3);
}
.table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.012); }
.table tbody tr:hover {
  background: linear-gradient(90deg, rgba(255,138,43,0.07), rgba(164,75,255,0.08) 45%, rgba(46,168,255,0.03));
}
.table tbody tr:hover td { background: transparent; }
.table tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 #ff3d8a; }

.pid {
  color: #e6dcff;
  border: 1px solid transparent;
  background:
    linear-gradient(#171530, #171530) padding-box,
    linear-gradient(135deg, rgba(255,138,43,0.7), rgba(255,61,138,0.6) 50%, rgba(164,75,255,0.7)) border-box;
  box-shadow: 0 0 14px rgba(255, 61, 138, 0.14);
}
.method-dot {
  background: var(--bk-tile);
  border-color: rgba(255, 255, 255, 0.1);
}
.amount { text-shadow: 0 0 16px rgba(164, 75, 255, 0.3); }
.act:hover {
  background: linear-gradient(135deg, rgba(255,138,43,0.18), rgba(164,75,255,0.22));
  border-color: rgba(255, 61, 138, 0.55);
  box-shadow: 0 0 14px rgba(255, 61, 138, 0.3);
}
.act.del:hover {
  background: rgba(239, 76, 90, 0.12);
  border-color: rgba(239, 76, 90, 0.6);
}

/* ---------- Нижняя панель таблицы ---------- */
.table-footer {
  border-top: 1px solid rgba(255, 61, 138, 0.2);
  background: linear-gradient(180deg, rgba(164,75,255,0.06), rgba(20,24,38,0.7));
}
.page-btn {
  border: 1px solid transparent;
  background:
    linear-gradient(#12151e, #12151e) padding-box,
    linear-gradient(135deg, rgba(255,138,43,0.28), rgba(164,75,255,0.28) 60%, rgba(46,168,255,0.28)) border-box;
}
.page-btn:hover:not(:disabled) {
  color: #fff;
  background:
    linear-gradient(#1a1730, #1a1730) padding-box,
    var(--bk-strong) border-box;
  box-shadow: 0 0 16px rgba(255, 61, 138, 0.28);
}

/* ---------- Поля в модальных окнах ---------- */
.modal-body input,
.modal-body select {
  border: 1px solid transparent;
  background:
    linear-gradient(#12151e, #12151e) padding-box,
    linear-gradient(135deg, rgba(255,138,43,0.3), rgba(164,75,255,0.3) 60%, rgba(46,168,255,0.3)) border-box;
}
.modal-body input:hover,
.modal-body select:hover {
  background:
    linear-gradient(#161a26, #161a26) padding-box,
    linear-gradient(135deg, rgba(255,138,43,0.6), rgba(255,61,138,0.5) 40%, rgba(164,75,255,0.6)) border-box;
}
.modal-body input:focus,
.modal-body select:focus {
  border-color: transparent;
  background:
    linear-gradient(#171a28, #171a28) padding-box,
    var(--bk-strong) border-box;
  box-shadow: 0 0 0 4px rgba(164, 75, 255, 0.14), 0 0 22px rgba(255, 61, 138, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .stat-card, .summary-card, .table-wrap, .tab.active::after { animation: none; }
}