* {
  box-sizing: border-box;
}

:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #fff;
}

button,
input {
  font: inherit;
}

.login-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  place-items: center;
  padding: 30px 20px;
  background:
    radial-gradient(ellipse at 49% -8%, rgba(111, 165, 221, .5), transparent 38%),
    linear-gradient(128deg, #294c74 0%, #263b68 42%, #282d67 100%);
}

.ambient {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.ambient-one {
  top: 1%;
  left: -17%;
  width: 70vw;
  height: 96vh;
  border-radius: 48% 52% 48% 44%;
  background: linear-gradient(140deg, rgba(76, 125, 172, .48), rgba(40, 49, 112, .72));
  transform: rotate(-21deg);
}

.ambient-two {
  top: -36%;
  right: -28%;
  width: 58vw;
  height: 86vh;
  border-radius: 47% 0 54% 47%;
  background: rgba(91, 120, 178, .38);
  transform: rotate(23deg);
}

.ambient-three {
  right: -9%;
  bottom: -54%;
  width: 53vw;
  height: 64vh;
  border-radius: 50%;
  background: rgba(106, 157, 193, .48);
  transform: rotate(-18deg);
}

.glow {
  position: absolute;
  z-index: -1;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #8cecff;
  box-shadow: 0 0 11px 6px rgba(82, 208, 237, .42), 0 0 38px 16px rgba(60, 186, 225, .2);
  pointer-events: none;
}

.glow-one { top: 17%; left: 28%; }
.glow-two { top: 38%; left: 5%; width: 22px; height: 22px; }
.glow-three { bottom: 27%; left: 47%; }

.login-card {
  width: min(100%, 478px);
  min-height: 382px;
  border: 1px solid rgba(222, 237, 255, .2);
  border-radius: 16px;
  background: rgba(18, 35, 66, .57);
  box-shadow: 0 22px 70px rgba(9, 20, 43, .24);
  backdrop-filter: blur(14px);
}

.card-content {
  width: min(100%, 365px);
  margin: 0 auto;
  padding: 68px 0 48px;
}

.brand-mark {
  display: none;
}

h1 {
  margin: 8px 0 0;
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.35px;
}

.subtitle {
  margin: 9px 0 24px;
  color: rgba(234, 242, 255, .78);
  text-align: center;
  font-size: 13px;
}

#login-form {
  display: grid;
  gap: 17px;
}

.input-wrap {
  display: flex;
  height: 48px;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 7px;
  background: #f3f7ff;
  color: #172239;
  transition: box-shadow .18s, border-color .18s;
}

.input-wrap:focus-within {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .23);
}

.field-icon {
  display: inline-flex;
  flex: 0 0 15px;
  color: #8b9bb3;
}

.field-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.input-wrap input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #19283e;
  font-size: 13px;
}

.input-wrap input::placeholder {
  color: #6c7d96;
  opacity: 1;
}

.visibility-button {
  display: inline-grid;
  width: 28px;
  height: 32px;
  flex: 0 0 28px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #8797af;
  cursor: pointer;
}

.visibility-button:hover,
.visibility-button:focus-visible {
  color: #3a5274;
}

.visibility-button svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.login-button {
  height: 49px;
  margin-top: 0;
  border: 0;
  border-radius: 4px;
  background: #287bd1;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: background .18s, transform .18s;
}

.login-button:hover {
  background: #1d69b7;
}

.login-button:active {
  transform: translateY(1px);
}

.login-button:focus-visible,
.visibility-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.form-message {
  min-height: 17px;
  margin: -7px 0 0;
  color: #b42318;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 540px) {
  .login-page {
    padding: 22px 18px;
  }

  .ambient-one {
    left: -45%;
    width: 110vw;
  }

  .ambient-two {
    right: -62%;
    width: 100vw;
  }

  .login-card {
    min-height: unset;
  }

  .card-content {
    padding: 54px 25px 35px;
  }

  h1 {
    font-size: clamp(18px, 5vw, 21px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

[hidden] {
  display: none !important;
}

body:has(.admin-app:not([hidden])) {
  background: #f3f5f8;
}

.admin-app {
  --app-ink: #243247;
  --app-muted: #8995a6;
  --app-line: #e9edf2;
  display: flex;
  min-height: 100vh;
  background: #f3f5f8;
  color: var(--app-ink);
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  width: 242px;
  height: 100vh;
  flex: 0 0 242px;
  flex-direction: column;
  padding: 0 14px 18px;
  background: #202832;
  color: #e6ebf1;
  transition: width .22s, flex-basis .22s, padding .22s;
}

.sidebar-brand {
  display: flex;
  min-height: 64px;
  align-items: center;
  padding: 0 15px;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
}

.sidebar-logo,
.user-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #54a7ff, #3479d5);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.side-nav {
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.nav-item {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 13px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #c8d0db;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  transition: background .18s, color .18s;
}

.nav-item:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.nav-item.active {
  background: #398fed;
  color: #fff;
  box-shadow: 0 5px 14px rgba(26, 117, 219, .2);
}

.nav-icon {
  width: 18px;
  color: currentColor;
  text-align: center;
  font-size: 18px;
  line-height: 1;
}

.workspace {
  min-width: 0;
  flex: 1;
}

.app-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 2.3vw, 36px);
  border-bottom: 1px solid #edf0f4;
  background: rgba(255, 255, 255, .95);
  color: #586477;
}

.header-left,
.header-right,
.user-menu {
  display: flex;
  align-items: center;
}

.header-left {
  gap: 16px;
  font-size: 13px;
}

.menu-toggle {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #627187;
  cursor: pointer;
  font-size: 17px;
}

.menu-toggle:hover {
  background: #f0f4f9;
}

.header-right {
  position: relative;
  gap: 18px;
}

.language-control {
  position: relative;
}

.language-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: #566273;
  cursor: pointer;
  font-size: 12px;
}

.language-button > span:first-child {
  color: #718096;
  font-size: 15px;
  font-weight: 600;
}

.language-button:hover {
  color: #287bd1;
}

.language-dropdown {
  position: absolute;
  z-index: 4;
  top: 43px;
  right: -9px;
  min-width: 145px;
  padding: 5px 0;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 39, 59, .12);
}

.language-dropdown button {
  display: block;
  width: 100%;
  padding: 11px 16px;
  border: 0;
  background: #fff;
  color: #596575;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
}

.language-dropdown button + button {
  border-top: 1px solid #eff1f4;
}

.language-dropdown button:hover,
.language-dropdown button[aria-pressed="true"] {
  background: #f4f8fd;
  color: #327fce;
}

.user-menu {
  gap: 9px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #4b5666;
  cursor: pointer;
  font-size: 12px;
}

.user-avatar {
  width: 29px;
  height: 29px;
  flex-basis: 29px;
  border-radius: 50%;
  font-size: 13px;
}

.chevron {
  color: #98a3b1;
  font-size: 16px;
}

.user-dropdown {
  position: absolute;
  top: 44px;
  right: 0;
  min-width: 145px;
  padding: 5px;
  border: 1px solid var(--app-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 39, 60, .12);
}

.user-dropdown button {
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #4b5666;
  cursor: pointer;
  text-align: left;
  font-size: 12px;
}

.user-dropdown button:hover {
  background: #f3f6fa;
}

.password-dialog {
  width: min(100% - 32px, 430px);
  max-width: 430px;
  padding: 0;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  background: #fff;
  color: #29384e;
  box-shadow: 0 18px 55px rgba(24, 39, 60, .2);
}

.password-dialog::backdrop {
  background: rgba(18, 31, 49, .42);
  backdrop-filter: blur(2px);
}

.password-dialog-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.password-dialog-form .section-heading {
  align-items: center;
  margin-bottom: 2px;
}

.password-dialog-form h2 {
  margin: 0;
  color: #27364b;
  font-size: 18px;
  font-weight: 600;
}

.password-dialog-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #8491a2;
  cursor: pointer;
  font-size: 22px;
}

.password-dialog-close:hover {
  background: #f3f6fa;
}

.password-dialog-field {
  display: grid;
  gap: 7px;
  color: #59687b;
  font-size: 12px;
}

.password-dialog-field input {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 1px solid #dce3eb;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: #29384e;
  font-size: 13px;
}

.password-dialog-field input:focus {
  border-color: #398fe8;
  box-shadow: 0 0 0 3px rgba(57, 143, 232, .12);
}

.password-dialog-note {
  margin: 0;
  color: #8491a2;
  font-size: 11px;
  line-height: 1.55;
}

.password-dialog-feedback {
  min-height: 16px;
  margin: -8px 0 0;
  color: #b34444;
  font-size: 11px;
}

.password-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

.password-dialog-actions button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
}

.app-content {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 25px clamp(18px, 2.2vw, 34px) 18px;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 2px 17px;
}

.page-eyebrow {
  margin: 0 0 5px;
  color: #9ba6b5;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.page-heading h1 {
  margin: 0;
  color: #27364b;
  text-align: left;
  font-size: 23px;
}

.today-label {
  color: #8d98a8;
  font-size: 12px;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.stat-card {
  position: relative;
  display: flex;
  min-height: 107px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(32, 52, 78, .025);
}

.stat-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 12px;
  font-size: 19px;
}

.stat-icon.blue { background: #edf5ff; color: #438fd8; }
.stat-icon.violet { background: #f3efff; color: #8067d9; }
.stat-icon.green { background: #eaf8f3; color: #38a680; }

.stat-card > div:nth-child(2) {
  display: grid;
  gap: 4px;
}

.stat-label {
  color: #8a96a6;
  font-size: 11px;
}

.stat-value {
  color: #29384e;
  font-size: 20px;
  font-weight: 650;
}

.stat-value small {
  color: #7f8b9b;
  font-size: 11px;
  font-weight: 400;
}

.stat-foot {
  color: #a0aab7;
  font-size: 10px;
}

.copy-button {
  margin-left: auto;
  padding: 7px 11px;
  border: 1px solid #dce9f8;
  border-radius: 6px;
  background: #f5f9ff;
  color: #438bd5;
  cursor: pointer;
  font-size: 11px;
}

.copy-button:hover {
  background: #e9f3ff;
}

.api-key-controls {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  border: 1px solid #e5eaf0;
  border-radius: 7px;
  background: #fff;
}

.api-key-label {
  display: grid;
  width: 145px;
  min-height: 42px;
  flex: 0 0 145px;
  place-items: center end;
  padding: 0 14px;
  border-right: 1px solid #e5eaf0;
  background: #f7f8fa;
  color: #66758a;
  font-size: 12px;
  font-weight: 500;
}

.api-key-controls input {
  width: min(100%, 520px);
  flex: 0 1 520px;
  min-width: 0;
  padding: 9px 2px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #53647a;
  font: 12px ui-monospace, SFMono-Regular, Consolas, monospace;
}

.api-key-controls input:disabled {
  cursor: not-allowed;
}

.api-key-controls .copy-button {
  margin-left: 0;
  border-color: #378ee8;
  background: #378ee8;
  color: #fff;
}

.api-key-controls .copy-button:hover {
  background: #247bd5;
}

.api-key-reset {
  padding: 8px 13px;
  border: 1px solid #f6a01e;
  border-radius: 6px;
  background: #f6a01e;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  white-space: nowrap;
}

.api-key-reset:hover {
  background: #e58d0b;
}

.api-key-reset:disabled,
.copy-button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.api-key-feedback {
  min-height: 16px;
  margin: 8px 0 0;
  color: #718198;
  font-size: 11px;
}

.content-card {
  margin-bottom: 15px;
  padding: 21px 22px 17px;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(32, 52, 78, .025);
}

.recharge-card {
  min-height: 540px;
  padding: 28px clamp(18px, 3vw, 42px);
}

.recharge-flow {
  width: min(100%, 810px);
  margin: 0 auto;
}

.recharge-steps {
  display: flex;
  min-height: 44px;
  margin: 0 0 27px;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #dedede;
  color: #59697b;
  list-style: none;
}

.recharge-step {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.recharge-step.active {
  background: #398fe8;
  color: #fff;
}

.recharge-step-number {
  display: none;
}

.recharge-panel {
  padding: 25px 28px 27px;
  border: 1px solid #f0f2f5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(32, 52, 78, .08);
  color: #29384e;
}

.recharge-panel h2 {
  margin: 0 0 24px;
  color: #253247;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
}

.recharge-payment-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -25px -28px 17px;
  padding: 16px 26px;
  background: #f6f8fb;
}

.recharge-payment-heading h2 {
  margin: 0 0 3px;
}

.recharge-payment-heading p {
  margin: 0;
  color: #7b899c;
  font-size: 13px;
}

.recharge-countdown {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  place-items: center;
  border: 2px solid #8390a2;
  border-radius: 50%;
  color: #58677b;
  font-size: 12px;
  font-weight: 600;
}

.recharge-payment-content {
  display: grid;
  gap: 16px;
  padding: 0 2px;
}

.recharge-qr {
  width: 192px;
  height: 192px;
  justify-self: center;
  padding: 8px;
  border: 1px solid #edf0f4;
  background: #fff;
  box-shadow: 0 3px 14px rgba(32, 52, 78, .12);
  object-fit: contain;
}

.recharge-payment-row {
  display: grid;
  gap: 9px;
  padding: 12px 0;
  border-bottom: 1px solid #e8edf3;
  color: #758398;
  font-size: 12px;
}

.recharge-copy-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.recharge-copy-value code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #27364a;
  font-family: inherit;
  font-size: 13px;
}

#recharge-payment-address {
  color: #172b45;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

.recharge-copy-value button {
  min-height: 32px;
  flex: 0 0 auto;
  padding: 0 10px;
}

.recharge-transfer-amount {
  color: #e04444;
  font-size: 18px;
}

.recharge-payment-note {
  padding: 16px 20px;
  border: 1px solid #e9edf2;
  background: #f4f6f8;
  color: #8996a6;
  font-size: 12px;
  line-height: 1.7;
}

.recharge-payment-note ol {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding-left: 20px;
}

.recharge-payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.recharge-payment-actions button {
  min-height: 40px;
}

#recharge-form {
  display: grid;
  gap: 22px;
}

.recharge-field {
  display: grid;
  gap: 8px;
  color: #34445b;
  font-size: 13px;
  font-weight: 600;
}

.recharge-field select,
.recharge-amount-control {
  width: 100%;
  min-height: 41px;
  border: 1px solid #dfe5ec;
  border-radius: 5px;
  background: #fff;
  color: #58677b;
  font-size: 13px;
  font-weight: 400;
}

.recharge-field select {
  padding: 0 12px;
}

.recharge-amount-control {
  display: flex;
  align-items: center;
  padding: 0 11px 0 12px;
}

.recharge-amount-control:focus-within,
.recharge-field select:focus-visible {
  border-color: #398fe8;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(57, 143, 232, .12);
}

.recharge-amount-control input {
  width: 100%;
  min-width: 0;
  height: 39px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #34445b;
  font-size: 13px;
}

.recharge-amount-control input::placeholder {
  color: #abb5c2;
}

.recharge-amount-control > span {
  flex: 0 0 auto;
  color: #66758a;
  font-size: 12px;
}

.recharge-terms {
  display: grid;
  gap: 13px;
  margin: 17px 0 0;
  padding: 22px 30px 22px 48px;
  background: #f4f6f8;
  color: #8996a6;
  font-size: 13px;
  line-height: 1.55;
}

.recharge-next,
.recharge-back {
  width: 188px;
  min-width: 188px;
  max-width: 100%;
  min-height: 39px;
  margin-top: 0;
  font-size: 12px;
}

.recharge-summary {
  display: grid;
  gap: 0;
  margin: 0 0 20px;
  border-top: 1px solid #edf0f4;
}

.recharge-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 2px;
  border-bottom: 1px solid #edf0f4;
  font-size: 13px;
}

.recharge-summary dt {
  color: #778598;
}

.recharge-summary dd {
  margin: 0;
  color: #29384e;
  font-weight: 600;
  text-align: right;
}

.recharge-notice {
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 1px solid #f4dfb1;
  border-radius: 6px;
  background: #fff9eb;
  color: #896526;
  font-size: 12px;
  line-height: 1.6;
}

.recharge-feedback {
  min-height: 17px;
  margin: 10px 0 0;
  color: #ad7b27;
  font-size: 11px;
}

.order-card {
  min-height: 460px;
  padding-top: 22px;
}

.order-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 26px;
  padding: 2px 1px 36px;
}

.order-filter {
  display: grid;
  gap: 7px;
  color: #5d6a7c;
  font-size: 11px;
}

.order-filter input,
.order-filter select {
  width: 190px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #e1e6ed;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: #5f6c7e;
  font-size: 11px;
}

.order-filter input::placeholder {
  color: #abb5c3;
}

.order-filter input:focus,
.order-filter select:focus {
  border-color: #79afe7;
  box-shadow: 0 0 0 3px rgba(61, 143, 227, .1);
}

.order-filter input[type="date"] {
  color: #8995a5;
}

.order-search {
  min-width: 58px;
  height: 38px;
}

.order-table-wrap {
  padding: 0 1px;
}

.order-table {
  min-width: 1280px;
}

.order-table th,
.order-table td {
  padding-right: 13px;
  padding-left: 13px;
}

.order-table .empty-row td {
  height: 60px;
}

.order-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  padding: 16px 12px 2px;
  color: #778496;
  font-size: 11px;
}

.page-size-label select,
.jump-page input {
  height: 29px;
  border: 1px solid #e1e6ed;
  border-radius: 5px;
  background: #fff;
  color: #657286;
  font-size: 11px;
}

.page-size-label select {
  width: 90px;
  padding: 0 7px;
}

.page-arrow {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #99a4b2;
  font-size: 21px;
}

.page-arrow:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.current-page {
  min-width: 17px;
  color: #398fe8;
  text-align: center;
}

.jump-page {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}

.jump-page input {
  width: 43px;
  padding: 0 5px;
  text-align: center;
}

.order-feedback {
  min-height: 14px;
  margin: 6px 12px 0;
  color: #ad7b27;
  font-size: 10px;
  text-align: right;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f2f5;
}

.section-heading h2 {
  margin: 0;
  color: #29384e;
  font-size: 16px;
}

.section-heading p {
  margin: 5px 0 0;
  color: #97a1af;
  font-size: 10px;
}

.service-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}

.turnstile-widget:empty {
  display: none;
}

#login-form > .turnstile-widget,
#recharge-form > .turnstile-widget,
#recharge-check-turnstile {
  margin-top: 12px;
}

#service-form > .turnstile-widget {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

#service-form {
  position: relative;
}

.select-field {
  display: grid;
  min-width: 145px;
  gap: 7px;
  color: #647184;
  font-size: 11px;
}

.select-field select,
.select-field input {
  width: 185px;
  max-width: 100%;
  height: 37px;
  padding: 0 30px 0 11px;
  border: 1px solid #e1e6ed;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: #7d8999;
  font-size: 11px;
}

.select-field select:focus {
  border-color: #79afe7;
  box-shadow: 0 0 0 3px rgba(61, 143, 227, .1);
}

.service-actions {
  display: flex;
  gap: 9px;
  padding-left: 1px;
}

.button-primary,
.button-secondary {
  min-width: 75px;
  height: 37px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition: filter .18s;
}

.button-primary { background: #398fe8; }
.button-secondary { background: #f0a329; }
.button-primary:hover,
.button-secondary:hover { filter: brightness(.95); }

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  color: #7f8b9a;
  text-align: left;
  white-space: nowrap;
  font-size: 11px;
}

.table-wrap th,
.table-wrap td {
  height: 41px;
  padding: 0 10px;
  border-bottom: 1px solid #eff2f5;
}

.table-wrap th {
  color: #7b8797;
  font-weight: 500;
}

.table-wrap th:first-child,
.table-wrap td:first-child {
  width: 38px;
  padding-left: 8px;
}

.table-wrap input {
  accent-color: #398fe8;
}

.empty-row td {
  height: 88px;
  color: #a0a9b6;
  text-align: center;
}

.empty-icon {
  display: block;
  margin-bottom: 5px;
  color: #c1cad5;
  font-size: 21px;
}

.service-feedback {
  min-height: 15px;
  margin: 9px 0 0;
  color: #ad7b27;
  font-size: 10px;
}

.secondary-card {
  min-height: 300px;
}

.empty-state {
  display: grid;
  min-height: 225px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  color: #8d99a9;
  text-align: center;
  font-size: 11px;
}

.empty-state .empty-icon {
  margin-bottom: 4px;
  font-size: 30px;
}

.empty-state strong {
  color: #556376;
  font-size: 13px;
}

.admin-console {
  display: grid;
  gap: 16px;
}

.admin-console-heading,
.admin-panel-card .section-heading,
.admin-pagination,
.admin-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-console-heading h2,
.admin-panel-card .section-heading h2 {
  margin: 0;
  color: #263448;
  font-size: 15px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-stats article {
  display: grid;
  gap: 10px;
  padding: 17px;
  border: 1px solid #e9edf3;
  border-radius: 8px;
  background: #fff;
  color: #738095;
  font-size: 12px;
}

.admin-stats strong {
  color: #263448;
  font-size: 22px;
}

.admin-date-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #657287;
  font-size: 12px;
}

.admin-date-filter input {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #dce2ea;
  border-radius: 5px;
  background: #fff;
  color: #344256;
}

.admin-subpage {
  display: grid;
  gap: 16px;
}

.sms-admin-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}

.sms-admin-group > .admin-panel-card {
  min-width: 0;
}

.sms-admin-group > .sms-provider-config {
  grid-column: 1 / -1;
}

.sms-admin-group > .sms-country-catalog {
  grid-column: 1 / -1;
}

#admin-page-upstream {
  counter-reset: upstream-panel;
}

#admin-page-upstream .admin-collapsible-panel > .admin-collapsible-summary {
  counter-increment: upstream-panel;
}

#admin-page-upstream .admin-collapsible-panel > .admin-collapsible-summary h2::before {
  content: counter(upstream-panel) ". ";
}

.admin-collapsible-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.admin-collapsible-summary::-webkit-details-marker {
  display: none;
}

.admin-collapsible-summary::after {
  color: #657287;
  content: "+";
  font-size: 22px;
  line-height: 1;
}

.admin-collapsible-panel[open] > .admin-collapsible-summary::after {
  content: "−";
}

.admin-collapsible-summary h2 {
  margin: 0;
}

.admin-collapsible-summary:focus-visible {
  border-radius: 6px;
  outline: 2px solid #3778ee;
  outline-offset: 4px;
}

.admin-collapsible-content {
  margin-top: 16px;
}

.admin-subpage[data-admin-page="admin-customers"] {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.admin-subpage[hidden],
.admin-vertical-form[hidden] {
  display: none;
}

.admin-provider-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  margin-top: 14px;
}

.admin-provider-card {
  min-width: 0;
  padding: 16px;
}

.admin-provider-card h3 {
  margin: 0;
  color: #263448;
  font-size: 14px;
}

.admin-provider-status {
  margin: 10px 0 0;
  color: #657287;
  font-size: 12px;
}

.admin-provider-details {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf0f4;
}

.admin-provider-details[hidden] {
  display: none;
}

.admin-provider-toggle {
  flex: 0 0 auto;
}

.admin-upstream-actions,
.admin-provider-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-provider-actions button {
  min-height: 38px;
}

.admin-provider-runtime-actions {
  margin-top: 12px;
}

.admin-vertical-form {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 13px;
}

.admin-subpage[data-admin-page="admin-customers"] .admin-vertical-form {
  grid-template-columns: minmax(0, 1fr);
}

.admin-subpage[data-admin-page="admin-customers"] .admin-panel-card {
  min-width: 0;
}

.admin-customer-price-load {
  justify-content: flex-start;
  max-width: 520px;
}

.admin-customer-price-load input {
  flex: 1;
}

.admin-customer-pricing-page .admin-panel-card {
  min-width: 0;
}

.admin-customer-price-channels {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.admin-customer-price-channel-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e5ebf3;
  border-radius: 12px;
  background: #fcfdff;
}

.admin-customer-price-channel-panel .section-heading {
  padding-bottom: 10px;
}

.admin-customer-price-channel-panel .section-heading h3 {
  margin: 0;
  color: #1d2a40;
  font-size: 14px;
  font-weight: 650;
}

.admin-customer-price-form {
  margin: 16px 0 20px;
}

#admin-customer-routes-form {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.admin-customer-route-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.admin-customer-route-filters > label {
  width: 210px;
  max-width: 100%;
  min-width: 0;
}

#admin-customer-routes-form > .table-wrap {
  min-width: 0;
}

#admin-customer-routes-form table {
  min-width: 760px;
  table-layout: fixed;
}

#admin-customer-routes-form th,
#admin-customer-routes-form td {
  padding: 10px 8px;
  white-space: normal;
  overflow-wrap: anywhere;
  vertical-align: top;
}

#admin-customer-routes-form th:first-child,
#admin-customer-routes-form td:first-child {
  width: 48px;
}

#admin-customer-routes-form th:nth-child(3) {
  width: 70px;
}

#admin-customer-routes-form th:nth-child(4) {
  width: 34%;
}

#admin-customer-routes-form th:nth-child(5) {
  width: 24%;
}

#admin-customer-routes-form th:nth-child(6),
#admin-customer-routes-form th:nth-child(7) {
  width: 64px;
}

#admin-customer-routes-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
}

#admin-customer-routes-save {
  justify-self: start;
}

#admin-customer-price-hh-form {
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
}

#admin-customer-price-all-form,
#admin-customer-price-c3-form {
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) minmax(170px, 1fr) minmax(150px, 0.8fr) auto;
}

.admin-customer-price-form button {
  white-space: nowrap;
}

.admin-customer-price-channel-panel .table-wrap {
  margin-top: 12px;
  max-height: min(60vh, 560px);
  overflow: auto;
}

.admin-customer-price-channel-panel .table-wrap th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.admin-customer-price-channel-panel[hidden] {
  display: none;
}

.admin-customer-price-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  border-bottom: 1px solid #e5ebf3;
}

.admin-price-tab {
  padding: 9px 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #6b7b92;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.admin-price-tab[aria-selected="true"] {
  border-bottom-color: #398fe8;
  color: #1d2a40;
}

.admin-price-tab-count {
  color: #8c9ab0;
  font-weight: 500;
}

.admin-vertical-form.admin-customer-price-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 13px;
}

.admin-vertical-form.admin-customer-price-filters > label {
  width: 210px;
  max-width: 100%;
  min-width: 0;
}

.admin-tab-inactive {
  display: none !important;
}

#admin-page-upstream {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}

#admin-page-upstream > .admin-upstream-toolbar,
#admin-page-upstream .admin-collapsible-panel[open] {
  grid-column: 1 / -1;
}

#admin-page-upstream .sms-admin-group {
  display: contents;
}

#admin-page-upstream .sms-admin-group > .admin-panel-card {
  grid-column: auto;
}

#admin-page-upstream .sms-admin-group > .admin-collapsible-panel[open] {
  grid-column: 1 / -1;
}

#admin-page-upstream .admin-collapsible-panel:not([open]) {
  padding-top: 14px;
  padding-bottom: 14px;
}

#admin-page-upstream .admin-collapsible-panel > .admin-collapsible-summary h2 {
  font-size: 14px;
}

.admin-vertical-form.admin-upstream-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.admin-vertical-form.admin-upstream-toolbar input {
  width: 260px;
  max-width: 100%;
}

.admin-vertical-form.admin-upstream-toolbar .admin-note {
  margin: 0;
}

.admin-vertical-form.admin-customer-price-filters > .admin-note {
  margin: 0 0 10px;
}

.admin-customer-price-channels {
  margin-top: 0;
}

.admin-provider-card .admin-vertical-form {
  margin-top: 14px;
}

.admin-provider-card .admin-vertical-form input,
.admin-provider-card .admin-vertical-form select {
  min-width: 0;
}

.admin-provider-routes {
  margin-top: 14px;
  border-top: 1px solid #edf1f6;
  padding-top: 12px;
}

.admin-provider-routes > summary {
  color: #344256;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.admin-provider-routes[open] > summary {
  margin-bottom: 12px;
}

.admin-provider-route-form-slot .admin-vertical-form {
  margin: 12px 0 16px;
  padding: 14px;
  border: 1px solid #edf1f6;
  border-radius: 10px;
}

.admin-test-output {
  max-height: 360px;
  overflow: auto;
  padding: 12px;
  border: 1px solid #dce2ea;
  border-radius: 8px;
  background: #f8fafd;
  color: #344256;
  font-size: 11px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#admin-sms-country-body input {
  min-width: 140px;
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid #dce2ea;
  border-radius: 5px;
}

.admin-provider-actions {
  grid-column: 1 / -1;
}

.admin-provider-actions button:disabled {
  cursor: default;
  opacity: .55;
}

.admin-vertical-form label {
  display: grid;
  gap: 6px;
  color: #657287;
  font-size: 12px;
}

.admin-vertical-form input,
.admin-vertical-form select {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #dce2ea;
  border-radius: 5px;
  background: #fff;
  color: #344256;
}

.admin-vertical-form select.admin-multi-select {
  min-height: 180px;
  padding: 8px;
}

.admin-sms-country-note {
  color: #657287;
  font-size: 11px;
  line-height: 1.5;
}

.admin-sms-country-summary {
  display: block;
  margin-top: 4px;
  color: #657287;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-vertical-form button {
  min-height: 38px;
  justify-self: start;
}

.admin-customer-order-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0;
}

.admin-panel-card {
  padding: 18px;
}

.admin-customer-directory {
  margin-top: 14px;
}

.admin-customer-ranking-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #e1e6ee;
  border-radius: 8px;
  background: #f8fafd;
}

.admin-customer-ranking-filter label,
.admin-customer-date-range label {
  display: grid;
  gap: 5px;
  color: #66758a;
  font-size: 12px;
}

.admin-customer-ranking-filter select,
.admin-customer-date-range input {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #dce2ea;
  border-radius: 5px;
  background: #fff;
  color: #344256;
}

.admin-customer-ranking-day-note {
  color: #718096;
  font-size: 12px;
}

.admin-customer-date-range {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
}

.admin-customer-date-range[hidden] {
  display: none;
}

.admin-search input,
.admin-search select {
  min-width: 170px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #dce2ea;
  border-radius: 5px;
  background: #fff;
  color: #344256;
}

#admin-customer-orders-search {
  flex: 1;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#admin-customer-orders-search select {
  min-width: 120px;
  max-width: 160px;
}

.admin-data-table {
  min-width: 800px;
}

.admin-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.admin-sort-indicator {
  color: #718096;
  font-size: 11px;
}

.admin-pagination {
  justify-content: flex-end;
  margin-top: 14px;
  color: #738095;
  font-size: 12px;
}

.admin-customer-orders-pagination {
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 6px 2px;
  font-size: 14px;
}

.admin-customer-orders-date-range {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  color: #66758a;
  font-size: 12px;
}

.admin-customer-orders-date-range input {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #dce4ef;
  border-radius: 9px;
  background: #fff;
  color: #344256;
}

.admin-customer-orders-pagination .page-size-label select {
  width: 158px;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: #fff;
  color: #52647b;
  font-size: 14px;
}

.admin-customer-orders-pagination .page-arrow {
  width: 48px;
  height: 58px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: #fff;
  color: #52647b;
  font-size: 25px;
}

.admin-customer-orders-pagination .current-page {
  min-width: 36px;
  font-size: 16px;
}

.admin-customer-orders-pagination .jump-page {
  gap: 9px;
  margin-left: 0;
  font-size: 14px;
}

.admin-customer-orders-pagination .jump-page input {
  width: 72px;
  height: 58px;
  padding: 0 10px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  font-size: 14px;
}

.admin-note,
.admin-feedback {
  margin: 12px 0 0;
  color: #7d8999;
  font-size: 11px;
  line-height: 1.6;
}

.admin-feedback {
  color: #b34444;
}

@media (max-width: 760px) {
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-customer-order-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-panel-card .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-search,
  .admin-search input,
  .admin-search select {
    width: 100%;
  }

  .admin-vertical-form {
    grid-template-columns: 1fr;
  }

  .admin-customer-price-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #admin-customer-price-hh-form,
  #admin-customer-price-all-form,
  #admin-customer-price-c3-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-provider-list {
    grid-template-columns: 1fr;
  }

  .sms-admin-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sms-admin-group > .sms-provider-config {
    grid-column: auto;
  }

  .sms-admin-group > .sms-country-catalog {
    grid-column: auto;
  }

  .admin-search {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-date-filter {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-upstream-actions {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .admin-customer-price-form {
    grid-template-columns: 1fr;
  }

  #admin-customer-price-hh-form,
  #admin-customer-price-all-form,
  #admin-customer-price-c3-form {
    grid-template-columns: 1fr;
  }
}

.app-footer {
  display: flex;
  justify-content: space-between;
  padding: 5px 2px;
  color: #a1aab6;
  font-size: 10px;
}

.sidebar-collapsed .sidebar {
  width: 74px;
  flex-basis: 74px;
  padding-right: 10px;
  padding-left: 10px;
}

.sidebar-collapsed .sidebar-brand {
  justify-content: center;
  padding: 0;
}

.sidebar-collapsed .sidebar-brand > span:last-child,
.sidebar-collapsed .nav-item > span:last-child {
  display: none;
}

.sidebar-collapsed .nav-item {
  justify-content: center;
  padding: 0;
}

.sidebar-collapsed .nav-icon {
  font-size: 20px;
}

@media (max-width: 900px) {
  .sidebar {
    width: 205px;
    flex-basis: 205px;
  }

  .stat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-filters {
    gap: 12px;
  }
}

@media (max-width: 650px) {
  .sidebar {
    position: fixed;
    z-index: 5;
    width: 180px;
    flex-basis: 180px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .nav-item {
    justify-content: flex-start;
    padding: 0 11px;
  }

  .workspace {
    margin-left: 180px;
  }

  .sidebar-collapsed .sidebar {
    width: 0;
    flex-basis: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
  }

  .sidebar-collapsed .workspace {
    margin-left: 0;
  }

  .today-label {
    display: none;
  }

  .app-content {
    padding-top: 18px;
  }

  .stat-cards {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .stat-card {
    min-height: 88px;
  }

  .service-filters {
    align-items: stretch;
  }

  .api-key-controls {
    flex-wrap: wrap;
    padding: 8px;
  }

  .api-key-label {
    width: 100%;
    min-height: 34px;
    flex: 1 0 100%;
    place-items: center start;
    padding: 0 8px;
    border-right: 0;
    border-bottom: 1px solid #e5eaf0;
  }

  .api-key-controls input {
    width: 0;
    flex: 1 1 140px;
  }

  .select-field {
    width: 100%;
  }

  .select-field select {
    width: 100%;
  }

  .service-actions {
    padding-top: 4px;
  }

  .order-card {
    min-height: 390px;
  }

  .order-filters {
    gap: 12px;
    padding-bottom: 24px;
  }

  .order-filter {
    width: 100%;
  }

  .order-filter input,
  .order-filter select {
    width: 100%;
  }

  .order-pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-right: 0;
    padding-left: 0;
  }

  .content-card {
    padding: 16px 13px 12px;
  }

  .recharge-card {
    min-height: 0;
  }

  .recharge-panel {
    padding: 20px 15px;
  }

  .recharge-panel h2 {
    font-size: 17px;
  }

  .recharge-payment-heading {
    margin: -20px -15px 15px;
    padding: 14px 15px;
  }

  .recharge-payment-heading p {
    font-size: 11px;
  }

  .recharge-countdown {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .recharge-qr {
    width: 168px;
    height: 168px;
  }

  .recharge-payment-note {
    padding: 13px;
  }

  .recharge-payment-actions {
    flex-direction: column;
  }

  .recharge-payment-actions button {
    width: 100%;
  }

  .recharge-terms {
    padding: 18px 16px 18px 34px;
    font-size: 12px;
  }

  .recharge-next,
  .recharge-back {
    width: 100%;
  }
}

:root {
  color: #172235;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f7fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body {
  background: #f4f7fb;
  color: #172235;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
input,
select,
textarea,
.content-card,
.stat-card,
.nav-item {
  transition:
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    color .18s ease,
    opacity .18s ease,
    transform .18s ease;
}

:focus-visible {
  outline: 3px solid rgba(59, 130, 246, .3);
  outline-offset: 2px;
}

.login-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(63, 106, 176, .35), transparent 44%),
    linear-gradient(145deg, #0b1424 0%, #101d32 58%, #111b2d 100%);
}

.ambient-one {
  background: linear-gradient(140deg, rgba(49, 94, 165, .28), rgba(25, 43, 78, .4));
}

.ambient-two {
  background: rgba(57, 91, 145, .18);
}

.ambient-three {
  background: rgba(34, 95, 158, .2);
}

.glow {
  width: 8px;
  height: 8px;
  background: #8db9ff;
  box-shadow: 0 0 20px 8px rgba(66, 133, 244, .25);
}

.login-card {
  width: min(100%, 460px);
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 22px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
  color: #182338;
  backdrop-filter: blur(18px);
}

.card-content {
  width: min(100%, 390px);
  padding: 42px 0 38px;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .25);
  color: #fff;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -.04em;
}

.login-eyebrow {
  margin: 0;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-align: center;
}

#login-title {
  margin-top: 8px;
  color: #101b2e;
  font-size: 28px;
  letter-spacing: -.045em;
}

.subtitle {
  margin: 10px 0 28px;
  color: #718096;
  font-size: 13px;
  line-height: 1.6;
}

#login-form {
  gap: 13px;
}

.input-wrap {
  height: 50px;
  gap: 12px;
  padding: 0 14px;
  border-color: #dbe3ef;
  border-radius: 12px;
  background: #f8fafd;
  color: #64748b;
}

.input-wrap:focus-within {
  border-color: #4a83ea;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .12);
}

.input-wrap input {
  color: #172235;
  font-size: 14px;
}

.input-wrap input::placeholder {
  color: #91a0b4;
}

.login-button,
.button-primary {
  border: 1px solid #2b68db;
  border-radius: 11px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 8px 18px rgba(37, 99, 235, .16);
  color: #fff;
  font-weight: 650;
}

.login-button {
  height: 50px;
  margin-top: 4px;
  font-size: 14px;
}

.login-button:hover,
.button-primary:hover {
  background: linear-gradient(135deg, #3478ec, #1d4ed8);
  box-shadow: 0 11px 22px rgba(37, 99, 235, .22);
  transform: translateY(-1px);
}

.button-secondary {
  border: 1px solid #d8e1ee;
  border-radius: 10px;
  background: #fff;
  color: #34445d;
  font-weight: 600;
}

.button-secondary:hover {
  border-color: #b8c9e2;
  background: #f5f8fc;
  transform: translateY(-1px);
}

button:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: .55;
  transform: none;
}

.admin-app {
  --app-ink: #172235;
  --app-muted: #718096;
  --app-line: #e4eaf2;
  min-height: 100vh;
  background: #f4f7fb;
  color: var(--app-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sidebar {
  width: 256px;
  flex-basis: 256px;
  padding: 0 14px 20px;
  border-right: 1px solid rgba(255, 255, 255, .06);
  background:
    radial-gradient(circle at 12% 0%, rgba(53, 105, 190, .18), transparent 32%),
    #0d1728;
  box-shadow: 10px 0 30px rgba(17, 30, 52, .08);
}

.sidebar-brand {
  min-height: 78px;
  gap: 12px;
  padding: 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.sidebar-logo {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .26);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.side-nav {
  gap: 6px;
  padding-top: 14px;
}

.nav-item {
  min-height: 46px;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #a8b5c9;
  font-size: 13px;
  font-weight: 550;
}

.nav-item:hover {
  background: rgba(255, 255, 255, .07);
  color: #f5f8ff;
}

.nav-item.active {
  border-color: rgba(113, 161, 255, .18);
  background: linear-gradient(100deg, rgba(44, 103, 211, .95), rgba(34, 83, 177, .78));
  box-shadow: 0 8px 18px rgba(5, 12, 25, .22);
  color: #fff;
}

.nav-icon {
  width: 20px;
  font-size: 16px;
}

.workspace {
  min-height: 100vh;
  background: #f4f7fb;
}

.app-header {
  height: 70px;
  padding: 0 clamp(20px, 3vw, 44px);
  border-bottom: 1px solid rgba(219, 227, 238, .8);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 4px 18px rgba(23, 34, 53, .025);
  backdrop-filter: blur(16px);
  color: #596980;
}

.header-left {
  gap: 15px;
  color: #718096;
  font-size: 13px;
  font-weight: 550;
}

.menu-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid #e3e9f2;
  border-radius: 11px;
  background: #fff;
  color: #52647d;
}

.menu-toggle:hover {
  background: #f4f7fc;
  transform: translateY(-1px);
}

.header-right {
  gap: 16px;
}

.user-menu {
  gap: 9px;
  color: #33435c;
  font-size: 13px;
  font-weight: 600;
}

.user-avatar {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border: 2px solid #fff;
  background: linear-gradient(135deg, #91b7f6, #527fe0);
  box-shadow: 0 0 0 1px #d9e4f4;
  font-size: 12px;
}

.app-content {
  max-width: 1600px;
  padding: 32px clamp(18px, 3vw, 42px) 24px;
}

.page-heading {
  margin: 0 2px 22px;
}

.page-eyebrow {
  margin-bottom: 7px;
  color: #7a8aa2;
  font-size: 10px;
  letter-spacing: .15em;
}

.page-heading h1 {
  color: #172235;
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 700;
  letter-spacing: -.045em;
}

.today-label {
  color: #73839a;
  font-size: 12px;
}

.content-card,
.stat-card,
.admin-stats article {
  border: 1px solid #e5ebf3;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(25, 42, 68, .045);
}

.content-card {
  margin-bottom: 18px;
  padding: 23px;
}

.content-card:hover,
.stat-card:hover {
  box-shadow: 0 13px 34px rgba(25, 42, 68, .075);
}

.stat-cards {
  gap: 16px;
  margin-bottom: 18px;
}

.stat-card {
  min-height: 116px;
  padding: 20px;
}

.section-heading {
  padding-bottom: 17px;
  border-color: #edf1f6;
}

.section-heading h2 {
  color: #1d2a40;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.015em;
}

.section-heading p {
  color: #8492a7;
  font-size: 12px;
}

.service-filters,
.order-filters {
  gap: 14px;
  padding: 20px 0 22px;
}

.select-field,
.order-filter,
.admin-vertical-form label,
.password-dialog-field {
  color: #5f6f86;
  font-size: 12px;
  font-weight: 550;
}

.select-field select,
.select-field input,
.order-filter input,
.order-filter select,
.admin-vertical-form input,
.admin-vertical-form select,
.admin-search input,
.admin-search select,
.password-dialog-field input,
.recharge-field input,
.recharge-field select {
  min-height: 42px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fff;
  color: #24344d;
  font-size: 13px;
}

.select-field select {
  width: min(100%, 220px);
  height: 42px;
  padding: 0 12px;
}

.select-field input {
  width: min(100%, 220px);
  height: 42px;
  padding: 0 12px;
}

.select-field select:focus,
.select-field input:focus,
.order-filter input:focus,
.order-filter select:focus,
.admin-vertical-form input:focus,
.admin-vertical-form select:focus,
.admin-search input:focus,
.admin-search select:focus,
.password-dialog-field input:focus,
.recharge-field input:focus,
.recharge-field select:focus {
  border-color: #5e8fe7;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .11);
  outline: 0;
}

.button-primary,
.button-secondary,
.login-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.table-wrap table {
  color: #52627a;
  font-size: 12px;
}

.table-wrap th,
.table-wrap td {
  height: 46px;
  padding: 0 12px;
  border-color: #edf1f6;
}

.table-wrap th {
  background: #f8fafd;
  color: #6b7b92;
  font-size: 11px;
  font-weight: 650;
}

.table-wrap tr:hover td {
  background: #fbfcfe;
}

.empty-row td {
  color: #8c9ab0;
}

.order-pagination,
.admin-pagination {
  gap: 10px;
  color: #718096;
  font-size: 12px;
}

.page-arrow,
.order-pagination select,
.jump-page input {
  min-height: 36px;
  border: 1px solid #dce4ef;
  border-radius: 9px;
  background: #fff;
  color: #43546e;
}

.admin-console-heading {
  margin: 0 2px 20px;
}

.admin-console-heading h2 {
  color: #172235;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.035em;
}

.admin-stats {
  gap: 14px;
}

.admin-stats article {
  padding: 18px;
  color: #73839a;
}

.admin-stats article strong {
  color: #1b2a42;
}

.admin-panel-card {
  padding: 21px;
}

.admin-vertical-form {
  gap: 15px;
  margin-top: 18px;
}

.admin-vertical-form label {
  gap: 8px;
}

.admin-vertical-form input,
.admin-vertical-form select {
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
}

.admin-vertical-form button {
  min-height: 42px;
  margin-top: 2px;
}

.admin-note,
.admin-feedback {
  font-size: 12px;
}

.admin-note {
  color: #7b8ba3;
}

.admin-feedback {
  color: #b54747;
}

.password-dialog {
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(15, 28, 48, .24);
}

.app-footer {
  padding: 14px 2px;
  color: #8b99ad;
  font-size: 11px;
}

@media (max-width: 900px) {
  .sidebar {
    width: 228px;
    flex-basis: 228px;
  }

  .app-content {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 650px) {
  .sidebar {
    z-index: 10;
    top: 62px;
    height: calc(100dvh - 62px);
    width: 260px;
    flex-basis: 260px;
    transform: translateX(-100%);
    box-shadow: 18px 0 38px rgba(11, 20, 36, .24);
  }

  .admin-app:not(.sidebar-collapsed) .sidebar {
    transform: translateX(0);
  }

  .sidebar-collapsed .sidebar {
    width: 260px;
    flex-basis: 260px;
    transform: translateX(-100%);
  }

  .workspace,
  .sidebar-collapsed .workspace {
    margin-left: 0;
  }

  .app-header {
    height: 62px;
    padding: 0 14px;
  }

  .header-left {
    gap: 9px;
    font-size: 12px;
  }

  .header-right {
    gap: 8px;
  }

  .user-menu {
    gap: 6px;
    font-size: 12px;
  }

  .app-content {
    padding: 22px 13px 16px;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .content-card {
    padding: 18px 15px;
    border-radius: 13px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .order-pagination {
    justify-content: flex-start;
  }

  .admin-customer-orders-pagination {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

.language-toggle {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid #dce5f0;
  border-radius: 10px;
  background: #fff;
  color: #52647d;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  transition: background .18s, border-color .18s, transform .18s;
}

.language-toggle:hover {
  transform: translateY(-1px);
  border-color: #b7cbe5;
  background: #f6f9fd;
}

.login-language-toggle {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 22px;
}

.customer-mode .page-heading {
  margin-bottom: 24px;
}

.customer-mode .page-eyebrow {
  font-weight: 700;
  letter-spacing: .16em;
}

.customer-mode .page-heading h1 {
  font-size: clamp(27px, 2.2vw, 34px);
}

.customer-mode .stat-cards {
  gap: 18px;
}

.customer-mode .stat-card {
  min-height: 132px;
  overflow: hidden;
  border-color: #e3eaf4;
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(27, 47, 78, .045);
}

.customer-mode .stat-card::after {
  position: absolute;
  right: -34px;
  bottom: -52px;
  width: 115px;
  height: 115px;
  border: 1px solid rgba(78, 130, 206, .09);
  border-radius: 50%;
  content: "";
}

.customer-mode .stat-value {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 23px;
}

.customer-mode .api-key-card {
  border-color: #e2eaf4;
  background: linear-gradient(115deg, #fff, #f8fbff);
}

.customer-mode .api-key-controls {
  border-color: #e1e9f3;
  border-radius: 11px;
}

.customer-mode .service-card,
.customer-mode .recharge-card,
.customer-mode .order-card,
.customer-mode .secondary-card {
  border-radius: 16px;
}

.customer-mode #service-card .service-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 16px;
}

.customer-mode #service-card .select-field select,
.customer-mode #service-card .select-field input {
  width: 100%;
}

.customer-mode #service-card .service-actions {
  grid-column: 1 / -1;
}

.customer-mode .recharge-flow {
  width: min(100%, 980px);
  margin: 0 auto;
}

.customer-mode .recharge-panel {
  border-radius: 15px;
}

.customer-mode .recharge-step {
  border-radius: 12px;
}

.customer-mode .order-table-wrap,
.customer-mode .table-wrap {
  overflow-x: auto;
}

@media (max-width: 760px) {
  .customer-mode .stat-cards {
    grid-template-columns: 1fr;
  }

  .customer-mode #service-card .service-filters {
    grid-template-columns: 1fr;
  }

  .customer-mode #service-card .service-actions {
    grid-column: auto;
  }
}

.country-search-control {
  position: relative;
  z-index: 2;
  width: min(100%, 220px);
}

.country-search-control input {
  width: 100%;
}

.country-search-options {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-height: min(300px, 55vh);
  overflow-y: auto;
  padding: 5px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(25, 42, 68, .16);
  overscroll-behavior: contain;
}

.country-search-options[hidden] {
  display: none;
}

.country-search-option {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 8px;
  color: #24344d;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
}

.country-search-option:hover,
.country-search-option.is-active {
  background: #eff5ff;
}

.country-search-option.is-selected {
  color: #245fc7;
  font-weight: 650;
}

.country-search-empty {
  padding: 12px 11px;
  color: #8492a7;
  font-size: 13px;
}

.customer-mode #service-card .country-search-control {
  width: 100%;
}

@media (max-width: 650px) {
  .language-toggle {
    min-height: 33px;
    padding: 0 8px;
    font-size: 11px;
  }

  .login-language-toggle {
    top: 12px;
    right: 12px;
  }

  .customer-mode #service-card .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-mode #service-card .section-heading > div {
    min-width: 0;
  }
}

body:has(.customer-mode:not([hidden])) {
  background: #f5f7fb;
}

.customer-mode {
  --customer-ink: #18263d;
  --customer-muted: #75849a;
  --customer-blue: #356fe0;
  background: #f5f7fb;
  color: var(--customer-ink);
}

.customer-mode .sidebar {
  width: 236px;
  flex-basis: 236px;
  padding: 0 14px 20px;
  background: linear-gradient(180deg, #14243d 0%, #101c31 100%);
  box-shadow: 8px 0 28px rgba(22, 39, 65, .08);
}

.customer-mode.sidebar-collapsed .sidebar {
  width: 76px;
  flex-basis: 76px;
}

.customer-mode.sidebar-collapsed .sidebar-brand {
  justify-content: center;
  padding: 0;
}

.customer-mode.sidebar-collapsed .sidebar-brand > span:last-child,
.customer-mode.sidebar-collapsed .nav-item > span:last-child {
  display: none;
}

.customer-mode.sidebar-collapsed .nav-item {
  justify-content: center;
  padding: 0;
}

.customer-mode .sidebar-brand {
  min-height: 76px;
  gap: 12px;
  padding: 0 13px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.customer-mode .side-nav {
  gap: 6px;
  padding-top: 15px;
}

.customer-mode .nav-item {
  min-height: 46px;
  border-radius: 11px;
  font-size: 13px;
}

.customer-mode .nav-item.active {
  background: linear-gradient(105deg, #3977e8, #315fca);
  box-shadow: 0 7px 18px rgba(34, 91, 199, .28);
}

.customer-mode .workspace {
  background:
    radial-gradient(ellipse at 82% 0, rgba(227, 237, 255, .56), transparent 34%),
    #f5f7fb;
}

.customer-mode .app-header {
  height: 68px;
  border-bottom-color: #e9edf4;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 3px 14px rgba(29, 47, 76, .025);
}

.customer-mode .app-content {
  max-width: 1500px;
  padding: 34px clamp(22px, 3.6vw, 54px) 30px;
}

.customer-mode .page-heading {
  align-items: center;
  margin: 0 2px 25px;
}

.customer-mode .page-eyebrow {
  margin-bottom: 8px;
  color: #7185a4;
  font-size: 10px;
  letter-spacing: .18em;
}

.customer-mode .page-heading h1 {
  color: #17243b;
  font-size: clamp(29px, 2.5vw, 36px);
  font-weight: 750;
  letter-spacing: -.045em;
}

.customer-mode .today-label {
  padding: 9px 13px;
  border: 1px solid #e5eaf2;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #718096;
  font-size: 11px;
}

.customer-mode .stat-cards {
  gap: 16px;
  margin-bottom: 17px;
}

.customer-mode .stat-card {
  min-height: 126px;
  gap: 16px;
  padding: 22px;
  border-color: #e7ecf4;
  border-radius: 15px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 7px 22px rgba(31, 51, 82, .045);
}

.customer-mode .stat-icon {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  border-radius: 14px;
}

.customer-mode .stat-label {
  color: #7f8da2;
  font-size: 12px;
}

.customer-mode .stat-value {
  color: #1e2c45;
  font-size: clamp(20px, 1.8vw, 25px);
  letter-spacing: -.025em;
}

.customer-mode .stat-foot {
  color: #99a4b5;
  font-size: 11px;
}

.customer-mode .api-key-card,
.customer-mode .service-card,
.customer-mode .recharge-card,
.customer-mode .order-card,
.customer-mode .secondary-card {
  margin-bottom: 17px;
  border: 1px solid #e5ebf3;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(31, 51, 82, .045);
}

.customer-mode .api-key-card {
  padding: 15px 18px;
  background: linear-gradient(105deg, #fff 0%, #f8faff 100%);
}

.admin-linkcode-card {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
}

.admin-linkcode-card .admin-vertical-form {
  gap: 8px 10px;
  margin-top: 0;
  align-items: end;
}

.admin-linkcode-card .admin-vertical-form label {
  gap: 3px;
  font-size: 12px;
}

.admin-linkcode-card .admin-vertical-form input,
.admin-linkcode-card .admin-vertical-form select {
  min-height: 30px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 12px;
}

.admin-linkcode-card .admin-vertical-form textarea {
  width: 100%;
  min-height: 0;
  padding: 6px 8px;
  border: 1px solid #dce4ef;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.5;
  resize: vertical;
}

.admin-linkcode-card button {
  min-height: 30px;
  margin: 0;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
}

.admin-linkcode-card .admin-provider-actions {
  grid-column: auto;
  gap: 6px;
}

.admin-linkcode-card .admin-provider-actions button {
  min-height: 30px;
}

.admin-linkcode-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}

.admin-linkcode-card .admin-provider-status {
  margin: 0;
}

.admin-linkcode-pool {
  padding: 5px 8px;
  border-radius: 6px;
  background: #f4f7fb;
}

.admin-linkcode-head {
  grid-template-columns: minmax(180px, 360px) auto;
  justify-content: start;
}

.admin-linkcode-import,
.admin-linkcode-restore {
  padding-top: 10px;
  border-top: 1px solid #edf1f6;
}

.admin-linkcode-import {
  grid-template-columns: minmax(0, 1fr) 150px;
}

.admin-linkcode-import > h4,
.admin-linkcode-restore > h4 {
  grid-column: 1 / -1;
  margin: 0;
  color: #263448;
  font-size: 13px;
}

.admin-linkcode-import .admin-linkcode-wide,
.admin-linkcode-import .admin-provider-actions {
  grid-column: 1 / -1;
}

.admin-linkcode-restore {
  grid-template-columns: repeat(2, minmax(120px, 160px)) auto;
  justify-content: start;
}

.admin-linkcode-cancel {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
  margin: 0 0 10px;
}

.admin-linkcode-cancel label {
  display: grid;
  gap: 3px;
  font-size: 12px;
}

.admin-linkcode-cancel input {
  width: 90px;
  min-height: 30px;
  padding: 0 8px;
  font-size: 12px;
}

.admin-linkcode-cancel button {
  min-height: 30px;
}

.admin-linkcode-numbers > summary {
  color: #344256;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.admin-linkcode-numbers[open] > summary {
  margin-bottom: 8px;
}

.admin-linkcode-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}

.admin-linkcode-toolbar > label {
  display: grid;
  gap: 3px;
  color: #657287;
  font-size: 12px;
}

.admin-linkcode-toolbar > label select {
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid #dce4ef;
  border-radius: 6px;
  font-size: 12px;
}

.admin-linkcode-card .admin-provider-routes {
  margin-top: 0;
  padding-top: 10px;
}

.admin-linkcode-card .admin-provider-route-form-slot .admin-vertical-form {
  align-items: start;
  margin: 8px 0;
  padding: 10px;
}

.admin-linkcode-card .admin-provider-route-form-slot .admin-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 11px;
}

@media (max-width: 650px) {
  .admin-linkcode-head,
  .admin-linkcode-import,
  .admin-linkcode-restore {
    grid-template-columns: minmax(0, 1fr);
  }
}

.customer-mode .api-key-controls {
  min-height: 48px;
  border-color: #e3eaf4;
  border-radius: 10px;
  background: #fff;
}

.customer-mode .api-key-controls .copy-button,
.customer-mode .api-key-controls .api-key-reset {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 12px;
  white-space: nowrap;
}

.customer-mode .api-key-label {
  color: #596982;
  font-size: 12px;
}

.customer-mode #service-card {
  padding: 24px;
}

.customer-mode #service-card .section-heading {
  padding-bottom: 18px;
  border-bottom-color: #edf1f6;
}

.customer-mode #service-card .section-heading h2 {
  color: #1d2a40;
  font-size: 18px;
  font-weight: 700;
}

.customer-mode #service-card .section-heading p {
  margin-top: 6px;
  color: #8492a7;
  font-size: 12px;
}

.customer-mode #service-card .service-filters {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 23px 0 20px;
}

.customer-mode #service-card .select-field {
  gap: 8px;
  color: #56667f;
  font-size: 12px;
  font-weight: 650;
}

.customer-mode #service-card .select-field select,
.customer-mode #service-card .select-field input {
  height: 46px;
  padding: 0 13px;
  border-color: #dce5f0;
  border-radius: 10px;
  background-color: #fbfcfe;
  color: #24344d;
  font-size: 13px;
  transition: background .18s, border-color .18s, box-shadow .18s;
}

.customer-mode #service-card .select-field select:hover,
.customer-mode #service-card .select-field input:hover {
  border-color: #b8c9e0;
  background-color: #fff;
}

.customer-mode #service-card .select-field select:focus,
.customer-mode #service-card .select-field input:focus {
  border-color: #6e97ed;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(53, 111, 224, .1);
}

.customer-mode #service-form > .turnstile-widget {
  grid-column: 1 / -1;
}

.customer-mode #service-card .service-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
  padding-top: 2px;
}

.customer-mode #service-card .service-actions button {
  min-width: 112px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 13px;
}

.customer-mode #service-card .service-actions .button-primary {
  background: linear-gradient(110deg, #3978e8, #315fca);
  box-shadow: 0 6px 14px rgba(49, 95, 202, .2);
}

.customer-mode #service-card .service-actions .button-primary:hover {
  filter: brightness(1.04);
  box-shadow: 0 8px 18px rgba(49, 95, 202, .26);
}

.customer-mode #service-form .service-actions button[type="submit"],
.customer-mode #service-form .service-actions button[type="submit"]:hover,
.customer-mode #service-form .service-actions button[type="submit"]:active,
.customer-mode #service-form .service-actions button[type="submit"]:disabled {
  position: relative;
  min-width: 144px;
  padding-inline: 32px;
  background: linear-gradient(110deg, #3978e8, #315fca);
  box-shadow: 0 6px 14px rgba(49, 95, 202, .2);
  opacity: 1;
  filter: none;
  transform: none;
}

.customer-mode #service-form .service-actions button[type="submit"][aria-busy="true"] {
  cursor: progress;
}

.customer-mode #service-form .service-actions button[type="submit"][aria-busy="true"]::after {
  position: absolute;
  top: calc(50% - 7px);
  right: 10px;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  animation: number-request-spin .8s linear infinite;
}

@keyframes number-request-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .customer-mode #service-form .service-actions button[type="submit"][aria-busy="true"]::after {
    animation: none;
  }
}

.customer-mode #service-card .service-actions .button-secondary {
  border: 1px solid #e2e8f0;
  background: #f7f9fc;
  color: #596982;
}

.customer-mode #service-card .table-wrap {
  border: 1px solid #edf1f6;
  border-radius: 11px;
}

.customer-mode #service-table-body .number-order-status-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.customer-mode #service-table-body [data-cancel-number-order] {
  flex-shrink: 0;
  margin: 0;
  white-space: nowrap;
}

.customer-mode #service-card .table-wrap th {
  height: 44px;
  background: #f7f9fc;
}

.customer-mode #service-card .empty-row td {
  height: 112px;
}

.customer-mode .country-search-options {
  border-color: #dce5f0;
  border-radius: 11px;
}

.customer-mode .recharge-flow {
  width: min(100%, 900px);
}

.customer-mode #recharge-card {
  min-height: 0;
  padding: 30px clamp(18px, 4vw, 48px);
}

.customer-mode .recharge-flow {
  width: min(100%, 920px);
}

.customer-mode .recharge-steps {
  min-height: 52px;
  gap: 1px;
  margin-bottom: 22px;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  background: #f4f7fc;
}

.customer-mode .recharge-step {
  gap: 10px;
  color: #75849a;
  font-size: 13px;
  font-weight: 600;
}

.customer-mode .recharge-step.active {
  background: linear-gradient(110deg, #3978e8, #315fca);
  color: #fff;
}

.customer-mode .recharge-step-number {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.customer-mode .recharge-panel {
  padding: clamp(20px, 3vw, 34px);
  border-color: #e7ecf4;
  border-radius: 15px;
  box-shadow: 0 8px 26px rgba(31, 51, 82, .05);
}

.customer-mode .recharge-panel h2 {
  margin-bottom: 24px;
  color: #1d2a40;
  font-size: 20px;
  font-weight: 700;
}

.customer-mode #recharge-form {
  max-width: 620px;
  gap: 18px;
  margin: 0 auto;
}

.customer-mode .recharge-field {
  gap: 8px;
  color: #56667f;
  font-size: 12px;
  font-weight: 650;
}

.customer-mode .recharge-field select,
.customer-mode .recharge-amount-control {
  min-height: 46px;
  border-color: #dce5f0;
  border-radius: 10px;
  color: #24344d;
  font-size: 13px;
}

.customer-mode .recharge-amount-control input {
  height: 44px;
  color: #24344d;
}

.customer-mode .recharge-terms {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 2px 0 0;
  padding: 16px;
  border: 1px solid #e9eef5;
  border-radius: 11px;
  background: #f7f9fc;
  color: #718096;
  font-size: 12px;
  list-style: none;
}

.customer-mode .recharge-next,
.customer-mode .recharge-back {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  font-size: 13px;
}

.customer-mode #order-card,
.customer-mode #statistics-card,
.customer-mode #recharge-history-card {
  min-height: 0;
  padding: 22px;
}

.customer-mode #order-card .order-filters {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(150px, .8fr) minmax(170px, .8fr) auto;
  align-items: end;
  gap: 14px;
  padding: 0 0 20px;
}

.customer-mode .order-filter {
  gap: 8px;
  color: #56667f;
  font-size: 12px;
  font-weight: 650;
}

.customer-mode .order-filter input,
.customer-mode .order-filter select {
  width: 100%;
  height: 43px;
  border-color: #dce5f0;
  border-radius: 10px;
  color: #24344d;
  font-size: 13px;
}

.customer-mode .order-search {
  min-width: 86px;
  height: 43px;
  border-radius: 10px;
  font-size: 13px;
}

.customer-mode #order-card .order-table,
.customer-mode #statistics-card .order-table,
.customer-mode #recharge-history-card .order-table {
  min-width: 1120px;
}

.customer-mode #order-card .order-table-wrap,
.customer-mode #statistics-card .order-table-wrap,
.customer-mode #recharge-history-card .order-table-wrap {
  overflow: auto;
  border: 1px solid #e8edf4;
  border-radius: 11px;
  scrollbar-color: #c3cfdf #f4f7fb;
  scrollbar-width: thin;
}

.customer-mode #order-card .order-table th,
.customer-mode #statistics-card .order-table th,
.customer-mode #recharge-history-card .order-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 46px;
  background: #f5f8fc;
}

.customer-mode #order-card .order-table td,
.customer-mode #statistics-card .order-table td,
.customer-mode #recharge-history-card .order-table td {
  height: 48px;
}

.customer-mode .order-pagination {
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 2px 2px;
  color: #718096;
  font-size: 12px;
}

.customer-mode .page-size-label select,
.customer-mode .jump-page input {
  height: 34px;
  border-color: #dce5f0;
  border-radius: 8px;
  color: #43536b;
  font-size: 12px;
}

.customer-mode .page-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid #e3eaf3;
  border-radius: 9px;
  background: #fff;
}

.customer-mode .current-page {
  color: #356fe0;
  font-weight: 700;
}

.customer-mode .order-feedback {
  margin-right: 2px;
  color: #8290a4;
  font-size: 11px;
}

@media (max-width: 900px) {
  .customer-mode .stat-card {
    min-height: 116px;
    padding: 17px;
  }

  .customer-mode #service-card .service-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-mode #order-card .order-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-mode .recharge-terms {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .customer-mode.sidebar-collapsed .sidebar {
    width: 0;
    flex-basis: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
  }

  .customer-mode .sidebar {
    width: 260px;
    flex-basis: 260px;
  }

  .customer-mode .app-header {
    height: 62px;
  }

  .customer-mode .app-content {
    padding: 23px 14px 18px;
  }

  .customer-mode .page-heading {
    margin-bottom: 18px;
  }

  .customer-mode .page-heading h1 {
    font-size: 29px;
  }

  .customer-mode .stat-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .customer-mode .stat-card {
    min-height: 92px;
  }

  .customer-mode #service-card {
    padding: 18px 15px;
  }

  .customer-mode #service-card .service-filters {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 0;
  }

  .customer-mode #service-form > .turnstile-widget,
  .customer-mode #service-card .service-actions {
    grid-column: auto;
  }

  .customer-mode #service-card .service-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .customer-mode #service-card .service-actions button {
    width: 100%;
  }

  .customer-mode #recharge-card,
  .customer-mode #order-card,
  .customer-mode #statistics-card,
  .customer-mode #recharge-history-card {
    padding: 17px 14px;
  }

  .customer-mode .recharge-steps {
    min-height: 46px;
    margin-bottom: 14px;
  }

  .customer-mode .recharge-step {
    gap: 7px;
    padding: 8px 5px;
    font-size: 11px;
  }

  .customer-mode .recharge-step-number {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .customer-mode .recharge-panel {
    padding: 19px 15px;
  }

  .customer-mode #order-card .order-filters {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .customer-mode .order-pagination {
    justify-content: center;
  }
}

.customer-mode .app-content {
  padding-top: 30px;
}

.customer-mode .customer-welcome {
  position: relative;
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 22px;
  padding: 34px clamp(24px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background:
    radial-gradient(circle at 81% 16%, rgba(111, 169, 255, .32), transparent 24%),
    linear-gradient(112deg, #12243e 0%, #183b68 56%, #28589a 100%);
  box-shadow: 0 16px 34px rgba(26, 58, 101, .17);
  color: #fff;
}

.customer-mode .customer-welcome::before,
.customer-mode .customer-welcome::after {
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(211, 231, 255, .13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.customer-mode .customer-welcome {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.customer-mode .customer-welcome .page-heading {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0;
}

.customer-mode .customer-welcome .page-eyebrow {
  color: #a9c8f3;
}

.customer-mode .customer-welcome h1 {
  color: #fff;
}

.customer-mode .customer-welcome .today-label {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  color: #d0def0;
}

.customer-mode .customer-welcome::before {
  right: 18%;
  bottom: -168px;
}

.customer-mode .customer-welcome::after {
  right: 10%;
  bottom: -146px;
}

.customer-mode .customer-welcome-copy,
.customer-mode .customer-welcome-action {
  position: relative;
  z-index: 1;
}

.customer-mode .customer-welcome-kicker {
  color: #a9c8f3;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .2em;
}

.customer-mode .customer-welcome h2 {
  margin: 10px 0 7px;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 730;
  letter-spacing: -.04em;
}

.customer-mode .customer-welcome p {
  margin: 0;
  color: #d0def0;
  font-size: 13px;
  line-height: 1.7;
}

.customer-mode .customer-welcome-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 19px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 11px;
  background: #fff;
  color: #204d86;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .18s, box-shadow .18s;
}

.customer-mode .customer-welcome-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(7, 21, 42, .2);
}

.customer-mode .customer-page-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  padding: 2px 2px 20px;
  border-bottom: 1px solid #edf1f6;
}

.customer-mode .customer-page-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid #dce8fb;
  border-radius: 15px;
  background: linear-gradient(145deg, #f0f6ff, #e6efff);
  color: #3975d6;
  font-size: 23px;
  font-weight: 500;
}

.customer-mode .customer-page-intro h1 {
  margin: 0;
  color: #192840;
  font-size: 22px;
  font-weight: 720;
  letter-spacing: -.03em;
}

.customer-mode .customer-page-intro p {
  margin: 5px 0 0;
  color: #8190a4;
  font-size: 12px;
}

.customer-mode .stat-card {
  transition: transform .18s, box-shadow .18s, border-color .18s;
}

.customer-mode .stat-card:hover {
  transform: translateY(-3px);
  border-color: #d4e0f0;
  box-shadow: 0 13px 28px rgba(31, 51, 82, .09);
}

.customer-mode .stat-card:nth-child(1) .stat-icon {
  background: #edf4ff;
  color: #3975d6;
}

.customer-mode .stat-card:nth-child(2) .stat-icon {
  background: #f1edff;
  color: #755bd1;
}

.customer-mode .stat-card:nth-child(3) .stat-icon {
  background: #eaf8f2;
  color: #2e9a70;
}

.customer-mode .api-key-card {
  padding: 17px;
}

.customer-mode .api-key-controls {
  min-height: 58px;
  padding: 5px;
  background: #fbfcfe;
}

.customer-mode .api-key-label {
  min-height: 46px;
  border-radius: 8px;
  background: #f2f5fa;
}

.customer-mode #service-card .table-wrap th,
.customer-mode #order-card .order-table th,
.customer-mode #statistics-card .order-table th,
.customer-mode #recharge-history-card .order-table th {
  color: #67768c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
}

.customer-mode #service-card .table-wrap tbody tr:not(.empty-row):hover,
.customer-mode #order-card .order-table tbody tr:not(.empty-row):hover,
.customer-mode #statistics-card .order-table tbody tr:not(.empty-row):hover,
.customer-mode #recharge-history-card .order-table tbody tr:not(.empty-row):hover {
  background: #f7faff;
}

.customer-mode #order-card .order-filters {
  margin: 0 0 20px;
  padding: 17px;
  border: 1px solid #e8edf4;
  border-radius: 13px;
  background: linear-gradient(105deg, #f8fafd, #fbfcfe);
}

.customer-mode #order-card .order-table,
.customer-mode #statistics-card .order-table,
.customer-mode #recharge-history-card .order-table {
  min-width: 1180px;
}

.customer-mode .recharge-steps {
  padding: 4px;
  border: 0;
  border-radius: 14px;
  background: #f0f4fa;
}

.customer-mode .recharge-step {
  min-height: 46px;
  border-radius: 11px;
  transition: background .18s, color .18s;
}

.customer-mode .recharge-step.active {
  box-shadow: 0 5px 12px rgba(49, 95, 202, .18);
}

.customer-mode .recharge-terms li {
  position: relative;
  padding-left: 15px;
}

.customer-mode .recharge-terms li::before {
  position: absolute;
  top: .58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5688df;
  content: "";
}

@media (max-width: 760px) {
  .customer-mode .customer-welcome {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding: 26px 24px;
  }

  .customer-mode .customer-welcome-action {
    width: 100%;
  }
}

@media (max-width: 650px) {
  .customer-mode .app-content {
    padding-top: 19px;
  }

  .customer-mode .customer-welcome {
    margin-bottom: 15px;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .customer-mode .customer-page-intro {
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
  }

  .customer-mode .customer-page-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 13px;
    font-size: 20px;
  }

  .customer-mode .customer-page-intro h1 {
    font-size: 19px;
  }
}

.login-page {
  min-height: 100svh;
  padding: 84px 22px 42px;
  background:
    radial-gradient(ellipse at 18% 14%, rgba(104, 158, 241, .18), transparent 32%),
    radial-gradient(ellipse at 88% 84%, rgba(92, 133, 215, .13), transparent 32%),
    linear-gradient(135deg, #edf3fb 0%, #f7f9fd 48%, #eaf0fa 100%);
}

.login-page::before,
.login-page::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(83, 124, 187, .1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.login-page::before {
  top: -230px;
  left: -200px;
  width: 610px;
  height: 610px;
  box-shadow: 0 0 0 42px rgba(83, 124, 187, .025), 0 0 0 88px rgba(83, 124, 187, .02);
}

.login-page::after {
  right: -190px;
  bottom: -350px;
  width: 700px;
  height: 700px;
  box-shadow: 0 0 0 48px rgba(83, 124, 187, .025), 0 0 0 98px rgba(83, 124, 187, .02);
}

.login-page .ambient {
  filter: blur(2px);
  opacity: .2;
}

.login-page .ambient-one {
  top: -28%;
  left: 4%;
  width: 48vw;
  height: 48vh;
  background: linear-gradient(140deg, rgba(120, 164, 224, .28), rgba(133, 159, 206, .12));
}

.login-page .ambient-two {
  top: 12%;
  right: -26%;
  width: 46vw;
  height: 60vh;
  background: rgba(129, 159, 214, .16);
}

.login-page .ambient-three {
  right: 18%;
  bottom: -48%;
  width: 44vw;
  height: 48vh;
  background: rgba(109, 152, 209, .18);
}

.login-page .glow {
  width: 11px;
  height: 11px;
  background: #78a7eb;
  box-shadow: 0 0 18px 7px rgba(86, 139, 221, .16);
  opacity: .6;
}

.login-page .glow-one { top: 21%; left: 19%; }
.login-page .glow-two { top: 69%; left: 14%; width: 8px; height: 8px; }
.login-page .glow-three { right: 18%; bottom: 22%; left: auto; }

.login-language-toggle {
  top: 26px;
  right: 30px;
  min-height: 40px;
  padding: 0 15px;
  border-color: #dce5f1;
  border-radius: 11px;
  background: rgba(255, 255, 255, .8);
  color: #435b7c;
  box-shadow: 0 4px 14px rgba(40, 64, 100, .04);
}

.login-card {
  width: min(100%, 460px);
  min-height: 0;
  border: 1px solid rgba(222, 230, 241, .95);
  border-radius: 22px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 24px 70px rgba(37, 61, 98, .12), 0 3px 10px rgba(37, 61, 98, .04);
  backdrop-filter: blur(18px);
}

.login-card .card-content {
  width: min(100%, 350px);
  padding: 43px 0 39px;
}

.login-card .brand-mark {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 19px;
  border-radius: 16px;
  box-shadow: 0 8px 19px rgba(42, 105, 207, .2);
}

.login-card .login-eyebrow {
  margin: 0 0 7px;
  color: #4776bb;
  text-align: center;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .18em;
}

.login-card h1 {
  margin: 0;
  color: #1b2c46;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -.04em;
}

.login-card .subtitle {
  margin: 10px 0 26px;
  color: #7889a1;
  font-size: 13px;
  line-height: 1.65;
}

.login-card #login-form {
  gap: 14px;
}

#login-form > #login-turnstile {
  display: block;
  height: 65px;
  min-width: 0;
  margin: 0;
}

.login-card .input-wrap {
  height: 50px;
  gap: 12px;
  padding: 0 14px;
  border-color: #dfe6f0;
  border-radius: 11px;
  background: #f8fafd;
  color: #8192aa;
}

.login-card .input-wrap:focus-within {
  border-color: #6e97e7;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(61, 112, 213, .1);
}

.login-card .field-icon {
  flex-basis: 17px;
}

.login-card .field-icon svg {
  width: 17px;
  height: 17px;
}

.login-card .input-wrap input {
  color: #233651;
  font-size: 13px;
}

.login-card .input-wrap input::placeholder {
  color: #9aa8bb;
}

/* Browser autofill paints only the input box; keep it the same colour as the field. */
.login-card .input-wrap input:-webkit-autofill,
.login-card .input-wrap input:-webkit-autofill:hover,
.login-card .input-wrap input:-webkit-autofill:focus {
  -webkit-text-fill-color: #233651;
  caret-color: #233651;
  box-shadow: 0 0 0 1000px #f8fafd inset;
  transition: background-color 9999s ease-out 0s;
}

.login-card .input-wrap:focus-within input:-webkit-autofill {
  box-shadow: 0 0 0 1000px #fff inset;
}

.login-card .visibility-button {
  color: #8798ae;
}

.login-card .visibility-button:hover,
.login-card .visibility-button:focus-visible {
  color: #3d70ca;
}

.login-card .login-button {
  height: 49px;
  margin-top: 3px;
  border-radius: 11px;
  background: linear-gradient(110deg, #3978e8, #315fca);
  box-shadow: 0 7px 16px rgba(49, 95, 202, .2);
  font-size: 14px;
  font-weight: 700;
}

.login-card .login-button:hover {
  background: linear-gradient(110deg, #326fdc, #294fb5);
  box-shadow: 0 9px 20px rgba(49, 95, 202, .26);
}

.login-card .login-button:active {
  transform: none;
}

.login-card .login-button:focus-visible,
.login-card .visibility-button:focus-visible {
  outline-color: #4e7ed5;
}

.login-card .form-message {
  min-height: 36px;
  color: #b34444;
}

@media (max-width: 540px) {
  .login-page {
    padding: 78px 18px 28px;
  }

  .login-language-toggle {
    top: 18px;
    right: 18px;
  }

  .login-card {
    border-radius: 19px;
  }

  .login-card .card-content {
    width: 100%;
    padding: 34px 24px 30px;
  }
}
.admin-order-alerts {
  position: relative;
}

.admin-alert-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background: #fff;
  color: #4b6385;
  cursor: pointer;
}

.admin-alert-toggle:hover,
.admin-alert-toggle[aria-expanded="true"] {
  background: #eff5ff;
  color: #2563eb;
}

.admin-alert-toggle:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.admin-alert-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 19px;
  padding: 2px 5px;
  border-radius: 12px;
  background: #dc3545;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

.admin-alert-panel {
  position: fixed;
  top: 84px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 40;
  width: min(920px, calc(100vw - 48px));
  max-height: calc(100dvh - 120px);
  overflow: auto;
  padding: 24px;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #fff;
  color: #253958;
  box-shadow: 0 12px 36px #10274626;
  overflow-wrap: anywhere;
}

.admin-alert-panel h2 {
  font-size: 16px;
}

.admin-alert-divider {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 2px solid #c9d5e6;
}

.admin-alert-list {
  padding: 0;
  list-style: none;
}

.admin-alert-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e7edf5;
}

.admin-alert-list p {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.6;
}

.admin-alert-list time {
  color: #6b7c96;
  font-size: 13px;
}

.admin-alert-reason {
  color: #ad4f13;
}

@media (max-width: 650px) {
  .admin-alert-panel {
    position: fixed;
    top: 70px;
    left: 12px;
    right: 16px;
    width: auto;
    max-height: calc(100dvh - 90px);
    padding: 16px;
    transform: none;
  }
}

@media (max-width: 1100px) {
  #admin-page-upstream {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  #admin-page-upstream {
    grid-template-columns: minmax(0, 1fr);
  }
}
