:root {
  --theme-bg: #f4f8f7;
  --theme-bg-soft: #edf5f4;
  --theme-page-bg: #f7f8fa;
  --theme-surface: rgba(255, 255, 255, 0.92);
  --theme-surface-strong: #ffffff;
  --theme-border: rgba(129, 157, 161, 0.18);
  --theme-border-strong: rgba(34, 101, 97, 0.14);
  --theme-header-border: #edf0f3;
  --theme-text: #16353d;
  --theme-text-soft: #5f7880;
  --theme-text-muted: #86a0a6;
  --theme-primary: #0f9d8a;
  --theme-primary-strong: #0c7c70;
  --theme-primary-soft: rgba(15, 157, 138, 0.12);
  --theme-accent: #1e7dd7;
  --theme-shadow: 0 20px 45px rgba(18, 54, 66, 0.12);
  --theme-shadow-soft: 0 10px 24px rgba(18, 54, 66, 0.08);
  --theme-radius-lg: 28px;
  --theme-radius-md: 20px;
  --theme-radius-sm: 14px;
  --theme-sidebar-width: 260px;
  --theme-sidebar-collapsed-width: 100px;
  --theme-sidebar-bg: #0b1426;
  --theme-sidebar-surface: rgba(255, 255, 255, 0.04);
  --theme-sidebar-surface-strong: rgba(255, 255, 255, 0.05);
  --theme-sidebar-surface-hover: rgba(255, 255, 255, 0.08);
  --theme-sidebar-border: rgba(255, 255, 255, 0.1);
  --theme-sidebar-border-soft: rgba(255, 255, 255, 0.08);
  --theme-sidebar-border-strong: rgba(255, 255, 255, 0.06);
  --theme-sidebar-text: rgba(244, 250, 249, 0.96);
  --theme-sidebar-text-strong: #ffffff;
  --theme-sidebar-text-soft: rgba(255, 255, 255, 0.82);
  --theme-sidebar-text-muted: rgba(255, 255, 255, 0.72);
  --theme-sidebar-text-dim: rgba(255, 255, 255, 0.6);
  --theme-sidebar-text-subtle: rgba(255, 255, 255, 0.4);
  --theme-sidebar-accent: #22d3ee;
  --theme-sidebar-accent-strong: #06b6d4;
  --theme-sidebar-accent-soft: rgba(6, 182, 212, 0.15);
  --theme-sidebar-accent-glow: rgba(34, 211, 238, 0.12);
}

/* Global overrides */
html,
body {
  min-height: 100%;
  background: var(--theme-page-bg);
  color: var(--theme-text);
}

body {
  overflow-x: hidden;
  overflow-y: hidden !important;
}

a {
  color: var(--theme-primary);
}

a:hover {
  color: var(--theme-primary-strong);
}

#root {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 100vh;
}

#root::before {
  content: none;
}

/* Sidebar shell */
.css-v5e5ry {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  height: auto;
  padding: 0 0 0 var(--theme-sidebar-width);
}

.css-m3mhe2 {
  width: var(--theme-sidebar-width);
  height: 100vh;
  padding: 0;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
}

.css-2qrxpk {
  background: var(--theme-sidebar-bg);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.menu-logo {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--theme-sidebar-border);
}

.menu-logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #23bfe7 0%, #4f74ef 100%);
  box-shadow: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.menu-logo__text {
  min-width: 0;
}

.menu-logo__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--theme-sidebar-text-strong);
}

.menu-logo__subtitle {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(34, 211, 238, 0.7);
}

.css-1r7w4fy,
.css-1r7w4fy > div,
.css-1lud45c,
.css-n0zg9a {
  background: transparent !important;
}

.css-es5bq1 {
  height: auto;
  margin: 14px 16px 10px;
  padding: 14px 14px 12px;
  border-radius: 12px;
  background: var(--theme-sidebar-surface);
  border: 1px solid var(--theme-sidebar-border-strong);
  box-shadow: none;
}

.css-1uk0f4a,
.css-7jr08n a,
.css-7jr08n button,
.collapse-btn-label.css-1xne2bd {
  color: var(--theme-sidebar-text) !important;
}

.css-1uk0f4a {
  font-size: 14px;
  font-weight: 600;
}

.css-1vypfn7,
.css-f5ry4e,
.css-1nps6e1,
.css-1x19mis,
.css-13m66wi,
.css-640hvq a {
  color: var(--theme-text-muted);
}

.css-r4s9yq {
  width: 100%;
  height: 1px;
  border-radius: 999px;
  background: var(--theme-sidebar-border-soft);
}

.css-1995uj8 {
  height: 1px;
  margin: 10px 12px;
  background: var(--theme-sidebar-border-soft);
}

.css-98zpse {
  padding: 12px 12px 0;
}

.css-7jr08n {
  height: auto;
  line-height: 1.3;
  margin-bottom: 2px;
  padding: 0;
  position: relative;
}

.css-7jr08n > a,
.css-7jr08n > button {
  width: 100%;
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.css-7jr08n > a:hover,
.css-7jr08n > button:hover {
  background: var(--theme-sidebar-surface-hover);
  border-color: transparent;
}

.css-7jr08n .menu-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.css-7jr08n .css-1he1gi7 {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
}

.css-7jr08n .css-1he1gi7 svg {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.css-vfgbnh > a,
.css-vfgbnh > button {
  background: var(--theme-sidebar-accent-soft);
  border-color: transparent;
}

.css-vfgbnh .menu-label {
  color: var(--theme-sidebar-accent) !important;
}

.css-vfgbnh .css-1he1gi7,
.css-vfgbnh .css-1he1gi7 svg {
  color: var(--theme-sidebar-accent) !important;
}

.css-vfgbnh::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  width: 3px;
  height: calc(100% - 16px);
  border-radius: 999px 0 0 999px;
  background: var(--theme-sidebar-accent-strong);
}

.css-djfphv li a,
.css-djfphv li button {
  color: var(--theme-sidebar-text-dim) !important;
}

.css-xr8h0z {
  margin: 10px 12px 16px;
  padding: 10px 14px;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--theme-sidebar-border-soft);
  background: var(--theme-sidebar-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--theme-sidebar-text-muted);
  transition: background 0.22s ease, border-color 0.22s ease;
}

.css-xr8h0z:hover {
  background: var(--theme-sidebar-surface-hover);
  border-color: var(--theme-sidebar-border);
}

.css-xr8h0z .css-1he1gi7,
.css-xr8h0z .css-1he1gi7 svg {
  width: 16px;
  height: 16px;
  color: inherit;
}

.menu-environment {
  margin: auto 16px 0;
  padding: 16px;
  border-top: 1px solid var(--theme-sidebar-border);
}

.menu-environment__label {
  margin: 0 0 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--theme-sidebar-text-subtle);
}

.menu-environment__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px;
  border-radius: 12px;
  background: var(--theme-sidebar-surface-strong);
}

.menu-environment__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--theme-sidebar-accent);
  box-shadow: 0 0 0 4px var(--theme-sidebar-accent-glow);
}

.menu-environment__value {
  font-size: 12px;
  font-weight: 600;
  color: var(--theme-sidebar-text-soft);
}

/* Collapsed sidebar */
.css-12fuhhk {
  display: block !important;
  width: 100%;
  padding-left: var(--theme-sidebar-collapsed-width) !important;
}

.css-12fuhhk #sidebar {
  width: var(--theme-sidebar-collapsed-width) !important;
}

.css-12fuhhk .menu-logo {
  justify-content: center;
  padding: 24px 12px;
}

.css-12fuhhk .menu-logo__text,
.css-12fuhhk .css-1uk0f4a,
.css-12fuhhk .css-r4s9yq,
.css-12fuhhk .css-1nps6e1,
.css-12fuhhk .css-f5ry4e,
.css-12fuhhk .menu-environment__label,
.css-12fuhhk .menu-environment__value,
.css-12fuhhk .collapse-btn-label.css-1xne2bd,
.css-12fuhhk .menu-label.css-1vw0nk8 {
  display: none !important;
}

.css-12fuhhk .css-es5bq1 {
  margin: 14px 12px 10px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.css-12fuhhk .css-98zpse {
  padding-left: 10px;
  padding-right: 10px;
}

.css-12fuhhk .css-7jr08n > a,
.css-12fuhhk .css-7jr08n > button {
  justify-content: center;
  gap: 0;
  padding: 12px 0;
}

.css-12fuhhk .css-7jr08n .css-1he1gi7 {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

.css-12fuhhk .css-vfgbnh::after {
  top: 6px;
  right: -1px;
  height: calc(100% - 12px);
}

.css-12fuhhk .menu-environment {
  margin: auto 12px 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--theme-sidebar-border-soft);
}

.css-12fuhhk .menu-environment__row {
  justify-content: center;
  padding: 14px 0;
}

.css-12fuhhk .css-xr8h0z {
  justify-content: center;
  padding: 10px 0;
  min-height: 40px;
  margin: 10px 10px 16px;
  border-radius: 12px;
}

.css-1qwp0uy {
  display: grid;
  min-width: 0;
  min-height: 100vh;
  height: 100vh;
  grid-template-columns: auto;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 0;
  background: var(--theme-page-bg);
  overflow: hidden;
}

.app-layout > .css-p1dm5b {
  width: 100%;
}

.css-sft1lq {
  min-height: 72px;
  padding: 16px 28px;
  border: 0;
  border-bottom: 1px solid var(--theme-header-border);
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.css-sft1lq #app-header-right {
  flex-shrink: 0;
}

.css-sft1lq .css-2x3i31 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.css-sft1lq .css-1h17vt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #e4eaf0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 39, 66, 0.04);
  cursor: pointer;
  transition: border-color 0.16s, box-shadow 0.16s;
}

.css-sft1lq .css-1h17vt:hover {
  border-color: #c8d6e0;
  box-shadow: 0 6px 16px rgba(15, 39, 66, 0.08);
}

.css-sft1lq .css-1bgsn0p {
  font-size: 12px;
  font-weight: 600;
  color: #6b8094 !important;
}

.css-sft1lq .css-1x19mis {
  font-size: 12px;
  font-weight: 600;
  color: #3d5468 !important;
}

.css-sft1lq .css-sfv82l {
  display: inline-flex;
  align-items: center;
}

.css-sft1lq .css-ej7u7s {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #e4eaf0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.16s, background 0.16s;
}

.css-sft1lq .css-ej7u7s:hover {
  border-color: #c8d6e0;
  background: #f6fafb;
}

.css-45pusz,
.css-f2i20r,
.category-header,
.cko-title,
.th-value {
  color: var(--theme-text) !important;
}

.css-45pusz {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.css-n503tm {
  min-height: 100%;
  padding: 20px 24px 24px;
  gap: 20px;
  overflow: hidden;
}

.css-drhzqy,
.css-1pgwnw8,
.css-dcbex2,
.css-188lorl,
.css-shj2c2,
.css-1x5y6cr,
.css-q2ode0,
.css-1qvx0m8 {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #e4ecf4;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(15, 39, 66, 0.10);
  overflow: hidden;
}

.m-layer {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #e4ecf4;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(15, 39, 66, 0.10);
  overflow: hidden;
}

.jBox-Modal .jBox-container,
.jBox-Confirm .jBox-container {
  border-radius: 24px !important;
  box-shadow: 0 22px 50px rgba(15, 39, 66, 0.18) !important;
  background: transparent !important;
}

.jBox-Modal .jBox-content,
.jBox-Confirm .jBox-content {
  padding: 0 !important;
  overflow: visible !important;
}

.jBox-overlay {
  background: rgba(14, 25, 38, 0.48) !important;
}

@supports ((-webkit-backdrop-filter: blur(4px)) or (backdrop-filter: blur(4px))) {
  .jBox-overlay {
    background: rgba(14, 25, 38, 0.36) !important;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
}

.reports-page .dateRangeLabel {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 35px;
  padding: 8px 10px;
  float: right;
  text-align: right;
}

.reports-page .dateRangeLabel svg {
  fill: var(--theme-primary) !important;
}
.css-q2ode0 { border-radius: 0px; }
.css-1gz0hki,
.css-72mic9,
.css-f8qubi {
  border-radius: 24px;
  box-shadow: var(--theme-shadow);
  overflow: hidden;
}

.css-1gz0hki {
  background: linear-gradient(135deg, #123e52 0%, #0b6f76 100%);
}

.css-72mic9 {
  background: linear-gradient(135deg, #0f9d8a 0%, #15b39d 100%);
}

.css-f8qubi {
  background: linear-gradient(135deg, #1d6ecd 0%, #2d95dc 100%);
}

.css-1v6w1xs,
.css-q09soq,
.css-w3tdcn {
  padding: 0 24px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.css-1p4kz0i,
.css-14siqbw {
  gap: 22px;
  padding: 24px;
}

.css-1vuh1x1,
.css-jim2co {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.css-1xserjc {
  height: auto;
  min-height: 64px;
  padding: 16px 22px;
}

.css-1iswlr8 {
  top: 64px;
  background: rgba(129, 157, 161, 0.14);
  box-shadow: none;
}

.ant-table-content,
.ant-table-body,
.ant-table table {
  background: transparent;
}

.css-drhzqy .ant-table-thead tr th,
.css-bqwc36 .cko-th {
  color: var(--theme-text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.css-drhzqy .ant-table-tbody tr td,
.css-bqwc36 .cko-td {
  color: var(--theme-text-soft);
}

.css-drhzqy .ant-table-tbody tr,
.report-table-row,
.table-row {
  transition: transform 0.18s ease, background 0.18s ease;
}

/* ===== Table pages (shared payments & disputes) ===== */

/* Column widths override - use % for responsive layout */
.payments .css-rknm2e,
.payments .css-1j9u3x1 { width: 16% !important; max-width: none !important; }
.payments .css-1kbd2hb,
.payments .css-1jcskq7 { width: 14% !important; max-width: none !important; }
.payments .css-10oc91v,
.payments .css-r91r34 { width: 18% !important; max-width: none !important; }
.payments .css-144b13,
.payments .css-cpbwf2 { width: 22% !important; max-width: none !important; }
.payments .css-1kiiy0k,
.payments .css-f33frk { width: 15% !important; max-width: none !important; }

/* Row layout: compact line-height */
.payments .css-1idge9l {
  line-height: 1.5 !important;
  padding: 0 20px !important;
}

.payments .css-1j9u3x1,
.payments .css-1jcskq7,
.payments .css-r91r34,
.payments .css-cpbwf2,
.payments .css-f33frk {
  line-height: 1.5 !important;
  padding: 10px 0 !important;
}

/* Cell content alignment */
.payments .css-1dobmh1 {
  text-align: left !important;
}

.payments .css-1wjrq73 {
  margin-right: 0 !important;
}

/* Close/Filters button fix */
.css-kicxpw {
  position: relative;
}

.css-kicxpw::before {
  display: none !important;
}

.css-d3tx90 {
  position: static !important;
  display: none !important;
  width: auto !important;
  top: auto !important;
}

.payments .css-kicxpw .css-x8injz {
  background: #f0faf8 !important;
  border-color: var(--theme-primary) !important;
  color: var(--theme-primary) !important;
  z-index: 2;
  position: relative;
}

.payments .css-kicxpw .css-x8injz svg * {
  fill: var(--theme-primary) !important;
}

.payments .css-188lorl,
.payments .css-shj2c2,
.payments .css-a0zttb,
.payments .css-18mdlnh {
  border-radius: 18px;
}

.payments .css-shj2c2 {
  box-shadow: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  flex-shrink: 0;
}

.payments .css-188lorl {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 300px);
  border: 1px solid #eaeff5;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.payments .css-t49th0 {
  gap: 14px;
  padding: 20px 24px 16px;
}

.payments .css-tdqiu7 {
  align-items: center;
}

.payments .css-1tzz0z8 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 40px;
}

.payments .css-1tzz0z8 .cko-input,
.payments .css-1tzz0z8 .cko-button,
.disputes-page .css-1tzz0z8 .cko-input,
.disputes-page .css-1tzz0z8 .cko-button {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.payments .css-1tzz0z8 > .css-16te9yf,
.payments .css-1tzz0z8 > .css-17itbkg,
.payments .css-1tzz0z8 > .css-hgsh1m,
.payments .css-1tzz0z8 > .css-bievw2 {
  align-self: center;
  display: inline-flex;
  align-items: center;
}

.payments .css-16te9yf {
  flex: 0 1 450px;
  max-width: 520px;
  height: 40px;
  line-height: 40px;
}

.payments .css-16te9yf .ant-input-affix-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 12px;
  overflow: hidden;
  border-radius: 10px !important;
  border-color: #dce8ef !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.payments .css-16te9yf .ant-input-prefix {
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}

.payments .css-16te9yf .ant-input-prefix svg {
  margin: 0 !important;
  display: block;
}

.payments .css-16te9yf .ant-input {
  height: 38px !important;
  line-height: 38px !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.payments .css-16te9yf .ant-input-suffix {
  margin-left: 8px;
  flex-shrink: 0;
}

.payments .css-16te9yf .ant-input-affix-wrapper,
.payments .css-16te9yf .choices,
.payments .css-16te9yf .choices__inner {
  min-height: 38px;
}

.payments .css-16te9yf .ant-input-affix-wrapper:hover,
.payments .css-16te9yf .ant-input-affix-wrapper:focus-within,
.payments .css-16te9yf .ant-input:hover,
.payments .css-16te9yf .ant-input:focus {
  box-shadow: none !important;
}

.payments .css-17itbkg,
.payments .css-bievw2 {
  margin-left: 0;
}

.payments .css-17itbkg {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.payments .css-17itbkg .css-x8injz,
.disputes-page .css-17itbkg .css-x8injz {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: 40px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 14px;
  line-height: 1 !important;
  vertical-align: middle;
}

.payments .css-17itbkg .css-x8injz .cko-button-value,
.disputes-page .css-17itbkg .css-x8injz .cko-button-value {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.payments .css-17itbkg .css-x8injz svg,
.disputes-page .css-17itbkg .css-x8injz svg {
  display: block;
  margin-right: 6px;
}

.payments .css-bievw2 {
  font-size: 13px;
  font-weight: 600;
  color: #6b8094 !important;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.payments .css-bievw2 em {
  font-style: normal;
  font-weight: 700;
  color: #1c3a4f;
}

.payments .payments-actions {
  min-height: 40px;
}

.payments .cko-filter-wrap {
  padding: 16px 0 4px;
  background: transparent;
}

.payments .css-ms8edp::before {
  display: none !important;
}

.payments .css-ms8edp.filter-active {
  height: auto !important;
  overflow: visible !important;
}

.payments .css-ms8edp.filter-active .cko-table-filter {
  opacity: 1 !important;
  padding: 14px 18px 16px;
}

.payments .cko-table-filter {
  padding: 14px 18px 16px;
  border: 1px solid #e9eff6;
  border-radius: 12px;
  background: #f8fafc;
  box-shadow: none;
}

.payments .css-1p47ovl {
  margin-top: 0;
  margin-bottom: 14px;
}

.payments .css-1p47ovl:last-child {
  margin-bottom: 0;
}

.payments .css-1p47ovl .filter-fields {
  width: 100%;
  height: auto;
  line-height: 1.4;
  float: none;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0;
  margin: 0;
  background: transparent;
}

.payments .css-1p47ovl .filter-inline {
  float: none;
  display: flex;
  align-items: center;
  width: auto;
  height: auto;
  background: transparent;
}

.payments .css-1p47ovl .filter-actions {
  width: 120px;
  flex: 0 0 120px;
  padding: 0;
  min-height: 38px;
}

.payments .css-1p47ovl .filter-field {
  width: auto;
  flex: 1 1 0;
}

.payments .filter-actions.css-1oy11qu {
  color: #3d5468;
  font-size: 13px;
  font-weight: 600;
  border-radius: 0;
  line-height: 38px;
}

.payments .css-1twh1xh {
  padding: 0;
}

.payments .css-1twh1xh .cko-input,
.payments .css-1twh1xh .cko-select {
  width: 100%;
  height: 38px;
  line-height: 38px;
  margin-top: 0;
}

.payments .filter-field.css-1twh1xh,
.payments .filter-field .cko-input,
.payments .filter-field .ant-input,
.payments .filter-field .choices,
.payments .filter-field .choices__inner,
.payments .css-1twh1xh .choices,
.payments .css-1twh1xh .choices__inner {
  width: 100% !important;
  max-width: none !important;
}

.payments .css-1twh1xh .choices__inner,
.payments .css-1twh1xh .ant-input,
.payments .css-1twh1xh .ant-input-affix-wrapper {
  background: #ffffff !important;
  border: 1px solid #dde6ef !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  height: 38px !important;
  line-height: 38px !important;
  font-size: 13px !important;
  padding: 0 10px !important;
}

.payments .css-1twh1xh .choices__inner {
  display: flex !important;
  align-items: center;
  overflow: hidden;
}

.payments .css-1twh1xh .choices {
  width: 100% !important;
}

.payments .css-1twh1xh .choices[data-type*=select-one]:after {
  top: 50%;
  margin-top: -2.5px;
  border-color: #8a9bb0 transparent transparent;
}

.payments .css-1twh1xh .choices__list--single {
  display: flex;
  align-items: center;
  height: 100%;
}

.payments .css-1twh1xh .choices__list--single .choices__item {
  line-height: 38px;
}

.payments .css-1p47ovl .clear-btn.css-9twe8a {
  flex: 0 0 60px;
  min-width: 60px;
  height: 38px;
  border: 1px solid #e5ecf3;
  border-radius: 8px;
  background: #fff;
  color: #94a4b5;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.payments .clear-btn.css-9twe8a:hover {
  background: #f4f8fb;
  color: #4f6578;
  border-color: #c8d6e0;
}

.payments .css-1p47ovl:last-child .filter-fields {
  justify-content: flex-start;
}

.payments .css-1p47ovl:last-child .css-199rfqi {
  min-width: 120px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1 !important;
  padding: 0 20px;
}

.payments .css-1p47ovl:last-child .css-199rfqi .cko-button-value {
  line-height: 1;
}

.payments .css-a0zttb {
  height: auto !important;
  min-height: 0;
  flex: 1 1 auto;
  border-top: 1px solid #eef2f6;
  box-shadow: none;
  overflow: auto;
}

.payments .cko-table-wrap {
  min-height: 0;
}

/* Global choices.js overrides inside payments */
.payments .choices__inner {
  border-radius: 10px !important;
  border: 1px solid #dde6ef !important;
  box-shadow: none !important;
  background: #fff !important;
  font-size: 13px !important;
}

.payments .choices.is-open .choices__inner {
  border-radius: 10px 10px 0 0 !important;
}

.payments .choices__list--dropdown {
  border: 1px solid #dde6ef !important;
  border-top: 0 !important;
  border-radius: 0 0 10px 10px !important;
  box-shadow: 0 8px 20px rgba(15, 39, 66, 0.08) !important;
}

.payments .choices[data-type*=select-one]:after {
  border-color: #8a9bb0 transparent transparent !important;
  border-width: 4px !important;
}

.payments .css-1idge9l {
  min-height: 0 !important;
  display: block;
  border-top: 1px solid #f2f5f8;
  transition: background 0.16s ease;
  cursor: pointer;
  overflow: hidden;
}

.payments .css-1idge9l:first-child {
  border-top: 0;
}

.payments .css-1idge9l:hover {
  background: #f6fafb;
}

.payments .css-61slft,
.payments .css-bqwc36 {
  height: 40px;
  line-height: 40px;
}

.payments .css-bqwc36 {
  padding: 0 20px;
  border-bottom: 1px solid #eef2f6;
  background: #f9fbfc;
}

.payments .css-bqwc36 .cko-th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7b8ea0;
  height: 40px !important;
  line-height: 40px !important;
}

.payments .css-1tzz0z8 .choices-small {
  flex: 0 0 150px;
  width: 150px !important;
}

.payments .css-1tzz0z8 .choices-small .choices__inner {
  border: 0 !important;
  border-right: 1px solid #e5edf4 !important;
  border-radius: 10px 0 0 10px !important;
  background: #f8fafb !important;
  min-height: 38px;
  height: 38px !important;
  display: flex !important;
  align-items: center;
  line-height: 38px !important;
}

.payments .css-1tzz0z8 .choices-small .choices__list--single {
  display: flex;
  align-items: center;
  height: 100%;
}

.payments .css-1tzz0z8 .choices-small .choices__list--single .choices__item {
  line-height: 38px;
}

.payments .css-1tzz0z8 .choices-small.choices.is-open .choices__inner {
  border-radius: 10px 0 0 0 !important;
}

.payments .css-1tzz0z8 .ant-input-no-lr {
  border: 0 !important;
  border-radius: 0 10px 10px 0 !important;
  height: 38px !important;
  line-height: 38px !important;
  box-shadow: none !important;
  background: #ffffff !important;
}

.payments #btn-search.css-x8injz {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: #ffffff !important;
}

.payments .table-empty-state {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #8ea0b3;
  padding: 40px 20px;
}

.payments .table-empty-state__title {
  font-size: 16px;
  font-weight: 700;
  color: #274157;
}

.payments .table-empty-state__text {
  margin-top: 6px;
  font-size: 13px;
  color: #91a0b1;
}

/* Table cell content */
.payments .css-1dobmh1 {
  display: inline-block !important;
  vertical-align: middle !important;
  text-align: left !important;
}

.payments .css-1wjrq73 {
  display: inline !important;
}

.payments .primary-value.css-11slhzr {
  font-size: 13px;
  font-weight: 700;
  color: #1c3a4f;
  display: inline !important;
}

.payments .secondary-value.css-k06qpv {
  font-size: 12px;
  font-weight: 600;
  color: #8a9bb0;
  margin-left: 4px;
  display: inline !important;
}

.payments .css-1ityafz {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  min-height: 18px;
  margin-left: 0;
  vertical-align: middle;
  line-height: 1;
}

.payments .css-1ityafz i {
  font-style: normal;
  font-size: 11px;
  color: #8a9bb0;
  letter-spacing: 0.03em;
  line-height: 1;
}

.payments .css-g6717d {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  line-height: 1;
}

.payments .css-g6717d img {
  display: block;
  height: 16px;
  width: auto;
}

/* Tag badges */
.payments .cko-tag.css-1l93ko6 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  min-height: 24px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  margin: 0;
  background: #e8f5f0;
  color: #1a8a6b;
  border: 0;
}

.payments .cko-tag.css-187es90 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  min-height: 24px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  margin: 0;
  background: #fff0ec;
  color: #d25d3a;
  border: 0;
}

.payments .cko-tag.css-tmopmv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  min-height: 24px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  margin: 0;
  background: #fef6e4;
  color: #c98a15;
  border: 0;
}

.payments .tag-wrap.css-1cozlv4 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
  line-height: 1;
}

.payments .td-filter-btn.css-gc39yj {
  display: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  margin-left: 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.16s;
}

.payments .td-filter-btn.css-gc39yj svg {
  display: block;
}

.payments .td-filter-btn.css-gc39yj:hover {
  background: #edf2f7;
}

.payments .td-value {
  font-size: 13px;
  color: #4a6070;
}

/* Disputes page specifics — only overrides that differ from .payments */
.disputes-page .css-rknm2e { width: 15% !important; max-width: none !important; }
.disputes-page .css-10oc91v { width: auto !important; max-width: none !important; }
.disputes-page .css-10oc91v:nth-child(2) { width: 20% !important; }
.disputes-page .css-10oc91v:nth-child(3) { width: 9% !important; }
.disputes-page .css-10oc91v:nth-child(4) { width: 18% !important; }
.disputes-page .css-10oc91v:nth-child(5) { width: 22% !important; }
.disputes-page .css-10oc91v:nth-child(6) { width: 16% !important; }

.disputes-page .css-1j9u3x1 { width: 15% !important; max-width: none !important; }
.disputes-page .css-r91r34 { width: auto !important; max-width: none !important; }
.disputes-page .css-f33frk { width: 16% !important; max-width: none !important; }

.disputes-page .css-t49th0 {
  padding: 20px 24px 14px;
  gap: 0;
  height: auto !important;
  line-height: normal !important;
  overflow: visible !important;
}

.disputes-page .css-t49th0 > .css-w94xne {
  flex: 0 0 auto;
}

.disputes-page .css-t49th0 > .css-w94xne:last-child {
  display: none;
}

/* 与 Payments 一致：筛选行紧凑、对齐；避免固定 460px 在「下拉+关键词」之间拉出大块空白 */
.disputes-page .css-tdqiu7 {
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  overflow: visible !important;
}

.disputes-page .css-1tzz0z8 {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  min-height: 40px;
}

.disputes-page .css-hgsh1m,
.payments .css-hgsh1m {
  display: inline-flex;
  align-self: center;
  height: 24px;
  margin: 0 2px;
  vertical-align: middle;
}

.disputes-page .css-1tzz0z8 > .css-16te9yf,
.disputes-page .css-1tzz0z8 > .css-17itbkg,
.disputes-page .css-1tzz0z8 > .css-hgsh1m,
.disputes-page .css-1tzz0z8 > .css-bievw2 {
  align-self: center;
  display: inline-flex;
  align-items: center;
}

.disputes-page .css-17itbkg {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.disputes-page .css-16te9yf {
  flex: 0 0 auto;
  width: auto;
  max-width: min(460px, 100%);
  min-width: 0;
  height: 40px;
  line-height: 40px;
}

.disputes-page .css-16te9yf .ant-input-affix-wrapper {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 12px !important;
  overflow: visible !important;
  border-radius: 16px !important;
  border: 1px solid #dfe8ef !important;
  background: #ffffff !important;
  box-shadow: none !important;
  min-height: 40px;
}

.disputes-page .css-188lorl,
.disputes-page .css-shj2c2,
.disputes-page .css-w94xne,
.disputes-page .css-1tzz0z8,
.disputes-page .css-16te9yf,
.disputes-page .choices-small,
.disputes-page .choices {
  overflow: visible !important;
}

.disputes-page .css-shj2c2 {
  position: relative;
  z-index: 4;
}

.disputes-page .choices__list--dropdown {
  z-index: 12 !important;
}

.disputes-page .css-16te9yf .ant-input {
  height: 38px !important;
  line-height: 38px !important;
}

.disputes-page .css-1tzz0z8 .choices-small .choices[data-type*=select-one]:after {
  top: 50%;
  margin-top: -2.5px;
}

.disputes-page #btn-search.css-x8injz {
  min-width: 96px;
}

.disputes-page .css-bievw2 {
  margin-left: 4px;
  color: #7b8ea0;
  font-size: 13px;
  white-space: nowrap;
}

.disputes-page .table-empty-state {
  min-height: 240px;
}

.disputes-page .css-al8o6w {
  display: flex;
  justify-content: center;
}

.disputes-page .css-9b1wn {
  min-width: auto;
}

.disputes-page .txt-left {
  text-align: left;
}

/* Shared table footer / pagination */
.table-footer.css-18mdlnh {
  box-shadow: none;
  border-top: 1px solid #eef2f6;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  height: auto !important;
  line-height: normal !important;
  flex-shrink: 0;
  margin-top: auto;
  background: transparent;
}

.table-footer.css-18mdlnh::before {
  display: none !important;
}

.table-footer.css-18mdlnh .css-1446tbo {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 10px 20px;
  background: #ffffff;
  position: relative;
}

.table-footer.css-18mdlnh .css-1y2qd55,
.table-footer.css-18mdlnh .css-al8o6w,
.table-footer.css-18mdlnh .css-9b1wn {
  float: none !important;
  line-height: normal !important;
}

.table-footer.css-18mdlnh .css-1y2qd55 {
  flex: 0 0 auto;
  min-width: 118px;
}

.table-footer.css-18mdlnh .css-1y2qd55 .choices {
  width: 100%;
}

.table-footer.css-18mdlnh .css-1y2qd55 .choices__inner {
  display: flex !important;
  align-items: center;
  min-height: 36px;
  height: 36px !important;
  padding: 0 34px 0 12px !important;
  border: 1px solid #dce7ef !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  font-size: 13px !important;
}

.table-footer.css-18mdlnh .css-1y2qd55 .choices__list--single {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 !important;
}

.table-footer.css-18mdlnh .css-1y2qd55 .choices__list--single .choices__item {
  line-height: 36px;
  color: #42586c;
  white-space: nowrap;
}

.table-footer.css-18mdlnh .css-1y2qd55 .choices[data-type*=select-one]:after {
  top: 50%;
  right: 12px;
  margin-top: -2px;
  border-width: 4px;
  border-color: #8a9bb0 transparent transparent !important;
}

.table-footer.css-18mdlnh .css-1y2qd55 .choices.is-open .choices__inner {
  border-color: rgba(15, 157, 138, 0.32) !important;
  border-radius: 10px !important;
}

.table-footer.css-18mdlnh .css-1y2qd55 .choices__list--dropdown {
  top: auto !important;
  bottom: calc(100% + 8px) !important;
  left: 0;
  width: 100%;
  min-width: 118px;
  overflow: hidden;
  border: 1px solid #dde6ef !important;
  border-radius: 12px !important;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 39, 66, 0.12) !important;
  z-index: 30;
}

.table-footer.css-18mdlnh .css-1y2qd55 .choices__list--dropdown .choices__list {
  max-height: 220px;
  overflow: auto;
}

.table-footer.css-18mdlnh .css-1y2qd55 .choices__list--dropdown .choices__item {
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.35;
  color: #42586c;
  white-space: nowrap;
  word-break: keep-all;
}

.table-footer.css-18mdlnh .css-1y2qd55 .choices__list--dropdown .choices__item--selectable.is-highlighted {
  background: #f2f7fb;
  color: #17314b;
}

.table-footer.css-18mdlnh .css-al8o6w {
  position: static !important;
  flex: 1 1 auto;
  width: auto !important;
  text-align: center;
  top: auto !important;
}

.table-footer.css-18mdlnh .css-3pamh5 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
}

.table-footer.css-18mdlnh .css-3pamh5 ul {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.table-footer.css-18mdlnh .css-3pamh5 li {
  display: inline-flex;
  float: none !important;
}

.table-footer.css-18mdlnh .css-3pamh5 li.pagination-next,
.table-footer.css-18mdlnh .css-3pamh5 li.pagination-prev {
  padding: 0 !important;
}

.table-footer.css-18mdlnh .css-3pamh5 li.pagination-prev {
  margin-right: 6px !important;
}

.table-footer.css-18mdlnh .css-3pamh5 a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #5a6e80;
  transition: background 0.16s, color 0.16s;
}

.table-footer.css-18mdlnh .css-3pamh5 a:hover {
  background: #edf2f7;
  color: #1c3a4f;
}

.table-footer.css-18mdlnh .css-3pamh5 a.cur {
  background: var(--theme-primary) !important;
  color: #fff !important;
}

.table-footer.css-18mdlnh .css-3pamh5 a.next {
  margin-left: 6px !important;
}

.table-footer.css-18mdlnh .css-9b1wn {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end;
  min-width: 130px;
}

.table-footer.css-18mdlnh .css-9b1wn > div {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.table-footer.css-18mdlnh .css-9b1wn span {
  margin-right: 0 !important;
  color: #6b8094;
  font-size: 12px;
}

.table-footer.css-18mdlnh .css-9b1wn input {
  width: 36px;
  height: 30px;
  padding: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .table-footer.css-18mdlnh .css-1446tbo {
    flex-wrap: wrap;
    justify-content: center;
  }

  .table-footer.css-18mdlnh .css-1y2qd55,
  .table-footer.css-18mdlnh .css-9b1wn,
  .table-footer.css-18mdlnh .css-al8o6w {
    width: 100% !important;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }
}

/* Payments page specifics */
.payments-page .css-t49th0 {
  padding: 20px 22px 18px;
  gap: 16px;
  height: auto !important;
  line-height: normal !important;
  overflow: visible !important;
}

.payments-page .css-t49th0 > .css-w94xne {
  flex: 0 0 auto;
}

.payments-page .css-1tzz0z8 {
  flex-wrap: nowrap;
  gap: 14px;
}

.payments-page .css-16te9yf {
  flex: 0 1 470px;
  max-width: 470px;
}

.payments-page .css-16te9yf .ant-input-affix-wrapper {
  padding: 0 14px !important;
  border-radius: 16px !important;
  border: 1px solid #dfe8ef !important;
  background: #ffffff !important;
}

.payments-page .css-16te9yf .ant-input {
  height: 40px !important;
  line-height: 40px !important;
}

.payments-page .css-16te9yf .ant-input-affix-wrapper .ant-input:not(:first-child),
.disputes-page .css-16te9yf .ant-input-affix-wrapper .ant-input:not(:first-child) {
  padding-left: 33px !important;
}

.payments-page .css-17itbkg .css-x8injz {
  min-width: 98px;
}

.payments-page .css-bievw2 {
  margin-left: 8px;
  font-size: 13px;
}

.payments-page .cko-table-filter {
  padding: 14px 18px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f9fbfd 0%, #f5f9fb 100%);
}

.payments-page .css-1p47ovl {
  margin-bottom: 12px;
}

.payments-page .css-1p47ovl .filter-fields {
  gap: 16px;
  align-items: center;
}

.payments-page .css-1p47ovl .filter-actions {
  width: 132px;
  flex: 0 0 132px;
}

.payments-page .filter-actions.css-1oy11qu {
  font-size: 13px;
  font-weight: 700;
  color: #2a4358;
}

.payments-page .css-1twh1xh .ant-input,
.payments-page .css-1twh1xh .ant-input-affix-wrapper,
.payments-page .css-1twh1xh .choices__inner {
  height: 40px !important;
  line-height: 40px !important;
  border-radius: 12px !important;
}

.payments-page .css-1p47ovl .clear-btn.css-9twe8a {
  flex: 0 0 68px;
  min-width: 68px;
  height: 40px;
  border-radius: 12px;
  background: #ffffff;
}

.payments-page .css-1p47ovl:last-child {
  margin-top: 2px;
  margin-bottom: 0;
}

.payments-page .css-1p47ovl:last-child .filter-fields {
  padding-left: 148px;
}

.payments-page .css-1p47ovl:last-child .css-199rfqi {
  min-width: 136px;
  height: 40px;
  border-radius: 12px !important;
}

/* Side panel (payment detail) */
.payment-detail-panel.css-1k60rf5 {
  position: fixed;
  top: 0;
  right: 0;
  width: 520px;
  height: 100vh;
  z-index: 100;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9fc 100%);
  border-left: 1px solid #e6edf4;
  box-shadow: -18px 0 44px rgba(15, 39, 66, 0.12);
  overflow-y: auto;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}

.payment-detail-panel .css-1cfp6r1 {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 12px 20px 8px auto;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e5edf4;
  box-shadow: 0 10px 18px rgba(15, 39, 66, 0.08);
  cursor: pointer;
}

.payment-detail-panel .css-1cfp6r1 svg {
  transition: color 0.16s;
  width: 14px;
  height: 14px;
}

.payment-detail-panel .css-1cfp6r1:hover svg * {
  fill: var(--theme-primary);
}

.payment-detail-panel .css-a7p7jf {
  padding: 10px 20px 18px;
  background: transparent;
  box-shadow: none;
}

.payment-detail-panel .css-pbcbit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 18px;
  padding: 6px 2px 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e8eef5;
}

.payment-detail-panel .css-1ylwhrk {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  min-width: 0;
}

.payment-detail-panel .css-ifk6ss {
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  color: #14344b;
}

.payment-detail-panel .css-1tqvdzo {
  margin-left: 0;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.payment-detail-panel .css-1ico5sj {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.payment-detail-panel .css-1ico5sj .cko-button {
  min-width: 110px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.payment-detail-panel .css-1ico5sj .cko-icon {
  margin: 0 !important;
  width: 16px;
}

.payment-detail-panel .css-1ico5sj .cko-button svg {
  margin-right: 0;
}

.payment-detail-panel .css-1ico5sj .css-hgsh1m {
  height: 22px;
  margin: 0 2px;
  align-self: center;
}

.payment-detail-panel .css-1ico5sj .css-lm7trw,
.payment-detail-panel .css-1ico5sj .css-18nyzf9 {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid #dfe8ef !important;
  color: #3c566d !important;
}

.payment-detail-panel .css-1ico5sj .css-lm7trw:hover,
.payment-detail-panel .css-1ico5sj .css-18nyzf9:hover {
  border-color: rgba(15, 157, 138, 0.35) !important;
  background: #f4faf9 !important;
}

.payment-detail-panel .css-oppion {
  margin-top: 0;
}

.payment-detail-panel #oppion-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-detail-panel .cko-flex-item.not-active,
.payment-detail-panel .cko-flex-item.in-active {
  margin-bottom: 0;
  padding: 13px 16px;
  border: 1px solid #e4ecf3;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s;
}

.payment-detail-panel .cko-flex-item.not-active:hover {
  background: #f9fcfd;
  border-color: #d7e7ef;
}

.payment-detail-panel .cko-flex-item.in-active {
  background: #eef8f5;
  border-color: #d7ebe4;
}

.payment-detail-panel .status-wrap .info {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.payment-detail-panel .status-wrap .status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #dff3ec;
  flex: 0 0 24px;
}

.payment-detail-panel .status-wrap .text {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #22435a;
}

.payment-detail-panel .status-wrap .date {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
}

.payment-detail-panel .css-1xsgb2m {
  padding: 8px 4px 0;
}

.payment-detail-panel .more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--theme-primary);
  cursor: pointer;
}

.payment-detail-panel .more-btn i {
  font-style: normal;
}

.payment-detail-panel .css-1mukxe2 {
  padding: 0 20px 24px;
}

.payment-detail-panel .content-wrap.css-sarg4y {
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #e7eef5;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(15, 39, 66, 0.05);
}

.payment-detail-panel .css-1of3lb3 {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  background: #fbfdff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.payment-detail-panel .css-1of3lb3 p {
  font-size: 13px;
  letter-spacing: 0;
}

.payment-detail-panel .css-1lk1sg9 {
  padding: 2px 8px 2px 10px;
  color: #3f566b;
}

.payment-detail-panel .css-1lk1sg9 p {
  margin: 0;
}

.payment-detail-panel .css-1lk1sg9 .css-tdqiu7,
.payment-detail-panel .css-1lk1sg9 .css-iafie1 {
  margin: 0 0 22px;
  gap: 24px;
}

.payment-detail-panel .css-1lk1sg9 .css-tdqiu7:last-child,
.payment-detail-panel .css-1lk1sg9 .css-iafie1:last-child {
  margin-bottom: 0;
}

.payment-detail-panel .css-1lk1sg9 .css-w94xne,
.payment-detail-panel .css-1lk1sg9 .css-1wyc69c {
  min-width: 0;
}

.payment-detail-panel .css-1lk1sg9 label {
  margin-bottom: 6px;
  color: #91a3b4;
}

.payment-detail-panel .css-1lk1sg9 p,
.payment-detail-panel .css-1lk1sg9 span.td-value,
.payment-detail-panel .css-1lk1sg9 .overflow-ellipsis.css-w94xne {
  font-size: 14px;
  line-height: 1.45;
  color: #355066;
  word-break: break-word;
}

.payment-detail-panel .css-1lk1sg9 .ocr-font {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #234058;
}

.payment-detail-panel .css-zgu9w2 {
  display: inline;
  margin-right: 0;
}

.payment-detail-panel .detail-copy-field .detail-copy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.payment-detail-panel .detail-copy-field .detail-copy-head label {
  margin-bottom: 0;
}

.payment-detail-panel .css-u303tt {
  display: inline-flex;
  width: auto;
  margin-left: 0;
  vertical-align: middle;
  flex: 0 0 auto;
}

.payment-detail-panel .css-u303tt .inner-container {
  display: inline-flex;
  align-items: center;
}

.payment-detail-panel .css-1lk1sg9 .cko-button {
  margin-top: 0;
  vertical-align: middle;
}

.payment-detail-panel .copy-to-clipboard-btn.css-18fgbbr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 2px 8px !important;
  min-height: 24px;
  min-width: 44px;
  border-radius: 8px !important;
  border: 1px solid #dfe7ef !important;
  background: #ffffff !important;
  color: #5a7287 !important;
  font-size: 11px;
  line-height: 1 !important;
}

.payment-detail-panel .copy-to-clipboard-btn.css-18fgbbr .cko-button-value {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

.payment-detail-panel .copy-to-clipboard-btn.css-18fgbbr:hover {
  border-color: rgba(15, 157, 138, 0.32) !important;
  color: var(--theme-primary) !important;
  background: #f5fbfa !important;
}

/* Refund & blacklist modals */
.m-layer .lytt {
  padding: 0;
  border-bottom: 0;
}

.m-layer .lytt .tt {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 18px 24px 14px;
  border-bottom: 1px solid #e9eff5;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  color: #1c3a4f;
  margin: 0;
}

.m-layer .lyct {
  padding: 18px 24px 24px;
}

.m-layer .desc {
  font-size: 14px;
  line-height: 1.6;
  color: #6b8094;
  margin-bottom: 22px;
}

.m-layer .m-form p {
  font-size: 13px;
  font-weight: 600;
  color: #3d5468;
  margin-bottom: 8px;
}

.m-layer .m-form .label {
  font-size: 13px;
  font-weight: 500;
  color: #3d5468;
}

.m-layer .m-form .label-caption {
  margin-left: 8px;
  font-size: 12px;
  color: #8a9bb0;
}

.blacklist-modal .css-jpa3xy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 2px;
  border-bottom: 1px solid #eef3f8;
}

.blacklist-modal .css-jpa3xy:last-child {
  border-bottom: 0;
}

.blacklist-modal .text-right {
  text-align: right;
}

.blacklist-modal .css-jpa3xy > .css-w94xne:first-child {
  min-width: 0;
}

.blacklist-modal .css-jpa3xy > .text-right.css-w94xne {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
}

.blacklist-modal .switchery {
  width: 42px;
  height: 24px;
  border: 1px solid #dce6ef;
  background: #ffffff;
  box-shadow: inset 0 0 0 0 #0f9d8a;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.blacklist-modal .switchery > small {
  top: 1px;
  width: 20px;
  height: 20px;
  box-shadow: 0 2px 8px rgba(15, 39, 66, 0.16);
}

.m-layer .m-form .css-ek5zig .ant-input-affix-wrapper {
  height: 46px;
  border-radius: 14px !important;
  padding: 0 14px !important;
}

.m-layer .m-form .ant-input-prefix {
  margin-right: 10px;
  color: #607789;
  font-weight: 700;
}

.m-layer .m-form .ant-input {
  height: 44px !important;
  line-height: 44px !important;
}

.refund-modal .m-form {
  max-width: 320px;
}

.refund-modal .m-form p {
  margin-bottom: 10px;
}

.refund-modal .css-ek5zig {
  width: 100%;
}

.refund-modal .css-ek5zig .ant-input-affix-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100% !important;
  overflow: hidden;
}

.refund-modal .css-ek5zig .ant-input-prefix {
  position: static !important;
  flex: 0 0 auto;
  margin-right: 0;
  padding-left: 0 !important;
  height: auto !important;
  line-height: 1 !important;
  display: inline-flex;
  align-items: center;
}

.refund-modal .css-ek5zig .ant-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100% !important;
  padding: 0 !important;
  padding-left: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.refund-modal .css-ek5zig .ant-input-affix-wrapper .ant-input:not(:first-child) {
  padding-left: 0 !important;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
}

.modal-actions .css-199rfqi {
  min-width: 134px;
  height: 42px;
  border-radius: 14px !important;
  box-shadow: 0 16px 28px rgba(15, 124, 112, 0.22);
}

.modal-actions__or {
  color: #6f8194;
  font-size: 13px;
}

.modal-actions__cancel {
  color: var(--theme-primary);
  font-size: 13px;
  font-weight: 600;
}

.refund-modal .lyct {
  padding-top: 16px;
}

.refund-modal .info {
  min-height: 0;
  margin-bottom: 8px;
}

.blacklist-modal .lyct {
  padding-top: 16px;
}

.blacklist-modal .m-form {
  padding: 0;
}

.blacklist-modal .label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-weight: 600;
}

.blacklist-modal .label-caption {
  margin-left: 0;
  line-height: 1.45;
}

/* Profile page */
.profile-shell {
  gap: 24px;
  padding-bottom: 18px;
}

.profile-frame__body {
  max-width: 1120px;
  padding: 0 0 12px;
}

.profile-section-copy {
  margin-top: 6px;
  color: #6f8094;
  font-size: 14px;
  line-height: 1.6;
}

.profile-subsection__text {
  margin: 6px 0 0;
  color: #6f8094;
  font-size: 13px;
  line-height: 1.6;
  max-width: 560px;
}

.user-management-shell .css-1xserjc,
.profile-shell .css-1d4affy {
  position: relative;
  border-bottom: 1px solid #edf1f6;
  box-shadow: none;
}

.user-management-shell .css-1iswlr8 {
  display: none;
}

.profile-shell .css-dcbex2 {
  overflow: hidden;
  padding: 0;
  border-radius: 22px;
  border: 1px solid #edf1f6;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 22px 46px rgba(15, 39, 66, 0.07);
}

.profile-shell .css-1d4affy {
  margin: 0;
  padding: 24px 28px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.profile-shell .css-q2ode0 {
  padding: 20px 24px 24px;
}

.profile-subsection--inline {
  margin: 18px 0 8px;
  padding-top: 20px;
  border-top: 1px solid #edf1f6;
}

.profile-group {
  display: grid;
  gap: 14px;
}

.profile-shell .css-1inxgmo {
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(420px, 1fr);
  gap: 26px;
  align-items: start;
  padding: 20px 22px;
  margin-bottom: 0;
  border: 1px solid rgba(129, 157, 161, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 10px 22px rgba(15, 39, 66, 0.04);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.profile-shell .css-1inxgmo:hover {
  border-color: rgba(15, 157, 138, 0.18);
  box-shadow: 0 14px 28px rgba(15, 39, 66, 0.05);
}

.profile-row--readonly {
  position: relative;
}

.profile-row--readonly::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, rgba(29, 110, 205, 0.42) 0%, rgba(15, 157, 138, 0.42) 100%);
}

.profile-row--security {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfb 100%);
}

.profile-shell .css-80px2l {
  min-width: 0;
  width: auto;
  padding-right: 0;
  padding-top: 2px;
}

.profile-shell .css-1x19mis {
  margin-top: 6px;
  color: #7b8da0 !important;
  font-size: 13px;
  line-height: 1.6;
  max-width: 280px;
}

.profile-shell .css-qss6g8 {
  width: 100%;
  max-width: 680px;
}

.profile-shell .css-q6ybb5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #17314b;
}

.profile-shell .css-q2ode0 > div > .css-y2dxcf,
.profile-shell .css-q2ode0 > form > .css-iip3m6 {
  display: grid;
  gap: 0;
}

.profile-shell .css-f2i20r {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #16314a;
}

.profile-shell .css-ek5zig .ant-input,
.profile-shell .css-ek5zig .ant-input.ant-input-disabled {
  border-radius: 14px;
  min-height: 46px;
  line-height: 46px;
  padding: 0 16px;
  font-size: 14px;
}

.profile-shell .css-ek5zig {
  position: relative;
}

.profile-shell .ant-input.ant-input-disabled {
  color: #526577;
  background: linear-gradient(180deg, #f9fbfd 0%, #f5f8fb 100%);
  border-color: #e2ebf2 !important;
}

.profile-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 18px 22px 0;
  border-top: 1px solid #edf1f6;
}

.profile-actions__hint {
  margin: 0;
  color: #6f8094;
  font-size: 13px;
  line-height: 1.6;
  max-width: 620px;
}

.profile-shell #btn-save.css-1n4mb52 {
  min-width: 176px;
  margin: 0;
  border-radius: 14px;
  box-shadow: 0 16px 28px rgba(15, 157, 138, 0.18);
  flex-shrink: 0;
}

.validation-list {
  display: none;
  position: absolute;
  left: 0;
  top: auto;
  bottom: calc(100% + 10px);
  width: 320px;
  max-width: 100%;
  padding: 16px;
  background: #fff;
  border: 1px solid #e6edf5;
  border-top: 3px solid var(--theme-primary) !important;
  border-radius: 16px !important;
  box-shadow: var(--theme-shadow-soft) !important;
  z-index: 1000;
  font-size: 13px;
  box-sizing: border-box;
}

.validation-list.show {
  display: block;
  animation: validationFadeIn 0.3s ease;
}

.validation-item i {
  margin-right: 5px;
  font-style: normal;
}

@keyframes validationFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1360px) {
  .payments .css-1p47ovl .filter-fields {
    flex-wrap: wrap;
  }
}

@media (max-width: 1100px) {
  .profile-frame__body {
    padding: 16px 16px 0;
  }

  .payments .css-1p47ovl .filter-fields {
    flex-direction: column;
    align-items: stretch;
  }

  .payments .css-1p47ovl .filter-actions,
  .payments .css-1p47ovl .filter-field,
  .payments .css-1p47ovl .clear-btn.css-9twe8a {
    width: 100%;
    flex-basis: auto;
  }

  .cko-side-content.css-1k60rf5 {
    width: 400px;
  }

  .profile-shell .css-1inxgmo {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .profile-shell .css-qss6g8 {
    max-width: none;
  }

  .profile-shell .css-1d4affy {
    padding: 20px 18px 14px;
  }

  .profile-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 0 0;
  }

  .profile-shell #btn-save.css-1n4mb52 {
    width: 100%;
  }

  .validation-list {
    position: static;
    width: auto;
    margin-top: 10px;
  }
}

.css-drhzqy .ant-table-tbody tr:hover,
.report-table-row:hover,
.table-row:hover {
  background: rgba(15, 157, 138, 0.05);
}

.cko-button,
button[type="primary"],
.submit {
  border-radius: 12px !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.cko-button:hover,
button[type="primary"]:hover,
.submit:hover {
  transform: translateY(-1px);
}

.css-199rfqi,
.css-l945ak,
.css-1n4mb52,
.submit {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-primary-strong) 100%) !important;
  border: 1px solid transparent !important;
  box-shadow: 0 8px 20px rgba(15, 124, 112, 0.18) !important;
  color: #fff !important;
  font-weight: 600 !important;
}

.css-199rfqi:hover,
.css-l945ak:hover,
.css-1n4mb52:hover,
.submit:hover {
  box-shadow: 0 10px 24px rgba(15, 124, 112, 0.24) !important;
}

.css-x8injz,
.css-1sifd64,
.css-18nyzf9,
.css-18fgbbr,
.css-lm7trw,
.css-1wkp2bt {
  background: #ffffff !important;
  border: 1px solid #dde6ef !important;
  box-shadow: none !important;
  color: var(--theme-text) !important;
}

.css-x8injz:hover,
.css-1sifd64:hover,
.css-18nyzf9:hover,
.css-18fgbbr:hover,
.css-lm7trw:hover,
.css-1wkp2bt:hover {
  background: #f4faf9 !important;
  border-color: rgba(12, 124, 112, 0.22) !important;
}

.css-x8injz svg *,
.css-1sifd64 svg *,
.css-18nyzf9 svg *,
.css-18fgbbr svg *,
.css-lm7trw svg *,
.css-1wkp2bt svg * {
  fill: var(--theme-primary);
}

.ant-input,
select,
textarea,
.css-ek5zig .ant-input,
.ant-input-affix-wrapper {
  border-radius: 10px !important;
  border-color: #dde6ef !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: var(--theme-text) !important;
  font-size: 13px;
}

.ant-input:focus,
.ant-input:hover,
select:focus,
textarea:focus,
.ant-input-affix-wrapper:hover,
.ant-input-affix-wrapper:focus-within {
  border-color: rgba(15, 157, 138, 0.48) !important;
  box-shadow: 0 0 0 3px rgba(15, 157, 138, 0.08) !important;
  outline: none;
}

.ant-input-prefix,
.ant-input-suffix,
.clear-search,
.css-1bgsn0p,
.css-1x19mis,
.css-bievw2,
.css-1yywfbs .tableTab {
  color: var(--theme-text-soft) !important;
}

.css-1yywfbs .tableTab.active,
.css-1xh6e5f,
.dateRangeLabel {
  color: var(--theme-primary) !important;
}

.dateRangeLabel {
  border-radius: 14px !important;
  border-color: rgba(15, 157, 138, 0.22) !important;
  background: rgba(255, 255, 255, 0.94);
}

.dateRangeLabel svg {
  fill: var(--theme-primary) !important;
}

.profile-shell .css-1d4affy,
.profile-shell .css-q2ode0,
.profile-shell .css-iip3m6 {
  background: transparent;
}

.profile-subsection {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.profile-shell .css-iip3m6 {
  display: grid;
  gap: 0;
}

.profile-shell .profile-group--security {
  gap: 16px;
}

.profile-shell .validation-title {
  font-size: 12px;
  font-weight: 700;
  color: #17314b;
  letter-spacing: 0.01em;
}

.profile-shell .validation-item {
  font-size: 12px;
  margin: 5px 0;
  padding: 3px 0;
  line-height: 20px;
  transition: color 0.3s ease;
}

.valid {
  color: #17a673 !important;
}

.invalid {
  color: #e15d56 !important;
}

.input-valid {
  border-color: rgba(23, 166, 115, 0.65) !important;
}

.input-invalid {
  border-color: rgba(225, 93, 86, 0.65) !important;
}

.user-management-shell .cko-input label {
  margin: 15px 0 8px;
  line-height: 15px;
}

.user-management-shell .cko-input label.error {
  margin: 10px 0 0;
  color: #cf5858;
}

.user-management-shell .has-error .ant-input {
  border-color: #cf5858;
  box-shadow: 0 1px 3px rgba(233, 109, 109, 0.45);
}

.user-management-shell .user-edit span {
  cursor: pointer;
  color: var(--theme-primary);
}

.user-management-shell .user-edit span:hover {
  font-weight: 700;
}

.user-management-shell .td-line {
  display: flex;
  align-items: center;
}

.user-management-shell .td-line span {
  margin-left: 5px;
}

.footer.css-p1dm5b {
  padding: 0 24px 8px 288px;
}

.menu-footer.css-640hvq {
  padding: 18px 4px 0 0;
}

.auth-shell {
  min-height: 100vh;
  padding: 38px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top, rgba(45, 121, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #0c1124 0%, #0b1021 100%);
}

.auth-brand {
  text-align: center;
  margin-bottom: 36px;
}

.auth-brand__badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
  color: #f2f6ff;
  background: linear-gradient(135deg, #23c0ea 0%, #4f72f0 100%);
  box-shadow: 0 12px 30px rgba(48, 132, 255, 0.32);
}

.auth-brand__title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.auth-brand__subtitle {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #1bc1ea;
}

.auth-card {
  width: min(450px, 100%);
  padding: 34px 32px 30px;
  border-radius: 18px;
  background: rgba(29, 35, 56, 0.98);
  border: 1px solid rgba(128, 143, 184, 0.22);
  box-shadow: 0 24px 60px rgba(4, 8, 24, 0.48);
}

.auth-card__headline {
  font-size: 20px;
  font-weight: 700;
  color: #f3f6ff;
}

.auth-card__subheadline {
  margin-top: 8px;
  margin-bottom: 28px;
  font-size: 14px;
  color: rgba(188, 195, 217, 0.54);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-field__label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(194, 201, 223, 0.78);
}

.auth-field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-field__link {
  font-size: 12px;
  color: #39bff2;
}

.auth-input {
  display: flex;
  align-items: center;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(137, 146, 178, 0.2);
  background: rgba(40, 47, 71, 0.96);
  overflow: hidden;
}

.auth-input input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #eef3ff;
  padding: 0 14px;
  font-size: 14px;
  line-height: 42px;
}

.auth-input input::placeholder {
  color: rgba(183, 190, 214, 0.34);
}

.auth-input:focus-within {
  border-color: rgba(56, 191, 242, 0.64);
  box-shadow: 0 0 0 3px rgba(56, 191, 242, 0.12);
}

.auth-input--password {
  background: #dce5f7;
}

.auth-input--password input {
  color: #0c1124;
}

.auth-input--captcha input {
  min-width: 0;
}

.auth-input--captcha {
  gap: 10px;
  padding: 4px 6px 4px 0;
}

.auth-input__captcha-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 124px;
  padding: 4px 8px;
  margin-right: 2px;
  border-left: 1px solid rgba(137, 146, 178, 0.18);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.98) 0%, rgba(239, 245, 255, 0.94) 100%);
  box-sizing: border-box;
}

.auth-input__captcha {
  display: block;
  width: 108px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(161, 178, 204, 0.28);
  cursor: pointer;
}

.auth-error {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(234, 102, 110, 0.24);
  background: rgba(104, 32, 42, 0.28);
  color: #ffb6bd;
  font-size: 13px;
}

.auth-submit {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #14b6db 0%, #4a72eb 100%);
  box-shadow: 0 12px 24px rgba(40, 122, 241, 0.24);
}

.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(40, 122, 241, 0.28);
}

.auth-submit__icon {
  font-size: 18px;
  line-height: 1;
}

.auth-footer {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(180, 187, 209, 0.36);
}

/* Responsive layout */
@media (max-width: 1200px) {
  .css-v5e5ry {
    grid-template-columns: var(--theme-sidebar-width) minmax(0, 1fr);
    gap: 0;
    padding: 0;
  }

  .css-m3mhe2 {
    width: var(--theme-sidebar-width);
  }
}

@media (max-width: 900px) {
  .css-v5e5ry {
    grid-template-columns: 1fr;
  }

  .css-m3mhe2 {
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
  }

  .css-1qwp0uy {
    overflow: visible;
  }

  .css-sft1lq {
    padding: 14px 18px;
  }

  .css-45pusz {
    font-size: 20px;
  }

  .cko-side-content.css-1k60rf5 {
    width: 100%;
  }

  .auth-shell {
    padding: 24px 16px 18px;
  }

  .auth-card {
    padding: 26px 20px 22px;
  }

  .auth-brand {
    margin-bottom: 28px;
  }

  .footer.css-p1dm5b {
    padding-left: 20px;
  }
}
