@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================================
   Recaudo en Línea — identidad visual compartida (pago + panel)
   ============================================================ */
:root {
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --border: #e2e7ef;
  --border-strong: #cfd7e4;
  --text: #0e1726;
  --muted: #5a6577;
  --subtle: #8a94a6;
  --brand: #009ade;
  --brand-600: #0076a8;
  --brand-50: #e6f5fc;
  --brand-ink: #005a7d;
  --accent: #009ade;
  --success: #0b7d4a;
  --success-50: #e7f6ee;
  --warning: #a65a05;
  --warning-50: #fff4e2;
  --danger: #bf2a2a;
  --danger-50: #fdeceb;
  --info: #0078a8;
  --info-50: #e6f5fc;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(14, 23, 38, .05);
  --shadow: 0 1px 2px rgba(14, 23, 38, .04), 0 10px 30px rgba(14, 23, 38, .07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --focus: 0 0 0 3px rgba(0, 154, 222, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.25; margin: 0; }
code, .mono { font-family: var(--mono); font-size: .86em; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-weight: 700; letter-spacing: -.01em; font-size: 1.05rem; }
.brand-sub { display: block; font-size: .74rem; color: var(--muted); font-weight: 500; letter-spacing: .02em; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--text); --btn-border: var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--btn-border); background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { --btn-bg: var(--brand); --btn-fg: #082f44; --btn-border: var(--brand); }
.btn-primary:hover { background: var(--brand-600); }
.btn-danger { --btn-fg: var(--danger); --btn-border: #efc6c4; }
.btn-danger:hover { background: var(--danger-50); }
.btn-danger-solid { --btn-bg: var(--danger); --btn-fg: #fff; --btn-border: var(--danger); }
.btn-danger-solid:hover { background: #a42222; }
.btn-ghost { --btn-border: transparent; --btn-bg: transparent; }
.btn-sm { min-height: 32px; padding: 0 11px; font-size: .84rem; }
.btn-lg { min-height: 50px; font-size: 1rem; padding: 0 22px; }
.btn-block { width: 100%; }
.btn .spinner { width: 16px; height: 16px; }

.spinner {
  display: inline-block; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Formularios ---------- */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .88rem; }
.field .hint { font-size: .8rem; color: var(--muted); }
.input, .select {
  width: 100%; min-height: 40px; padding: 8px 12px; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
}
.input:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .82rem; }

/* ---------- Avisos y etiquetas ---------- */
.alert {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font-size: .9rem;
}
.alert-icon { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.alert strong { display: block; }
.alert-error { background: var(--danger-50); color: #7f1d1d; border-color: #f4cdca; }
.alert-success { background: var(--success-50); color: #064e2f; border-color: #bfe6d1; }
.alert-warning { background: var(--warning-50); color: #6b3a05; border-color: #f4d9ae; }
.alert-info { background: var(--info-50); color: #0f3f7a; border-color: #c6dbf5; }

.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px;
  font-size: .76rem; font-weight: 600; line-height: 1.6; white-space: nowrap; border: 1px solid transparent;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge-success { background: var(--success-50); color: var(--success); }
.badge-danger { background: var(--danger-50); color: var(--danger); }
.badge-warning { background: var(--warning-50); color: var(--warning); }
.badge-info { background: var(--info-50); color: var(--info); }
.badge-neutral { background: #eef1f6; color: #4a5568; }
.badge-test { background: #fff4e2; color: #8a4a04; border-color: #f1d3a3; }
.badge-live { background: var(--success-50); color: var(--success); border-color: #bfe6d1; }

/* ---------- Tarjetas ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 20px; }

.skeleton {
  background: linear-gradient(90deg, #edf0f5 25%, #f6f8fb 37%, #edf0f5 63%);
  background-size: 400% 100%; animation: shimmer 1.3s ease infinite; border-radius: 8px;
}
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ============================================================
   Página pública de pago
   ============================================================ */
.pay-page { min-height: 100vh; display: flex; flex-direction: column; }
.pay-header {
  padding: 18px 20px; display: flex; justify-content: center;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.pay-main { flex: 1; display: flex; justify-content: center; padding: 28px 16px 40px; }
.pay-column { width: 100%; max-width: 480px; }
.pay-card { padding: 0; overflow: hidden; box-shadow: var(--shadow); }
.amount-block {
  padding: 22px 24px 20px;
  background: linear-gradient(160deg, var(--brand-ink) 0%, var(--brand) 100%);
  color: #fff;
}
.amount-label { font-size: .82rem; opacity: .82; font-weight: 500; letter-spacing: .02em; }
.amount-value { font-size: 2.3rem; font-weight: 750; letter-spacing: -.02em; margin: 2px 0 10px; font-variant-numeric: tabular-nums; }
.amount-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .88rem; }
.amount-meta .rut { opacity: .92; }
.amount-meta .rut b { font-weight: 650; font-variant-numeric: tabular-nums; }
.amount-block .badge-test { background: rgba(255, 196, 92, .18); color: #ffe2a8; border-color: rgba(255, 210, 140, .35); }
.pay-body { padding: 22px 24px 24px; display: grid; gap: 16px; }
.pay-element-loading { display: grid; gap: 10px; }
.pay-element-loading .skeleton { height: 42px; }
.pay-element-loading .skeleton.short { width: 55%; }
.pay-footer-note {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px;
  color: var(--subtle); font-size: .8rem; text-align: center;
}
.pay-footer-note svg { width: 14px; height: 14px; }
.state-block { padding: 34px 24px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.state-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.state-icon svg { width: 26px; height: 26px; }
.state-icon.error { background: var(--danger-50); color: var(--danger); }
.state-icon.success { background: var(--success-50); color: var(--success); }
.state-block h1, .state-block h2 { font-size: 1.2rem; }
.state-block p { margin: 0; color: var(--muted); }
.state-list { margin: 4px 0 0; padding: 0; list-style: none; color: var(--danger); font-size: .9rem; }
.receipt { width: 100%; margin: 6px 0 4px; border-top: 1px dashed var(--border-strong); padding-top: 12px; display: grid; gap: 6px; }
.receipt div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.loading-block { padding: 24px; display: grid; gap: 12px; }
.loading-block .skeleton { height: 18px; }

/* ============================================================
   Panel administrativo
   ============================================================ */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: 100%; max-width: 380px; padding: 28px; box-shadow: var(--shadow); }
.login-card .brand { margin-bottom: 22px; }
.login-card h1 { font-size: 1.25rem; margin-bottom: 4px; }
.login-card p.lead { color: var(--muted); margin: 0 0 20px; font-size: .9rem; }

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 248px 1fr; }
.sidebar {
  background: var(--surface); border-right: 1px solid var(--border);
  padding: 18px 14px; display: flex; flex-direction: column; gap: 22px;
  position: sticky; top: 0; height: 100vh;
}
.sidebar .brand { padding: 4px 8px; }
.nav { display: grid; gap: 3px; }
.nav a {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: var(--radius-sm);
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem;
}
.nav a svg { width: 18px; height: 18px; flex: none; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a[aria-current="page"] { background: var(--brand-50); color: var(--brand-600); }
.sidebar-foot { margin-top: auto; display: grid; gap: 8px; }
.sidebar-foot .hint { font-size: .76rem; color: var(--subtle); padding: 0 8px; }

.admin-main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 28px 0;
}
.topbar h1 { font-size: 1.4rem; letter-spacing: -.01em; }
.menu-toggle { display: none; }
.view { padding: 18px 28px 40px; display: grid; gap: 18px; align-content: start; }
.view:focus { outline: none; }
.backdrop { display: none; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.toolbar .field { margin: 0; min-width: 150px; flex: 1 1 150px; }
.toolbar .field.grow { flex: 2 1 240px; }
.toolbar .field label { font-size: .78rem; color: var(--muted); }
.toolbar-actions { display: flex; gap: 8px; align-items: center; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.section-head h2 { font-size: 1.05rem; }
.section-head p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.stat { padding: 16px 18px; }
.stat-label { color: var(--muted); font-size: .8rem; font-weight: 600; }
.stat-value { font-size: 1.55rem; font-weight: 750; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat-sub { color: var(--subtle); font-size: .8rem; margin-top: 2px; }
.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }

/* Tablas adaptables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th {
  text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); font-weight: 650; padding: 10px 14px; background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.table td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafbfd; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .nowrap { white-space: nowrap; }
.cell-sub { display: block; font-size: .78rem; color: var(--subtle); }

.pagination { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--border); font-size: .86rem; color: var(--muted); }
.pagination .btns { display: flex; gap: 6px; }

.empty-state, .error-state { padding: 40px 20px; text-align: center; display: grid; gap: 8px; justify-items: center; }
.empty-state svg, .error-state svg { width: 40px; height: 40px; color: var(--subtle); }
.error-state svg { color: var(--danger); }
.empty-state h3, .error-state h3 { font-size: 1rem; }
.empty-state p, .error-state p { margin: 0; color: var(--muted); font-size: .9rem; max-width: 440px; }

/* Cuentas */
.accounts { display: grid; gap: 14px; }
.account { padding: 18px 20px; display: grid; gap: 14px; }
.account.is-active { border-color: #b9c9f5; box-shadow: 0 0 0 3px var(--brand-50); }
.account-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.account-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.account-title h3 { font-size: 1.05rem; }
.account-keys { color: var(--muted); font-size: .84rem; margin-top: 4px; display: flex; gap: 14px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 18px; }
.kv div { min-width: 0; }
.kv dt { font-size: .76rem; color: var(--muted); font-weight: 600; }
.kv dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.account-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.account-note { font-size: .82rem; color: var(--muted); }
.balances { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* Eventos */
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(0, 154, 222, .18); }
.live-dot.paused::before { background: var(--subtle); box-shadow: none; }
.event-msg { color: var(--text); }
.event-data { font-family: var(--mono); font-size: .76rem; color: var(--muted); overflow-wrap: anywhere; }

/* Diálogos */
dialog.modal {
  border: 0; padding: 0; border-radius: var(--radius); width: min(560px, calc(100vw - 24px));
  max-height: calc(100vh - 32px); box-shadow: 0 24px 60px rgba(14, 23, 38, .25); color: var(--text);
}
dialog.modal.wide { width: min(820px, calc(100vw - 24px)); }
dialog.modal::backdrop { background: rgba(14, 23, 38, .45); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-head h2 { font-size: 1.05rem; }
.modal-body { padding: 18px 20px; overflow-y: auto; max-height: calc(100vh - 180px); }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--border); background: var(--surface-2); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; padding-bottom: 12px; position: relative; }
.timeline li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); margin-top: 6px; }
.timeline li::after { content: ""; position: absolute; left: 4px; top: 18px; bottom: 0; width: 1px; background: var(--border-strong); }
.timeline li:last-child::after { display: none; }
.timeline .t-time { font-size: .76rem; color: var(--subtle); }
.copy-row { display: flex; gap: 8px; }
.copy-row .input { font-family: var(--mono); font-size: .82rem; }

.toast-region { position: fixed; z-index: 100; bottom: 18px; right: 18px; display: grid; gap: 8px; max-width: min(380px, calc(100vw - 36px)); }
.toast { padding: 12px 14px; border-radius: var(--radius-sm); background: #0e1726; color: #fff; font-size: .9rem; box-shadow: var(--shadow); animation: toast-in .2s ease; }
.toast.success { background: #0b5e3a; }
.toast.error { background: #9b1f1f; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Adaptable ---------- */
@media (max-width: 1080px) {
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; z-index: 50; inset: 0 auto 0 0; width: 260px; height: 100vh;
    transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--shadow);
  }
  .admin-shell.menu-open .sidebar { transform: none; }
  .admin-shell.menu-open .backdrop { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(14, 23, 38, .4); }
  .menu-toggle { display: inline-flex; }
  .topbar { padding: 14px 16px 0; }
  .topbar-left { display: flex; align-items: center; gap: 10px; }
  .view { padding: 14px 16px 32px; }
}
@media (max-width: 720px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 10px 14px; border-bottom: 1px solid var(--border); }
  .table td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .table td::before { content: attr(data-label); font-size: .76rem; font-weight: 650; color: var(--muted); text-align: left; text-transform: uppercase; letter-spacing: .03em; }
  .table td.num { text-align: right; }
  .table td.actions { justify-content: flex-end; }
  .table td.actions::before { content: none; }
  .amount-value { font-size: 2rem; }
  .pay-body, .amount-block { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   Recaudo en Línea — identidad institucional contemporánea
   ============================================================ */
:root {
  --bg: #f1f3f1;
  --surface: #fffefa;
  --surface-2: #f5f6f2;
  --border: #dce2df;
  --border-strong: #c5cfcb;
  --text: #1b2b2d;
  --muted: #596a6b;
  --subtle: #788786;
  --brand: #009ade;
  --brand-600: #0076a8;
  --brand-50: #e6f5fc;
  --brand-ink: #005a7d;
  --accent: #009ade;
  --success: #267052;
  --success-50: #e9f3ed;
  --warning: #946126;
  --warning-50: #f8f0e4;
  --danger: #a8433c;
  --danger-50: #f8ecea;
  --info: #0078a8;
  --info-50: #e6f5fc;
  --radius: 12px;
  --radius-sm: 7px;
  --shadow-sm: 0 1px 2px rgba(24, 54, 55, .04);
  --shadow: 0 3px 8px rgba(24, 54, 55, .04), 0 18px 42px rgba(24, 54, 55, .075);
  --font: "DM Sans", "Avenir Next", sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --focus: 0 0 0 3px rgba(0, 154, 222, .25);
}
body { background: var(--bg); }
.pay-page {
  background:
    radial-gradient(ellipse at 50% 0, rgba(221, 231, 225, .55), transparent 44%),
    var(--bg);
}
.pay-header {
  justify-content: flex-start;
  padding: 20px max(24px, calc((100vw - 1080px) / 2));
  background: rgba(255, 254, 250, .88);
  border-bottom-color: #dce2df;
}
.brand { gap: 12px; }
.brand-mark { width: 38px; height: 38px; }
.brand-name { font-size: 1.02rem; letter-spacing: -.025em; font-weight: 800; }
.brand-sub { letter-spacing: .035em; font-size: .68rem; text-transform: uppercase; }
.pay-main { align-items: flex-start; padding-top: clamp(38px, 8vh, 78px); }
.pay-column { max-width: 510px; }
.pay-card {
  border-color: #dce2df;
  background: #fff;
  box-shadow: var(--shadow);
}
.amount-block {
  background: #fff;
  color: var(--text);
  padding: 27px 30px 25px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.amount-block::after {
  content: "";
  display: block;
  position: absolute;
  right: 30px;
  top: 27px;
  width: 32px;
  height: 2px;
  background: #009ade;
  opacity: .9;
}
.amount-label { color: var(--muted); text-transform: uppercase; font-size: .72rem; letter-spacing: .13em; opacity: 1; }
.amount-value { font-size: 2.5rem; font-weight: 700; letter-spacing: -.045em; margin: 6px 0 12px; }
.amount-meta { font-size: .82rem; color: var(--muted); }
.amount-block .badge-test { background: var(--warning-50); color: var(--warning); border-color: var(--border); }
.pay-body { padding: 26px 30px 30px; gap: 18px; }
.pay-footer-note { max-width: 430px; margin: 18px auto 0; line-height: 1.6; }
.btn { border-radius: 7px; transition: background .16s, border-color .16s, transform .16s; }
.btn-primary { box-shadow: 0 2px 3px rgba(0, 90, 125, .16); }
.btn-primary:hover { background: #0076a8; color: #fff; }
.card { border-radius: 12px; }
.state-icon { border-radius: 12px; }
.login-page {
  background:
    radial-gradient(ellipse at 50% 12%, rgba(219, 231, 225, .6), transparent 44%),
    var(--bg);
}
.login-card { border-color: var(--border); border-radius: 12px; padding: 32px; }
.admin-shell { background: #f1f3f1; }
.sidebar { background: #fffefa; border-right-color: #dce2df; }
.sidebar .brand { padding: 7px 8px; }
.nav a { border-radius: 7px; }
.nav a[aria-current="page"] { background: #e6f5fc; color: #0076a8; }
.topbar {
  min-height: 74px;
  padding-top: 20px;
  background: rgba(255, 254, 250, .58);
  border-bottom: 1px solid rgba(220, 226, 223, .75);
}
.topbar h1 { font-size: 1.42rem; letter-spacing: -.035em; }
.view { padding-top: 24px; }
.table th { background: #f5f6f2; }
.table tbody tr:hover { background: #f8f9f6; }
.account.is-active { border-color: #8fcce7; box-shadow: 0 0 0 3px #e6f5fc; }
dialog.modal { border-radius: 12px; }
.toast { background: #005a7d; }
@media (max-width: 720px) {
  .pay-header { padding: 16px 18px; }
  .pay-main { padding-top: 28px; }
  .amount-block { padding-top: 22px; padding-bottom: 20px; }
  .amount-block::after { top: 24px; right: 18px; width: 25px; }
  .pay-body { padding-top: 21px; padding-bottom: 23px; }
}
