/* Zerova user experience skin — visual layer only. Keep Vue behaviour and API contract untouched. */
:root {
  --primary: #2fd2c2 !important;
  --primary-dark: #159d98 !important;
  --primary-light: #e9fffb !important;
  --primary-glow: rgba(47, 210, 194, .18) !important;
  --bg: #030b18 !important;
  --bg-card: #0c1829 !important;
  --bg-input: #091625 !important;
  --card: #0c1829 !important;
  --grey-bg: #091625 !important;
  --grey-light: #213b55 !important;
  --border: #223c56 !important;
  --border-active: #38d7c8 !important;
  --text: #f3f8fa !important;
  --text-secondary: #8ca0b3 !important;
  --grey: #7890a4 !important;
  --blue: #4a98e9 !important;
  --yellow: #ffb72c !important;
  --red: #fc6673 !important;
  --green: #45d7a2 !important;
  --radius: 20px !important;
  --radius-sm: 14px !important;
  --radius-md: 16px !important;
  --radius-lg: 22px !important;
}

* { -webkit-tap-highlight-color: transparent; }
html { background: #030b18; }
body {
  min-height: 100dvh;
  color: var(--text) !important;
  background:
    radial-gradient(600px 380px at 100% 6%, rgba(33, 176, 170, .15), transparent 62%),
    radial-gradient(420px 380px at -10% 42%, rgba(26, 87, 144, .12), transparent 70%),
    #030b18 !important;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif !important;
  letter-spacing: .01em;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(127, 181, 211, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(127,181,211,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, #000, transparent 68%);
}

/* Shared top navigation */
.header {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(13px + env(safe-area-inset-top, 0px)) 20px 15px !important;
  background: rgba(4, 14, 28, .88) !important;
  border-bottom: 1px solid rgba(81, 125, 155, .28) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-top { margin-bottom: 15px !important; }
.header-title .icon,
.brand-mark {
  width: 31px !important;
  height: 31px !important;
  border-radius: 9px !important;
  background: linear-gradient(145deg, #65ddd2, #149b98) !important;
  box-shadow: 0 10px 26px rgba(25, 190, 180, .24);
  color: #f7ffff !important;
  font-weight: 900 !important;
}
.brand-mark { display: inline-grid; place-items: center; flex: 0 0 auto; font-size: 13px; }
.header-title h1,
.brand { letter-spacing: -.04em !important; }
.header-title h1 span,
.brand span { color: var(--primary) !important; }
.header-link, .header .back, .top-bar .admin, .footer-center a { color: #66e2d6 !important; }
.top-bar {
  max-width: 760px;
  margin: 0 auto;
  padding: 9px 20px !important;
  color: var(--text-secondary) !important;
  background: rgba(6, 17, 33, .8) !important;
  border-bottom: 1px solid rgba(81, 125, 155, .2) !important;
}
.top-bar .brand { display: flex; align-items: center; gap: 7px; color: #eaf5f6 !important; font-weight: 750 !important; }

/* Entry screen */
.entry-screen {
  min-height: 100dvh !important;
  padding: max(44px, env(safe-area-inset-top, 0px)) 28px max(38px, env(safe-area-inset-bottom, 0px)) !important;
  justify-content: flex-start !important;
  overflow: hidden;
  background:
    radial-gradient(360px 300px at 85% 58%, rgba(43, 209, 195, .18), transparent 68%),
    radial-gradient(360px 260px at 12% 3%, rgba(25, 79, 138, .18), transparent 70%),
    #020b18 !important;
}
.entry-screen::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(94, 227, 217, .08);
  border-radius: 50%;
  right: -270px;
  top: 15%;
  box-shadow: 0 0 0 42px rgba(94, 227, 217, .025), 0 0 0 84px rgba(94, 227, 217, .015);
}
.entry-logo { position: relative; z-index: 1; width: 74px !important; height: 74px !important; margin-top: 18px !important; margin-bottom: 20px !important; border-radius: 23px !important; font-size: 36px !important; background: linear-gradient(145deg, #75e4da, #109a99) !important; box-shadow: 0 20px 42px rgba(34, 201, 188, .26) !important; }
.entry-brand { position: relative; z-index: 1; margin-top: 8px; font-size: 37px !important; letter-spacing: -.065em !important; }
.entry-hero { position: relative; z-index: 1; align-self: stretch; margin: 58px 0 0; color: #f5fbfc; font-size: 43px; font-weight: 780; letter-spacing: -.07em; line-height: 1.14; }
.entry-hero span { display: block; margin-top: 7px; color: #64dcd2; }
.entry-kicker { position: relative; z-index: 1; align-self: stretch; max-width: 340px; margin-top: 28px !important; margin-bottom: 34px !important; color: #9baebe !important; font-size: 15px !important; line-height: 1.7; text-align: left; }
.entry-screen > div:not(.entry-logo) { position: relative; z-index: 1; }
.entry-screen .input-wrap { min-height: 62px; border-radius: 16px; background: rgba(8, 20, 36, .78); }
.entry-screen .input-wrap input { font-size: 16px; text-align: left !important; }
.entry-screen .input-prefix { color: var(--primary); }
.entry-screen .submit-btn { flex: 0 0 auto !important; height: 58px; min-height: 58px; border-radius: 16px; font-size: 17px !important; }
.entry-note { font-size: 12px !important; opacity: .85 !important; }

/* Progress and form */
.steps { max-width: 640px; margin: 0 auto; }
.step { gap: 5px !important; }
.step-dot { width: 24px !important; height: 24px !important; border: 1px solid #36536d !important; background: #0b1a2b !important; font-size: 10px !important; }
.step.active .step-dot, .step.done .step-dot { color: #04201f !important; border-color: var(--primary) !important; background: var(--primary) !important; box-shadow: 0 0 16px rgba(47, 210, 194, .18); }
.step.done .step-dot { background: #5bd9a7 !important; border-color: #5bd9a7 !important; }
.step-label { color: #7290a5 !important; font-size: 10px !important; }
.step.active .step-label, .step.done .step-label { color: #7ee9dc !important; }
.step-line { height: 1px !important; background: #29445c !important; }
.step-line.done { background: #5edacb !important; }
.main { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 24px 16px 120px !important; }
.card, .timeline-card, .deposit-card, .order-card, .faq-item {
  background: linear-gradient(150deg, rgba(17, 34, 54, .96), rgba(8, 20, 35, .96)) !important;
  border: 1px solid rgba(65, 100, 132, .58) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255,255,255,.025) !important;
}
.card { padding: 20px 18px !important; margin-bottom: 14px !important; border-radius: 18px !important; }
.card::before { background: linear-gradient(90deg, transparent, rgba(91, 229, 217, .48), transparent) !important; }
.card-title { font-size: 16px !important; letter-spacing: -.02em; }
.card-title .step-num { background: #27c9bd !important; color: #062326 !important; box-shadow: 0 5px 14px rgba(39, 201, 189, .2); }
.card-subtitle { color: #7f95a7 !important; line-height: 1.65; }
.field-label { color: #a7b8c6 !important; }
.field-tag { padding: 4px 9px !important; color: #65dfd3 !important; background: rgba(31, 177, 167, .13) !important; border-radius: 7px !important; }
.input-wrap {
  min-height: 53px;
  background: rgba(4, 15, 28, .78) !important;
  border: 1px solid #2a4762 !important;
  border-radius: 13px !important;
}
.input-wrap:focus-within { border-color: #48dfd1 !important; box-shadow: 0 0 0 3px rgba(72, 223, 209, .12) !important; }
.input-wrap input { color: #f1f9fa !important; }
.input-wrap input::placeholder { color: #61788d !important; }
.quick-amounts { gap: 7px !important; }
.quick-amt { background: rgba(6, 18, 32, .8) !important; border-color: #294760 !important; border-radius: 11px !important; color: #a7b8c6 !important; }
.quick-amt.selected, .quick-amt:active { color: #eaffff !important; background: rgba(34, 173, 165, .28) !important; border-color: #40dace !important; }
.pool-card, .level-card { background: rgba(5, 17, 31, .7) !important; border: 1px solid #2a4761 !important; border-radius: 14px !important; }
.pool-card.active, .level-card.active { background: rgba(19, 130, 127, .17) !important; border-color: #3ed7cb !important; box-shadow: inset 0 0 0 1px rgba(62,215,203,.15); }
.pool-card .icon-circle.privacy { background: rgba(47,210,194,.12) !important; }
.pool-card .icon-circle.instant { background: rgba(255,183,44,.13) !important; }
.level-card .level-rate, .fee-total .value, .fee-row .value { color: #55e0d2 !important; }
.score-card { border: 1px solid rgba(255,183,44,.32); background: rgba(184, 125, 23, .12) !important; border-radius: 12px !important; }
.fee-breakdown {
  background: rgba(4, 15, 28, .68) !important;
  border: 1px solid rgba(50, 81, 109, .56);
  border-radius: 15px !important;
}
.fee-divider { background: #294660 !important; }
.bottom-bar { padding: 0 16px env(safe-area-inset-bottom, 0px) !important; background: linear-gradient(180deg, transparent, rgba(3,11,24,.94) 35%) !important; }
.bottom-bar-inner { max-width: 728px; margin: 0 auto; padding: 12px 0 14px !important; }
.submit-btn, .bottom-bar .submit-btn, .full-action, .order-dock button {
  color: #042523 !important;
  background: linear-gradient(135deg, #5ce2d7, #1aafa8) !important;
  box-shadow: 0 10px 26px rgba(31, 189, 180, .23) !important;
}
.submit-btn:disabled { color: #688198 !important; background: #183148 !important; box-shadow: none !important; }
.modal-overlay, .overlay, .confirm-box { background: rgba(1, 7, 16, .78) !important; backdrop-filter: blur(8px); }
.modal-box, .modal-content, .confirm-dialog, .bottom-sheet {
  background: #0d1c31 !important;
  border: 1px solid #35536d !important;
  box-shadow: 0 -16px 48px rgba(0,0,0,.42) !important;
}
.modal-btn.cancel, .confirm-dialog .btns .cancel { background: #102136 !important; border-color: #36536c !important; }
.modal-btn.confirm { color: #241900 !important; background: #ffb72c !important; }

/* Order detail */
.status-card { margin: 18px 16px 12px !important; padding: 22px 18px !important; background: linear-gradient(150deg, rgba(13, 36, 57, .98), rgba(7, 22, 39, .98)) !important; border: 1px solid rgba(65, 110, 145, .55) !important; border-radius: 20px !important; box-shadow: 0 14px 36px rgba(0,0,0,.2) !important; }
.status-card .sub-title { color: #8298aa !important; text-transform: uppercase; letter-spacing: .13em; }
.status-card .state-dot { width: 38px !important; height: 38px !important; background: rgba(49, 209, 194, .13) !important; border: 1px solid rgba(71, 220, 208, .65); color: #62e6d8 !important; }
.status-card .state-text { color: #62e6d8 !important; font-size: 18px !important; }
.status-card .eta-hint { color: #91a8b9 !important; background: rgba(3, 13, 25, .56) !important; }
.timeline-card, .deposit-card { margin: 0 16px 13px !important; padding: 17px !important; border-radius: 17px !important; }
.timeline-card .tl-title, .deposit-card .addr-label { color: #eaf5f7 !important; font-size: 14px !important; }
.detail-row { padding: 10px 0 !important; border-bottom: 1px solid rgba(48, 75, 99, .68); }
.detail-row:last-child { border-bottom: 0; }
.detail-row .label { color: #7f97aa !important; }
.timeline-step .circle { background: #132a3e !important; border: 1px solid #34546b; color: #89a3b6 !important; }
.timeline-step.active .circle { color: #052524 !important; background: #45d8ca !important; border-color: #45d8ca !important; }
.timeline-step .tl-line { background: #2a475e !important; }
.timeline-step.active .tl-line { background: #47d8ca !important; }
.deposit-card .addr-display { background: #071526 !important; border: 1px solid #29465e; border-radius: 10px !important; color: #dff0f1 !important; }
.deposit-card .copy-btn, .deposit-card .save-qr-btn { color: #032522 !important; background: #54ddd1 !important; }
.deposit-card .inst { color: #9fb2c1 !important; background: rgba(26, 94, 97, .12) !important; border-left-color: #46d8ca !important; }
.transfer-btn { width: calc(100% - 32px) !important; margin: 4px 16px 0 !important; color: #042523 !important; background: linear-gradient(135deg,#5ae1d6,#1aafa8) !important; border-radius: 14px !important; box-shadow: 0 10px 24px rgba(31,189,180,.2) !important; }
.timer-bar { color: #f6d796 !important; background: rgba(155, 103, 18, .15) !important; border: 1px solid rgba(255,183,44,.52) !important; border-radius: 13px !important; }

/* Orders and FAQ */
.page-title { padding: 24px 20px 8px !important; color: #f1f8fa !important; }
.filter-tabs { padding: 12px 16px !important; }
.filter-tab { padding: 8px 13px !important; background: rgba(10, 26, 43, .9) !important; border-color: #294861 !important; color: #8ca2b5 !important; }
.filter-tab.active { color: #052322 !important; background: #54ddd1 !important; border-color: #54ddd1 !important; }
.order-card { margin: 10px 16px !important; padding: 16px !important; border-radius: 16px !important; }
.order-card .order-no { color: #e8f6f7 !important; }
.order-card .amount { color: #5ce1d4 !important; }
.empty-state { color: #9ab0be; }
.empty-state .btn { color: #062725 !important; background: #54ddd1 !important; border-radius: 12px !important; }
.faq-item { margin: 10px 16px !important; border-radius: 16px !important; }
.faq-q { padding: 17px 16px !important; color: #eaf5f7 !important; }
.faq-a { color: #9bb0bf !important; }
.faq-a-inner { padding: 0 16px 17px !important; }

/* Premium icon and network selection system */
.zi-icon { width: 20px; height: 20px; display: block; object-fit: contain; flex: 0 0 auto; }
.input-prefix .zi-icon, .input-action .zi-icon { width: 20px; height: 20px; }
.input-action { display: inline-grid !important; place-items: center; }
.card-title .step-num .zi-icon { width: 17px; height: 17px; }
.network-stack { display: grid; gap: 10px; }
.network-option {
  width: 100%; min-height: 78px; padding: 13px 14px; display: flex; align-items: center; gap: 13px;
  text-align: left; border: 1px solid #294a63; border-radius: 16px; color: var(--text);
  background: linear-gradient(135deg, rgba(9,25,42,.94), rgba(5,16,29,.86)); cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.network-option:active { transform: scale(.99); }
.network-option.selected { border-color: #45ddd1; background: linear-gradient(135deg, rgba(31,173,166,.36), rgba(10,53,68,.95)); box-shadow: inset 0 0 0 1px rgba(87,230,217,.16), 0 9px 22px rgba(2,14,28,.22); }
.network-logo { width: 43px; height: 43px; object-fit: contain; border-radius: 50%; flex: 0 0 auto; filter: drop-shadow(0 5px 11px rgba(0,0,0,.24)); }
.network-copy { min-width: 0; display: grid; gap: 4px; flex: 1; }
.network-copy b { font-size: 16px; line-height: 1; letter-spacing: -.02em; color: #effbfc; }
.network-copy small { color: #93a8ba; font-size: 12px; line-height: 1.35; }
.network-check { width: 20px; height: 20px; flex: 0 0 auto; border: 1px solid #3a5870; border-radius: 50%; background: #071626; }
.network-option.selected .network-check { border: 0; background:#59e0d4 center/14px no-repeat url("https://api.iconify.design/solar:check-read-bold.svg?color=%2307202a"); box-shadow: 0 0 0 3px rgba(89,224,212,.15); }
.network-stack.compact { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.network-stack.compact .network-option { min-height: 96px; padding: 11px 8px; display: grid; justify-items: center; align-content: center; gap: 7px; position:relative; }
.network-stack.compact .network-logo { width: 30px; height: 30px; }
.network-stack.compact .network-copy { justify-items: center; gap: 3px; text-align: center; }
.network-stack.compact .network-copy b { font-size: 12px; }
.network-stack.compact .network-copy small { display: none; }
.network-stack.compact .network-check { position: absolute; top:10px; right:10px; width: 15px; height: 15px; margin:0; }
.pool-card .icon-circle, .level-card .level-icon { display: inline-grid; place-items: center; }
.pool-card .icon-circle .zi-icon { width: 24px; height: 24px; }
.level-card .level-icon .zi-icon { width: 21px; height: 21px; }
.score-card .score-icon { display: inline-grid; place-items: center; }
.score-card .score-icon .zi-icon { width: 20px; height: 20px; }
.risk-detail-title { display:flex; align-items:center; gap:7px; margin-bottom:8px; font-weight:700; color:var(--text); }
.risk-detail-title .zi-icon { width:18px; height:18px; }
.error-msg { align-items: center; }
.error-msg .zi-icon { width: 18px; height: 18px; }
.footer-links a, .footer-center a { display:inline-flex; align-items:center; justify-content:center; gap:6px; }
.footer-links .zi-icon, .footer-center .zi-icon { width:17px; height:17px; }
.modal-icon { display:grid; place-items:center; }
.modal-icon .zi-icon { width:42px; height:42px; }

/* User-side pages: replace utility glyphs with a calm, consistent visual language */
.header .back { display:inline-flex; align-items:center; gap:6px; }
.header .back::before { content:""; width:18px; height:18px; display:block; background: center/contain no-repeat url("https://api.iconify.design/solar:arrow-left-linear.svg?color=%2366e2d6"); }
.header .refresh-control { font-size:0 !important; display:grid; place-items:center; width:28px; height:28px; }
.header .refresh-control::before { content:""; width:20px; height:20px; display:block; background:center/contain no-repeat url("https://api.iconify.design/solar:refresh-circle-linear.svg?color=%2366e2d6"); }
.header .right:not(.refresh-control) { display:grid; place-items:center; width:28px; height:28px; }
.header .right:not(.refresh-control) .zi-icon { width:20px; height:20px; }
.empty-state .icon { width:60px; height:60px; margin:0 auto 14px; font-size:0 !important; border-radius:20px; background:rgba(47,210,194,.1) center/32px no-repeat url("https://api.iconify.design/solar:inbox-unread-bold-duotone.svg?color=%2358ded1"); border:1px solid rgba(88,222,209,.2); }
.order-card { position:relative; overflow:hidden; }
.order-card::after { content:""; position:absolute; right:16px; bottom:15px; width:20px; height:20px; background:center/contain no-repeat url("https://api.iconify.design/solar:arrow-right-up-linear.svg?color=%237a94a8"); opacity:.72; }
.order-card .row2 { padding-right:28px; }
.faq-q .arrow { width:20px; height:20px; font-size:0 !important; background:center/contain no-repeat url("https://api.iconify.design/solar:alt-arrow-down-linear.svg?color=%237f9aad"); }
.faq-q .arrow.open { transform:rotate(180deg); }
.faq-contact, .icon-button, .icon-title, .status-inline, .locked-display { display:inline-flex; align-items:center; gap:7px; }
.faq-contact { justify-content:center; }
.faq-contact .zi-icon, .icon-title .zi-icon, .status-inline .zi-icon { width:18px; height:18px; }
.icon-button { justify-content:center; gap:7px; }
.icon-button .zi-icon { width:18px; height:18px; }
.status-inline { justify-content:center; color:var(--primary); font-size:14px; font-weight:600; }
.processing-mark { width:64px; height:64px; margin:0 auto 12px; display:grid; place-items:center; border:1px solid rgba(88,222,209,.24); border-radius:22px; background:rgba(27,191,181,.1); box-shadow:0 0 30px rgba(47,210,194,.12); }
.processing-mark .zi-icon { width:38px; height:38px; }
.countdown-label { display:inline-flex; align-items:center; gap:6px; font-size:11px; color:#e0b655; margin-bottom:2px; }
.countdown-label::before { content:""; width:15px; height:15px; background:center/contain no-repeat url("https://api.iconify.design/solar:clock-circle-bold-duotone.svg?color=%23ffb72c"); }
.locked-display { justify-content:center; color:#9bb4c5 !important; }
.locked-display .zi-icon { width:19px; height:19px; }
.network-warning { display:flex; align-items:center; gap:6px; margin-bottom:6px; font-size:14px; font-weight:700; color:var(--red); }
.network-warning::before { content:""; width:17px; height:17px; flex:0 0 auto; background:center/contain no-repeat url("https://api.iconify.design/solar:danger-triangle-bold-duotone.svg?color=%23fc6673"); }
.network-warning.secondary { margin-top:6px; margin-bottom:0; font-size:11px; font-weight:500; color:var(--yellow); }
.network-warning.secondary::before { width:14px; height:14px; background-image:url("https://api.iconify.design/solar:danger-triangle-bold-duotone.svg?color=%23ffb72c"); }
.qr-blur .zi-icon { width:26px; height:26px; margin-bottom:2px; }
.qr-blur small { font-size:10px; color:var(--grey); }

@media (max-width: 380px) {
  .network-option { min-height: 73px; }
  .network-logo { width: 39px; height: 39px; }
  .network-copy b { font-size: 15px; }
  .network-copy small { font-size: 11px; }
}

@media (min-width: 761px) {
  body { background-color: #020914 !important; }
  .header, .top-bar, .main { border-left: 1px solid rgba(60,101,133,.2); border-right: 1px solid rgba(60,101,133,.2); }
}
