/* ZYREX SHOP — Safe visual layer
   Presentation only. Deliberately avoids generic layout overrides
   (display/position/width/height/margins) so existing page structure
   and JavaScript behavior remain intact. */
:root{
  --zx-gold:#f5b51b;
  --zx-gold-soft:rgba(245,181,27,.12);
  --zx-border:rgba(255,255,255,.08);
  --zx-text:#f7f8fb;
  --zx-muted:#8e96a5;
}
html{scroll-behavior:smooth}
body{ -webkit-tap-highlight-color:transparent; text-rendering:optimizeLegibility; }
button,a,input,select,textarea{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid rgba(255,211,80,.72);outline-offset:2px
}
input:focus,select:focus,textarea:focus{border-color:rgba(245,181,27,.55)!important;box-shadow:0 0 0 3px rgba(245,181,27,.08)!important}

/* Shared visual polish — no structural positioning. */
.card,.section,.list,.history,.pending,.terms,.form-card,.service-card,.stat,.item,.codebox,.operator-card,.order-panel,.selected-service,.choice,.step,.table-wrap{
  border-color:var(--zx-border)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.18)!important;
}

/* Dashboard visual polish. Existing dashboard CSS remains responsible for layout. */
.hero{
  background:
    radial-gradient(280px 150px at 100% 0,rgba(245,181,27,.12),transparent 72%),
    linear-gradient(145deg,#141820,#0d1015)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.32)!important;
}
.eyebrow{color:#ffd75b!important;letter-spacing:1.8px!important}
.hero .hello{letter-spacing:-.6px!important}
.hero .sub{color:#9aa2b0!important}
.welcome{background:linear-gradient(135deg,#121821,#0e1116)!important}
.welcome h2{letter-spacing:-.2px!important}
.zyrex-info{
  border-color:rgba(245,181,27,.13)!important;
  background:linear-gradient(135deg,#17150e,#101217 68%)!important;
  box-shadow:0 14px 36px rgba(0,0,0,.22)!important;
}
.zyrex-info:hover{border-color:rgba(245,181,27,.30)!important}
.zyrex-info-icon{background:rgba(245,181,27,.11)!important}
.zyrex-info-main b{color:#ffd75b!important}
.stat{background:linear-gradient(145deg,#13171e,#0e1116)!important}
.stat b{color:#ffd75b!important}
.pending,.history,.terms{background:#0f1217!important}
.status{background:rgba(245,181,27,.10)!important;color:#f8d36b!important}
.badge{background:rgba(57,212,123,.10)!important;color:#78e5a0!important}

/* Forms / buttons: visual only. */
.btn,[type=submit],button.primary{
  box-shadow:0 10px 26px rgba(0,0,0,.18)
}
input,select,textarea{transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}

/* Mobile readability without changing the existing page geometry. */
@media(max-width:520px){
  .hero .sub{line-height:1.65!important}
  .zyrex-info-main span{line-height:1.55!important}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  *,*:before,*:after{animation:none!important;transition:none!important}
}

/* Admin dashboard refinement */
.admin-wrap .admin-nav-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:2px}
.admin-wrap .admin-nav-grid a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:64px;padding:12px 10px;border:1px solid var(--zx-border);border-radius:16px;background:#11151c;color:#e9edf3;text-decoration:none;font-size:15px;font-weight:800;line-height:1.25;text-align:center}
.admin-wrap .admin-nav-grid a:hover{border-color:rgba(245,181,27,.3);background:#151a22;color:#ffd75b}
.admin-wrap .admin-nav-grid .nav-icon{font-size:20px;display:grid;place-items:center;flex:0 0 auto}
.admin-wrap .admin-nav-grid .nav-copy{min-width:0}
.admin-wrap .admin-nav-grid .nav-copy small{display:block;margin-top:3px;color:var(--muted);font-size:10px;font-weight:600}

.admin-deposits{border-radius:20px!important;overflow:hidden}
.admin-deposit-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;gap:12px!important;padding:14px 15px!important;min-height:70px;background:linear-gradient(90deg,rgba(255,255,255,.012),transparent)}
.admin-deposit-main{min-width:0}
.admin-deposit-main strong{display:block;font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-deposit-main small{display:block;color:var(--muted);font-size:8px;line-height:1.5;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-status{display:inline-flex;align-items:center;justify-content:center;min-width:68px;padding:7px 9px;border-radius:10px;background:rgba(245,181,27,.08);color:#ffd75b;font-size:8px;font-weight:800;text-transform:uppercase}
.admin-status.success{background:rgba(88,220,145,.1);color:#7de6a6}
.admin-status.failed,.admin-status.cancelled{background:rgba(255,100,110,.1);color:#ff9aa2}
.admin-empty{padding:30px 16px!important;text-align:center;color:var(--muted);font-size:10px}
@media(max-width:520px){.admin-wrap .admin-nav-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.admin-wrap .admin-nav-grid a{min-height:68px;padding:10px 6px;flex-direction:column;gap:4px;font-size:12px}.admin-wrap .admin-nav-grid .nav-icon{font-size:19px}.admin-wrap .admin-nav-grid .nav-copy small{font-size:8px}.admin-deposit-row{grid-template-columns:minmax(0,1fr) auto!important;padding:13px!important}}

/* V10 — Dashboard mobile readability
   Larger typography only; preserves the existing layout and functionality. */
@media(max-width:520px){
  .app{font-size:13px}
  .brand{font-size:21px!important}
  .brand-mark{font-size:28px!important}
  .profile-name{font-size:12px!important}
  .profile-role{font-size:10px!important}
  .eyebrow{font-size:11px!important;letter-spacing:1.9px!important}
  .welcome-copy-card .hello{font-size:27px!important;line-height:1.18!important}
  .welcome-copy-card .hero-sub{font-size:13px!important;line-height:1.65!important}
  .section-head h2{font-size:19px!important;letter-spacing:-.35px!important}
  .section-head a{font-size:12px!important}
  .section-head small{font-size:10.5px!important}
  .quick strong{font-size:13px!important}
  .quick span{font-size:10.5px!important;line-height:1.45!important}
  .quick-icon{font-size:18px!important}
  .stat-label,.sales-stat .stat-label{font-size:11px!important}
  .stat-value,.sales-stat .stat-value{font-size:20px!important}
  .stat-note,.sales-stat .stat-note{font-size:10px!important}
  .row-main strong{font-size:12.5px!important}
  .row-main span{font-size:10.5px!important;line-height:1.45!important}
  .row-right b{font-size:11px!important}
  .pill{font-size:9px!important;padding:5px 8px!important}
  .kind{font-size:9px!important}
  .empty{font-size:12px!important}
  .term{font-size:11px!important;line-height:1.65!important}
  .terms-note{font-size:10px!important;line-height:1.6!important}
  .dashboard-menu .menu-title{font-size:10px!important}
  .dashboard-menu a{font-size:12px!important;padding:12px!important}
  .menu-balance span{font-size:10px!important}
  .menu-balance strong{font-size:20px!important}
  .menu-balance a{font-size:11px!important}
  .bottom-nav a,.bottom-nav a span{font-size:11px!important}
  .bottom-nav a.plus{font-size:27px!important}
  .consent h3{font-size:21px!important}
  .consent p{font-size:12px!important;line-height:1.65!important}
  .consent-actions button{font-size:11px!important}
}
