/* ==========================================================================
   CALCULATOR PRO — Websclon Design System (Centered Focus View)
   ========================================================================== */

:root {
  --bg-paper: #F6F2EB;
  --card-bg: #FCFAF7;
  --border-dark: #1A1918;
  --border-soft: #DCD6CD;
  --divider-soft: #E5E0D7;
  --text-main: #1A1918;
  --text-muted: #55524D;
  --tag-bg: #EDE8E0;
  --tag-border: #DCD6CD;
  --tag-text: #3D3B37;
  --prompt-bg: #EAE3D9;
  --prompt-border: #D8D0C3;
  --highlight-bg: #F4E8A3;
  --accent: #A33A21;
  --surface-deep: #FFFFFF;
  --surface-elevated: #FCFAF7;
  --surface-header: #F0EBE3;
  --surface-soft: #EDE8E0;
  --stripe-green: #00d632;
  --stripe-green-hover: #00bf2c;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Outfit', sans-serif;
}

[data-theme="dark"] {
  --bg-paper: #111215;
  --card-bg: #18191E;
  --border-dark: #E2E8F0;
  --border-soft: #2B2D35;
  --divider-soft: #2E323E;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --tag-bg: #22242C;
  --tag-border: #333644;
  --tag-text: #CBD5E1;
  --prompt-bg: #1D2028;
  --prompt-border: #2E323E;
  --highlight-bg: #3B381D;
  --accent: #FF6B4A;
  --surface-deep: #0E0F14;
  --surface-elevated: #18191E;
  --surface-header: #14151A;
  --surface-soft: #22242C;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-paper);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.25s ease, color 0.25s ease;
}

#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Header */
.vault-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 2.5rem;
  background: var(--surface-header);
  border-bottom: 1px solid var(--border-soft);
  flex-wrap: wrap;
}

.brand-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.brand-top-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.15rem;
}

.vault-back-btn {
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  text-decoration: none;
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  color: var(--text-main);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.vault-back-btn:hover {
  border-color: var(--border-dark);
  background: var(--surface-soft);
}

.hub-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--accent);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.brand-title-group h1 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.header-util-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.tool-suite-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  color: var(--text-main);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.tool-suite-btn:hover {
  border-color: var(--border-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.tool-suite-btn.accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.tool-suite-btn.accent:hover {
  opacity: 0.9;
}

.spent-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.spent-label {
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.spent-val {
  color: #10b981;
}

.receipt-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  font-weight: 800;
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--border-dark);
}

/* Main Centered Container */
.calculator-main-wrapper {
  max-width: 480px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

/* Calculator Device Card */
.calculator-card {
  background: var(--card-bg);
  border: 2px solid var(--border-dark);
  border-radius: 10px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.calc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--divider-soft);
}

.calc-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
}

.status-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
}

.calc-version-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.calc-screen-wrapper {
  background: var(--surface-deep);
  border: 1.5px solid var(--border-dark);
  border-radius: 6px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 110px;
}

.calc-history {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: right;
  min-height: 1.2rem;
}

.calc-main-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.calc-lock-badge {
  font-size: 1.1rem;
}

.calc-digits {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  text-align: right;
  line-height: 1;
}

.calc-warning-banner {
  margin-top: 0.5rem;
  background: #fee2e2;
  border: 1px solid #f87171;
  color: #991b1b;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  text-align: center;
  display: none;
}

[data-theme="dark"] .calc-warning-banner {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border-color: #ef4444;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.c-key {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  height: 54px;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  background: var(--card-bg);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.1s ease;
  user-select: none;
}

.c-key:hover {
  border-color: var(--border-dark);
  background: var(--surface-soft);
}

.c-key:active {
  transform: translateY(1px);
}

.c-func {
  background: var(--surface-soft);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.c-op {
  background: var(--tag-bg);
  color: var(--accent);
  font-size: 1.3rem;
}

.c-sum {
  font-weight: 800;
}

.c-zero {
  grid-column: span 2;
}

.c-equals {
  background: var(--border-dark);
  color: var(--bg-paper);
  border-color: var(--border-dark);
  flex-direction: column;
  gap: 0.1rem;
}

.c-equals:hover {
  background: #000000;
  color: #ffffff;
}

.eq-symbol {
  font-size: 1.2rem;
  line-height: 1;
}

.eq-price {
  font-size: 0.62rem;
  font-weight: 800;
  color: #00d632;
}

.calc-footer-info {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Stripe Checkout Modal */
.stripe-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.stripe-modal-wrapper {
  background: #ffffff;
  color: #1e293b;
  width: 100%;
  max-width: 820px;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: modal-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  0% { transform: scale(0.96); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem 1rem 2rem;
  border-bottom: 1px solid #f1f5f9;
}

.modal-brand-title {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  color: #334155;
  background: #f1f5f9;
}

.modal-body-columns {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 520px;
}

.checkout-summary-col {
  background: #f8fafc;
  padding: 2rem;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-badge-group .product-label {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.product-main-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.product-line-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.line-item-left .item-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
}

.line-item-left .item-type {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.15rem;
}

.line-item-right {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
}

.breakdown-table {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: #475569;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vat-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.info-icon {
  font-size: 0.75rem;
  color: #94a3b8;
  cursor: help;
}

.breakdown-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 0.35rem 0;
}

.total-row {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.pending-equation-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eq-icon {
  font-size: 1.25rem;
}

.eq-label {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}

.eq-expression {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.test-card-callout {
  margin-top: auto;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.65rem;
}

.callout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.3rem;
}

.autofill-btn {
  background: #0f172a;
  color: #fff;
  border: none;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}

.autofill-btn:hover {
  background: #334155;
}

.test-card-callout code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #334155;
  display: block;
}

/* Right Form Column */
.checkout-form-col {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.checkout-form-col form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: #334155;
}

.form-input {
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  transition: all 0.15s ease;
}

.form-input:focus {
  border-color: #635bff;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

.card-input-container {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.card-input-container:focus-within {
  border-color: #635bff;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.85rem;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.card-field-title {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.card-brands {
  display: flex;
  gap: 4px;
}

.brand-icon {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #475569;
}

.brand-icon.visa { color: #1a1f71; }
.brand-icon.mc { color: #eb001b; }
.brand-icon.amex { color: #006fcf; }

.card-num-input {
  border: none;
  border-bottom: 1px solid #f1f5f9;
  border-radius: 0;
}

.card-sub-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.card-sub-row .half-input {
  border: none;
  border-radius: 0;
}

.card-sub-row .half-input:first-child {
  border-right: 1px solid #f1f5f9;
}

.cvc-container {
  display: flex;
  align-items: center;
  padding-right: 0.75rem;
}

.select-wrapper {
  position: relative;
}

.form-select {
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.65rem 2rem 0.65rem 0.85rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  appearance: none;
  outline: none;
  cursor: pointer;
}

.form-select:focus {
  border-color: #635bff;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

.select-arrow {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
}

.manual-address-link {
  font-size: 0.75rem;
  color: #635bff;
  text-decoration: none;
  margin-top: 0.2rem;
  display: inline-block;
}

.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.15s ease;
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: #635bff;
  border-color: #635bff;
}

.custom-checkbox input:checked ~ .checkmark::after {
  content: "✔";
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.checkbox-text {
  font-size: 0.8rem;
  color: #334155;
  line-height: 1.35;
}

.checkbox-subtext {
  font-size: 0.75rem;
  color: #64748b;
}

.checkbox-subtext a {
  color: #635bff;
  text-decoration: none;
  font-weight: 600;
}

.legal-disclaimer {
  font-size: 0.725rem;
  color: #94a3b8;
  line-height: 1.45;
}

.legal-link {
  color: #64748b;
  text-decoration: underline;
}

/* Green Stripe Submit Button */
.stripe-submit-btn {
  width: 100%;
  background-color: var(--stripe-green);
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 214, 50, 0.35);
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.stripe-submit-btn:hover {
  background-color: var(--stripe-green-hover);
  box-shadow: 0 6px 16px rgba(0, 214, 50, 0.45);
}

.stripe-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.spinner-svg {
  animation: rotate 1s linear infinite;
  width: 18px;
  height: 18px;
}

.spinner-svg .path {
  stroke: #ffffff;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

@keyframes dash {
  0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

.stripe-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.stripe-name {
  color: #635bff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-dot {
  color: #cbd5e1;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
}

/* Ledger Modal */
.ledger-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.ledger-modal {
  background: var(--card-bg);
  color: var(--text-main);
  width: 100%;
  max-width: 580px;
  border-radius: 8px;
  border: 2px solid var(--border-dark);
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.ledger-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--divider-soft);
}

.ledger-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.ledger-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.summary-box {
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 0.85rem;
}

.summary-box .lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.summary-box .val {
  font-size: 1.35rem;
  font-weight: 700;
  color: #10b981;
  font-family: var(--font-mono);
}

.receipts-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 320px;
  padding-right: 0.5rem;
}

.receipt-item-card {
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.receipt-left .rcpt-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

.receipt-left .rcpt-desc {
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 600;
  margin-top: 0.15rem;
}

.receipt-left .rcpt-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.receipt-right {
  text-align: right;
}

.receipt-right .rcpt-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: #10b981;
  font-family: var(--font-mono);
}

.receipt-right .rcpt-status {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  color: #0284c7;
  background: #e0f2fe;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  margin-top: 0.2rem;
}

.empty-receipts {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 2rem 1rem;
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 20000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--card-bg);
  color: var(--text-main);
  border: 2px solid var(--border-dark);
  padding: 0.85rem 1.25rem;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  animation: toast-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toast-in {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .vault-header {
    padding: 1rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .modal-body-columns {
    grid-template-columns: 1fr;
  }
  .checkout-summary-col {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
}
