@font-face {
  font-family: Inter;
  src: url(admin/assets/fonts/inter.woff2) format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
:root {
  color-scheme: light;
  --ink: #18202e;
  --muted: #586273;
  --line: #e2e6ec;
}
body {
  margin: 0;
  background: #f8f9fb;
  color: var(--ink);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-optical-sizing: auto;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #91b9e9;
  outline-offset: 4px;
}
.payment-header {
  height: 78px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-content {
  max-width: 1060px;
  height: 100%;
  margin: auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  width: 112px;
  height: auto;
}
.payment-brand { display: grid; gap: 5px; }
.payment-brand .brand { display: block; width: 94px; }
.payment-brand small { color: var(--muted); font-size: 9px; }
.secure-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}
.payment-shell {
  max-width: 1060px;
  margin: 36px auto;
  padding: 0 32px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.eyebrow strong {
  font-weight: 500;
  color: var(--ink);
}
.step-divider {
  margin: 0 8px;
  color: #a1a8b3;
}
.test-badge {
  padding: 3px 8px;
  border: 1px solid #f2d9b7;
  border-radius: 5px;
  background: #fff8ed;
  color: #90601e;
  letter-spacing: 0.2px;
  font-size: 10px;
}
.payment-intro h1 {
  margin: 10px 0 8px;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -0.7px;
  font-weight: 600;
}
.payment-intro > p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.payment-card,
.summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.payment-card {
  padding: 28px;
}
.card-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.bank-logo {
  display: block;
  width: 76px;
  height: auto;
  margin-right: 6px;
}
.bank-description {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
.card-heading p {
  font-size: 12px;
  margin: 3px 0 0;
  color: var(--muted);
}
.state-pill {
  margin-left: auto;
  padding: 6px 9px;
  background: #f6f7f9;
  border-radius: 4px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.amount-block {
  padding: 24px 0;
}
.field-label {
  display: block;
  color: #424c5b;
  font-size: 13px;
  font-weight: 500;
}
.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 7px;
}
.amount {
  font-size: 32px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.copy-button {
  border: 1px solid #d5dce5;
  border-radius: 6px;
  padding: 9px 11px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.copy-button:hover {
  background: #f2f5f8;
}
.amount-block p,
.account-block p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 8px 0 0;
}
.account-box {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #cbd4df;
  background: #f8fafc;
  border-radius: 6px;
}
.account-box input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  outline-offset: 0;
  font-variant-numeric: lining-nums tabular-nums;
}
.deadline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.deadline strong {
  display: block;
  margin-top: 3px;
  font-weight: 500;
  color: var(--ink);
}
#time-left {
  display: block;
  color: var(--muted);
}
.payment-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.payment-actions:has(#provider-payment-link:not([hidden])) #check-payment { color: #1a2d47; background: #fff; border: 1px solid #dbe2eb; }
.payment-shell[data-state="CREATING"] .result-icon { color: #896019; background: #fff6e2; }
.card-heading:has(#payment-bank-logo[hidden]) .bank-description { border-left: 0; padding-left: 0; }
.primary-button {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  background: #182b45;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s;
}
.primary-button:hover {
  background: #0f2037;
}
.payment-actions p {
  min-height: 18px;
  text-align: center;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.summary-card {
  padding: 24px;
}
.summary-card h2 {
  margin-bottom: 22px;
}
.order-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.order-items li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.7;
}
.item-name {
  overflow-wrap: anywhere;
}
.item-name small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}
.item-price {
  white-space: nowrap;
  font-weight: 500;
}
.order-totals {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin: 0;
  font-size: 13px;
}
.order-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.order-totals dt {
  color: var(--muted);
}
.order-totals dd {
  margin: 0;
  font-weight: 500;
}
.order-totals .total-row {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.total-row dt {
  color: var(--ink);
}
.order-reference {
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
}
.order-reference span:last-child {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.sandbox-note {
  background: #fff8ed;
  color: #8a622a;
  border-radius: 7px;
  padding: 12px;
  line-height: 1.7;
  font-size: 12px;
  margin: 18px 0 0;
}
.instructions {
  grid-column: 1;
  padding: 2px 0;
}
.instructions h2 {
  margin-bottom: 12px;
}
.instructions details {
  border-bottom: 1px solid var(--line);
}
.instructions summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 500;
}
.instructions summary::-webkit-details-marker {
  display: none;
}
.instructions summary:after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  margin-right: 3px;
}
.instructions details[open] summary:after {
  transform: rotate(225deg);
}
.instructions ol {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.instructions li {
  padding-left: 4px;
  margin: 6px 0;
}
.instructions strong {
  color: #515967;
  font-weight: 500;
}
.payment-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.payment-bottom a {
  font-size: 12px;
  text-decoration: none;
}
.payment-bottom a:hover {
  text-decoration: underline;
}
.notice {
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 12px;
  background: #fff;
  line-height: 1.8;
}
.result-panel {
  text-align: center;
  padding: 35px 10px 20px;
}
.result-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #eef7f1;
  color: #26824a;
  font-size: 28px;
}
.result-panel h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
}
.result-panel p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.payment-shell[data-state="PAID"] .state-pill {
  color: #26824a;
  background: #eef7f1;
}
.payment-shell[data-state="EXPIRED"] .result-icon,
.payment-shell[data-state="FAILED"] .result-icon {
  background: #f5f6f8;
  color: var(--muted);
}
.copy-feedback {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  max-width: 90vw;
}
.copy-feedback.visible {
  opacity: 1;
}
@media (max-width: 780px) {
  .payment-shell {
    max-width: 620px;
    margin-top: 28px;
    padding: 0 20px;
  }
  .header-content {
    padding: 0 20px;
  }
  .payment-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .summary-card {
    grid-row: 3;
  }
  .instructions {
    grid-row: 2;
  }
  .payment-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .payment-intro h1 {
    font-size: 28px;
  }
  .payment-card {
    padding: 22px;
  }
  .payment-intro > p {
    font-size: 14px;
  }
  .state-pill {
    grid-column: 2;
    justify-self: start;
    margin: 0;
    font-size: 11px;
    padding: 0;
    background: transparent;
  }
  .card-heading {
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    row-gap: 5px;
  }
  .card-heading h2 {
    font-size: 14px;
  }
  .bank-logo {
    grid-row: span 2;
    width: 76px;
    margin: 0;
  }
  .bank-description {
    padding-left: 0;
    border-left: 0;
  }
  .card-heading p {
    display: none;
  }
  .amount {
    font-size: 29px;
  }
  .account-box input {
    font-size: 22px;
    flex: 1 0 100%;
  }
  .account-box {
    flex-wrap: wrap;
    padding: 14px;
    gap: 12px;
  }
  .account-box .copy-button {
    width: 100%;
    min-height: 40px;
  }
  .deadline {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .payment-header {
    height: 68px;
  }
  .brand {
    width: 100px;
  }
  .secure-label {
    font-size: 12px;
  }
  .summary-card {
    padding: 22px;
  }
}
@media (min-width: 781px) and (max-width: 1060px) {
  .card-heading {
    grid-template-columns: auto 1fr;
  }
  .state-pill {
    grid-column: 2;
    justify-self: start;
    margin: 0;
    padding: 0;
    background: transparent;
  }
  .bank-logo {
    grid-row: span 2;
  }
  .bank-description {
    padding-left: 0;
    border-left: 0;
  }
  .account-box {
    flex-wrap: wrap;
  }
  .account-box input {
    flex: 1 0 100%;
  }
}
@media (max-width: 360px) {
  .payment-shell {
    padding: 0 14px;
  }
  .payment-card,
  .summary-card {
    padding: 18px;
  }
  .account-box input {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.payment-actions:has(#open-hosted-payment:not([hidden])) #check-payment { color: #1a2d47; background: #fff; border: 1px solid #dbe2eb; }
body.hosted-payment-open { overflow: hidden; }
.ezkart-hosted-payment { position: fixed; inset: 0; width: 100%; z-index: 999999; background: #0009; display: flex !important; flex-direction: column; align-items: center; padding: 12px max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)); gap: 10px; height: 100dvh; }
.ezkart-hosted-payment[hidden] { display: none !important; }
.ezkart-hosted-payment .jokul-content { width: 100%; flex: 1; min-height: 0; height: auto !important; max-width: 500px; }
.ezkart-hosted-payment iframe { width: 100%; height: 100%; border: 0; border-radius: 8px; background: #fff; }
.hosted-payment-close { flex: none; min-height: 40px; padding: 10px 16px; border: 1px solid #d5dce5; border-radius: 6px; background: #fff; color: #18202e; font-weight: 600; }
