/* ═══════════════════════════════════════════════════════════════════════
   AccessStack — Dark SaaS Theme  v3.0
   ═══════════════════════════════════════════════════════════════════════ */

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

/* ─── DESIGN TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-primary:       #0b0f14;
  --bg-secondary:     #121821;
  --bg-card:          #1a2230;
  --bg-card-hover:    #1f2a3c;
  --bg-input:         #141c27;
  --bg-elevated:      #202b3d;

  /* Accent */
  --accent:           #3b82f6;
  --accent-hover:     #2563eb;
  --accent-glow:      rgba(59,130,246,0.16);
  --accent-glow-soft: rgba(59,130,246,0.07);
  --accent-border:    rgba(59,130,246,0.32);

  /* Text */
  --text-primary:     #f1f5f9;
  --text-secondary:   #94a3b8;
  --text-muted:       #64748b;
  --text-link:        #60a5fa;

  /* Borders */
  --border-color:     #2a3441;
  --border-subtle:    #1e2a38;
  --border-strong:    #374151;

  /* Semantic colors */
  --green:            #22c55e;
  --green-bg:         rgba(34,197,94,0.10);
  --green-border:     rgba(34,197,94,0.25);
  --red:              #ef4444;
  --red-bg:           rgba(239,68,68,0.10);
  --red-border:       rgba(239,68,68,0.25);
  --yellow:           #f59e0b;
  --yellow-bg:        rgba(245,158,11,0.10);
  --purple:           #8b5cf6;

  /* Backward-compat aliases */
  --as-bg:            var(--bg-primary);
  --as-surface:       var(--bg-secondary);
  --as-surface2:      var(--bg-card);
  --as-border:        var(--border-color);
  --as-blue:          var(--accent);
  --as-blue-dark:     var(--accent-hover);
  --as-blue-glow:     var(--accent-glow);
  --as-text:          var(--text-primary);
  --as-text-muted:    var(--text-secondary);
  --as-green:         var(--green);
  --as-red:           var(--red);
  --as-yellow:        var(--yellow);

  /* Shape */
  --radius:           14px;
  --radius-sm:        9px;
  --radius-xs:        6px;
  --radius-pill:      50px;
  --as-radius:        var(--radius);
  --as-radius-sm:     var(--radius-sm);

  /* Shadows */
  --shadow-sm:        0 2px 8px rgba(0,0,0,0.35);
  --shadow:           0 4px 20px rgba(0,0,0,0.45);
  --shadow-lg:        0 8px 40px rgba(0,0,0,0.55);
  --shadow-blue:      0 4px 24px rgba(59,130,246,0.28);
  --shadow-card:      0 1px 3px rgba(0,0,0,0.4),0 8px 24px rgba(0,0,0,0.3);
  --as-shadow:        var(--shadow-card);

  /* Typography */
  --font:     'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --font-mono:'Courier New','Consolas',monospace;
  --as-font:  var(--font);

  /* Motion */
  --ease:     cubic-bezier(0.4,0,0.2,1);
  --dur:      0.2s;
}

/* ═══════════════════════════════════════════════════════════════════════
   1. GLOBAL RESET & DARK BASE
   ═══════════════════════════════════════════════════════════════════════ */

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

html {
  background: var(--bg-primary) !important;
  scroll-behavior: smooth;
}

body,
body.page,
body.home,
body.single,
body.archive,
body.logged-in,
body.page-template-default {
  background: var(--bg-primary) !important;
  color: var(--text-primary) !important;
  font-family: var(--font) !important;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Kill white backgrounds on every common theme wrapper */
#page, #main, #content, #primary, #wrapper,
.site-main, .entry-content, .post-content, .page-content,
.wp-block-group, .wp-block-cover, .site-content, .content-area,
.site-header-wrapper, .page-wrapper, .wrapper, main,
.elementor-section, .elementor-widget-wrap, .elementor-column-wrap,
.e-con, .e-con-inner, .hentry {
  background: transparent !important;
  color: var(--text-primary) !important;
}

h1,h2,h3,h4,h5,h6 {
  color: var(--text-primary);
  font-family: var(--font);
  line-height: 1.2;
  font-weight: 700;
}

p { color: var(--text-secondary); }

a { color: var(--text-link); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--accent); color: #fff; }

/* Dark scrollbar */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════════
   2. LAYOUT
   ═══════════════════════════════════════════════════════════════════════ */

.as-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.as-page {
  min-height: 80vh;
  padding-bottom: 80px;
  background: var(--bg-primary);
}

/* ═══════════════════════════════════════════════════════════════════════
   3. WORDPRESS HEADER / NAVBAR DARK OVERRIDE
   ═══════════════════════════════════════════════════════════════════════ */

.site-header, header.site-header, #masthead, #site-header,
.main-navigation, nav.main-navigation, .navbar, .nav-bar,
.header-area, .site-branding, .top-bar, #header, .header-inner,
.ast-masthead-custom-menu-items, .ast-site-header-wrap,
.astra-header, .wp-block-navigation, .header-main,
.header-full-width, [class*="header-"] {
  background: var(--bg-secondary) !important;
  background-color: var(--bg-secondary) !important;
  border-bottom: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 1px 0 var(--border-color) !important;
}

.main-navigation a, nav a, .nav-menu a, .menu a,
.menu-item a, .wp-block-navigation a, .nav-link,
.ast-builder-menu a {
  color: var(--text-secondary) !important;
  font-weight: 500;
}

.main-navigation a:hover, nav a:hover, .menu a:hover,
.menu-item a:hover, .wp-block-navigation a:hover,
.current-menu-item > a, .current-page-item > a, .current_page_item > a {
  color: var(--accent) !important;
}

.site-title, .site-title a, .site-description,
.ast-site-title, .ast-site-tagline {
  color: var(--text-primary) !important;
}

/* Dropdown menus */
.main-navigation .sub-menu, .dropdown-menu, .nav-menu .sub-menu {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow) !important;
}

.main-navigation .sub-menu a, .dropdown-menu a {
  color: var(--text-secondary) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
}

.main-navigation .sub-menu a:hover, .dropdown-menu a:hover {
  background: var(--bg-elevated) !important;
  color: var(--accent) !important;
}

.menu-toggle, button.menu-toggle {
  background: transparent !important;
  color: var(--text-primary) !important;
  border: 1.5px solid var(--border-color) !important;
  border-radius: var(--radius-xs) !important;
}

#wpadminbar { background: #0d1117 !important; }

/* ═══════════════════════════════════════════════════════════════════════
   4. WORDPRESS FOOTER DARK OVERRIDE
   ═══════════════════════════════════════════════════════════════════════ */

.site-footer, footer.site-footer, #colophon, #footer,
.footer-area, .footer-bar, .footer-inner,
.ast-small-footer, .ast-footer-overlay,
[class*="footer-"] {
  background: var(--bg-secondary) !important;
  background-color: var(--bg-secondary) !important;
  border-top: 1px solid var(--border-color) !important;
  color: var(--text-secondary) !important;
}

.site-footer a, footer a, #colophon a { color: var(--text-link) !important; }
.site-footer a:hover, footer a:hover   { color: var(--accent) !important; }

/* ═══════════════════════════════════════════════════════════════════════
   5. BUTTONS
   ═══════════════════════════════════════════════════════════════════════ */

.as-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  text-decoration: none !important;
  transition: all var(--dur) var(--ease);
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.as-btn-primary {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3),inset 0 1px 0 rgba(255,255,255,0.1);
}
.as-btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
  color: #fff !important;
}
.as-btn-primary:active { transform: translateY(0); box-shadow: none; }

.as-btn-ghost {
  background: transparent;
  color: var(--text-primary) !important;
  border: 1.5px solid var(--border-color);
}
.as-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: var(--accent-glow-soft);
}

.as-btn-full   { width: 100%; }
.as-btn-lg     { padding: 14px 32px; font-size: 17px; border-radius: var(--radius); }
.as-btn-sm     { padding: 7px 14px; font-size: 13px; border-radius: var(--radius-xs); }
.as-btn-icon   { font-size: 16px; }

.as-btn:disabled, .as-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   6. FORMS & INPUTS
   ═══════════════════════════════════════════════════════════════════════ */

.as-form                   { display: flex; flex-direction: column; gap: 18px; }
.as-form-group             { display: flex; flex-direction: column; gap: 7px; }
.as-form-row               { display: flex; gap: 16px; flex-wrap: wrap; }
.as-form-row .as-form-group{ flex: 1; min-width: 200px; }

.as-form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.65px;
}

/* Universal dark input — covers every type */
.as-input,
.as-select,
input.as-input,
input[type="text"].as-input,
input[type="email"].as-input,
input[type="password"].as-input,
input[type="number"].as-input,
input[type="tel"].as-input,
textarea.as-input,
select.as-select {
  background: var(--bg-input) !important;
  border: 1.5px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-primary) !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  font-family: var(--font) !important;
  transition: border-color var(--dur) var(--ease),
              box-shadow   var(--dur) var(--ease) !important;
  width: 100% !important;
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
}

.as-input::placeholder, input.as-input::placeholder {
  color: var(--text-muted) !important;
  opacity: 1;
}

.as-input:focus, .as-select:focus,
input.as-input:focus, select.as-select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-glow) !important;
  background: var(--bg-input) !important;
}

/* Custom select arrow */
.as-select, select.as-select {
  appearance: none !important;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 38px !important;
}

select.as-select option, .as-select option {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
}

/* Kill white autofill flash */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-input) inset !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  caret-color: var(--text-primary) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   7. ALERTS
   ═══════════════════════════════════════════════════════════════════════ */

.as-alert {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid transparent;
}

.as-alert-success { background: var(--green-bg);  color: var(--green);  border-color: var(--green-border); }
.as-alert-error   { background: var(--red-bg);    color: var(--red);    border-color: var(--red-border);   }
.as-alert-info    { background: var(--accent-glow);color: var(--accent); border-color: var(--accent-border);}
.as-alert-warning { background: var(--yellow-bg); color: var(--yellow); border-color: rgba(245,158,11,.25); }

/* ═══════════════════════════════════════════════════════════════════════
   8. AUTH PAGES — LOGIN & REGISTER
   ═══════════════════════════════════════════════════════════════════════ */

.as-auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92vh;
  padding: 40px 20px;
  background: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 0%,
      rgba(59,130,246,0.11) 0%, transparent 65%);
}

.as-auth-container { width: 100%; max-width: 440px; }

.as-auth-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

/* Top gradient accent bar */
.as-auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  border-radius: var(--radius) var(--radius) 0 0;
}

.as-auth-logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.8px;
  margin-bottom: 28px;
  text-align: center;
}

.as-auth-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 6px;
  text-align: center;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.as-auth-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 32px;
  text-align: center;
  line-height: 1.5;
}

.as-auth-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-secondary);
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.as-auth-footer a { color: var(--accent); font-weight: 700; }
.as-auth-footer a:hover { text-decoration: underline; color: var(--accent-hover); }

/* ═══════════════════════════════════════════════════════════════════════
   9. HOMEPAGE
   ═══════════════════════════════════════════════════════════════════════ */

.as-home { background: var(--bg-primary); }

/* ── Hero ── */
.as-hero {
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.as-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%,
      rgba(59,130,246,0.17) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 85% 100%,
      rgba(139,92,246,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle dot grid */
.as-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 100%);
}

.as-hero .as-container { position: relative; z-index: 1; }

.as-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 0.2px;
}

.as-hero-title {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.06;
  margin: 0 0 22px;
  letter-spacing: -2px;
  color: var(--text-primary);
}

.as-gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.as-hero-sub {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.as-hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.as-hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}

.as-stat { text-align: center; }

.as-stat-num {
  display: block;
  font-size: 30px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 4px;
}

.as-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Sections ── */
.as-section      { padding: 88px 0; background: var(--bg-primary); }
.as-section-dark { background: var(--bg-secondary); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }

.as-section-header { text-align: center; margin-bottom: 56px; }

.as-section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--text-primary);
  letter-spacing: -0.8px;
}

.as-section-header p { color: var(--text-secondary); margin: 0; font-size: 17px; }

/* ── Steps ── */
.as-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.as-step { text-align: center; max-width: 220px; flex: 1; min-width: 160px; }

.as-step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 8px var(--accent-glow-soft), var(--shadow-blue);
}

.as-step h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--text-primary); }
.as-step p  { color: var(--text-secondary); font-size: 14px; margin: 0; line-height: 1.6; }

.as-step-arrow { font-size: 24px; color: var(--border-strong); flex-shrink: 0; margin-top: -28px; }

/* ── Service cards ── */
.as-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.as-service-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color var(--dur) var(--ease),
              transform    var(--dur) var(--ease),
              box-shadow   var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.as-service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-glow-soft) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.as-service-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(59,130,246,0.12);
}
.as-service-card:hover::before { opacity: 1; }

.as-service-icon { font-size: 38px; margin-bottom: 18px; display: block; }
.as-service-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; color: var(--text-primary); }
.as-service-card p  { color: var(--text-secondary); margin: 0 0 18px; font-size: 14px; line-height: 1.6; }

.as-badge {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ── Trust badges ── */
.as-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.as-trust-item {
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease);
}
.as-trust-item:hover { border-color: var(--border-color); }

.as-trust-icon { font-size: 38px; display: block; margin-bottom: 14px; }
.as-trust-item h4 { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--text-primary); }
.as-trust-item p  { color: var(--text-secondary); font-size: 13px; margin: 0; }

/* ── Testimonials ── */
.as-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.as-testimonial {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
}

.as-testimonial::before {
  content: '"';
  position: absolute;
  top: 14px; right: 22px;
  font-size: 72px;
  color: var(--accent);
  opacity: 0.10;
  font-family: Georgia, serif;
  line-height: 1;
}

.as-stars { color: var(--yellow); font-size: 17px; margin-bottom: 14px; letter-spacing: 2px; }
.as-testimonial p  { color: var(--text-secondary); font-style: italic; margin: 0 0 18px; line-height: 1.7; font-size: 15px; }
.as-testi-author   { font-size: 13px; font-weight: 700; color: var(--accent); }

/* ── CTA Section ── */
.as-cta-section {
  background: linear-gradient(135deg, rgba(59,130,246,0.11) 0%, rgba(139,92,246,0.07) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.as-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(59,130,246,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.as-cta-section h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  margin: 0 0 14px;
  letter-spacing: -1px;
  color: var(--text-primary);
  position: relative;
}

.as-cta-section p {
  color: var(--text-secondary);
  margin: 0 0 36px;
  font-size: 18px;
  position: relative;
}

/* ═══════════════════════════════════════════════════════════════════════
   10. PAGE HEADER (shared — marketplace, fund wallet)
   ═══════════════════════════════════════════════════════════════════════ */

.as-page-header {
  padding: 44px 0 32px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 36px;
}

.as-page-header h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.8px;
  color: var(--text-primary);
}

.as-page-header p      { color: var(--text-secondary); margin: 0; font-size: 15px; }
.as-page-header strong { color: var(--accent); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════════
   11. DASHBOARD
   ═══════════════════════════════════════════════════════════════════════ */

.as-dashboard-page { padding-top: 0; background: var(--bg-primary); }

/* ── Top bar ── */
.as-dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 32px 0 26px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 36px;
}

.as-dash-greeting h1 { font-size: 28px; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.5px; color: var(--text-primary); }
.as-dash-greeting p  { color: var(--text-secondary); margin: 0; font-size: 14px; }
.as-dash-actions     { display: flex; gap: 12px; align-items: center; }

/* ── Stat cards ── */
.as-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.as-stat-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.as-stat-card:hover { border-color: var(--border-strong); transform: translateY(-1px); }

.as-stat-card--blue {
  border-color: var(--accent-border);
  background: linear-gradient(135deg, rgba(59,130,246,0.12) 0%, var(--bg-card) 100%);
}

.as-stat-card-icon  { font-size: 30px; flex-shrink: 0; }
.as-stat-card-body  { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.as-stat-card-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.as-stat-card-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* ── Dashboard section cards ── */
.as-dash-section {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 24px;
}

.as-dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.as-dash-section-header h2 { font-size: 17px; font-weight: 700; margin: 0; color: var(--text-primary); }

.as-price-tag {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════════
   12. OTP COMPONENT
   ═══════════════════════════════════════════════════════════════════════ */

.as-otp-result {
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 22px;
  margin-top: 18px;
}

.as-otp-number-box,
.as-otp-code-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.as-otp-label  { color: var(--text-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; min-width: 84px; }
.as-otp-number { font-size: 22px; font-weight: 700; color: var(--accent); letter-spacing: 2px; font-family: var(--font-mono); }
.as-otp-code   { font-size: 32px; font-weight: 900; color: var(--green); letter-spacing: 6px; font-family: var(--font-mono); text-shadow: 0 0 20px rgba(34,197,94,0.3); }

.as-copy-btn {
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.as-copy-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.as-otp-status { font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; }
.as-otp-btns   { display: flex; gap: 10px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════════════
   13. TABS
   ═══════════════════════════════════════════════════════════════════════ */

.as-tabs, .as-market-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 26px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0;
}

.as-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
}

.as-tab:hover  { color: var(--text-primary); background: rgba(255,255,255,0.03); }
.as-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════════════
   14. DELIVERY CARDS
   ═══════════════════════════════════════════════════════════════════════ */

.as-deliveries-list { display: flex; flex-direction: column; gap: 12px; }

.as-delivery-card {
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.as-delivery-card:hover { border-color: var(--border-strong); }

.as-delivery-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  background: rgba(255,255,255,0.015);
}

.as-delivery-type {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  flex-shrink: 0;
}

.as-type-otp     { background: #7c3aed; }
.as-type-account { background: #0e7490; }
.as-type-proxy   { background: #92400e; }
.as-type-vpn     { background: #065f46; }
.as-type-rdp     { background: #9a3412; }

.as-delivery-service {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
  color: var(--text-primary);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.as-delivery-date { font-size: 12px; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }

.as-delivery-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }

.as-data-row {
  display: flex;
  gap: 12px;
  font-size: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.as-data-row span  { color: var(--text-muted); min-width: 96px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0; }
.as-data-row strong{ font-family: var(--font-mono); font-size: 13px; word-break: break-all; color: var(--text-primary); }

.as-highlight    { color: var(--green); }
.as-country-flag { font-size: 16px; line-height: 1; }

/* ═══════════════════════════════════════════════════════════════════════
   15. TABLE
   ═══════════════════════════════════════════════════════════════════════ */

.as-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.as-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--bg-elevated);
}

.as-table th, .as-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.as-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.65px;
  color: var(--text-muted);
  font-weight: 700;
  background: rgba(255,255,255,0.02);
}

.as-table tbody tr:last-child td { border-bottom: none; }
.as-table tbody tr:hover td { background: rgba(255,255,255,0.03); }

/* ═══════════════════════════════════════════════════════════════════════
   16. STATUS BADGES
   ═══════════════════════════════════════════════════════════════════════ */

.as-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.as-status-pending  { background: var(--yellow-bg); color: var(--yellow); border: 1px solid rgba(245,158,11,.3); }
.as-status-received { background: var(--green-bg);  color: var(--green);  border: 1px solid var(--green-border); }
.as-status-canceled { background: var(--red-bg);    color: var(--red);    border: 1px solid var(--red-border);   }

/* ═══════════════════════════════════════════════════════════════════════
   17. EMPTY STATE
   ═══════════════════════════════════════════════════════════════════════ */

.as-empty { text-align: center; padding: 56px 20px; }
.as-empty-icon { font-size: 52px; display: block; margin-bottom: 18px; opacity: 0.65; }
.as-empty p    { color: var(--text-secondary); font-size: 15px; }
.as-link       { color: var(--accent); text-decoration: none; font-weight: 600; }
.as-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════
   18. MARKETPLACE
   ═══════════════════════════════════════════════════════════════════════ */

.as-marketplace-page { background: var(--bg-primary); }

.as-market-panel        { display: none; }
.as-market-panel.active { display: block; }

.as-service-info-card {
  background: linear-gradient(135deg, rgba(59,130,246,0.06) 0%, var(--bg-card) 100%);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

/* Left accent stripe */
.as-service-info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--purple));
  border-radius: 2px 0 0 2px;
}

.as-service-info-card h3 { font-size: 22px; font-weight: 800; margin: 0 0 10px; color: var(--text-primary); letter-spacing: -0.3px; }
.as-service-info-card p  { color: var(--text-secondary); margin: 0 0 18px; line-height: 1.65; }
.as-price-display        { font-size: 28px; font-weight: 900; color: var(--accent); letter-spacing: -0.5px; }

.as-buy-form {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── Plan cards (VPN / RDP) ── */
.as-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.as-plan-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: border-color var(--dur) var(--ease),
              transform    var(--dur) var(--ease),
              box-shadow   var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.as-plan-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.as-plan-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(59,130,246,0.14);
}
.as-plan-card:hover::after { opacity: 1; }

.as-plan-icon  { font-size: 44px; margin-bottom: 18px; display: block; }
.as-plan-card h3 { font-size: 21px; font-weight: 800; margin: 0 0 14px; color: var(--text-primary); letter-spacing: -0.3px; }
.as-plan-price   { font-size: 32px; font-weight: 900; color: var(--accent); margin-bottom: 22px; letter-spacing: -0.5px; line-height: 1; }

.as-plan-features { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.as-plan-features li { font-size: 14px; color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════════════════
   19. FUND WALLET
   ═══════════════════════════════════════════════════════════════════════ */

.as-fund-page { background: var(--bg-primary); }

.as-fund-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }

.as-fund-card, .as-fund-info {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
}

.as-fund-card h3, .as-fund-info h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.as-fund-sub { color: var(--text-secondary); font-size: 14px; margin: 0 0 26px; line-height: 1.6; }

.as-amount-presets { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }

.as-preset {
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-color);
  color: var(--text-secondary);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  transition: all var(--dur) var(--ease);
}

.as-preset:hover           { border-color: var(--accent); color: var(--accent); background: var(--accent-glow-soft); }
.as-preset.selected,
.as-preset:active          { background: var(--accent); border-color: var(--accent); color: #fff; }

.as-fund-badges {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}
.as-fund-badges span { font-size: 12px; color: var(--text-muted); font-weight: 600; }

.as-info-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; }
.as-info-list li { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.as-info-list li strong { color: var(--text-primary); font-weight: 600; }

.as-fund-support { border-top: 1px solid var(--border-subtle); padding-top: 22px; }
.as-fund-support h4 { font-size: 15px; font-weight: 700; margin: 0 0 8px; color: var(--text-primary); }
.as-fund-support p  { color: var(--text-secondary); font-size: 13px; margin: 0 0 18px; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════════════
   20. STATIC PAGES
   ═══════════════════════════════════════════════════════════════════════ */

.as-static-page { max-width: 800px; margin: 0 auto; padding: 64px 24px; background: var(--bg-primary); }
.as-static-page h1 { font-size: 40px; font-weight: 900; margin-bottom: 24px; letter-spacing: -1px; color: var(--text-primary); }
.as-static-page h2 { font-size: 22px; font-weight: 700; margin: 36px 0 14px; color: var(--text-primary); }
.as-static-page p  { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.as-static-page ul { color: var(--text-secondary); line-height: 2.2; padding-left: 20px; }
.as-static-page a  { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ═══════════════════════════════════════════════════════════════════════
   21. COUNTRY FILTER — Account Marketplace (v2)
   ═══════════════════════════════════════════════════════════════════════ */

.as-filter-step            { display: flex; flex-direction: column; gap: 10px; }
.as-filter-step-label      { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.65px; }

.as-step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.as-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
}

.as-stock-available { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.as-stock-empty     { background: var(--red-bg);   color: var(--red);   border: 1px solid var(--red-border);   }

#as-acct-country { font-size: 15px; }

#as-buy-account-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none;
}

/* ── Purchase result card ── */
.as-purchase-result { margin-top: 20px; }

.as-acct-result-card {
  background: linear-gradient(135deg, rgba(34,197,94,0.07) 0%, rgba(59,130,246,0.05) 100%);
  border: 1.5px solid var(--green-border);
  border-radius: var(--radius);
  padding: 26px;
  animation: as-slide-in 0.3s var(--ease);
}

@keyframes as-slide-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.as-acct-result-card h4    { font-size: 18px; font-weight: 800; margin: 0 0 8px; color: var(--green); }
.as-acct-result-note       { font-size: 13px; color: var(--text-secondary); margin: 0 0 20px; line-height: 1.6; }

.as-acct-result-rows {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.as-acct-result-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: background var(--dur) var(--ease);
}

.as-acct-result-row:last-child          { border-bottom: none; }
.as-acct-result-row:nth-child(even)     { background: var(--bg-elevated); }

.as-acct-result-label  { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.as-acct-result-val    { font-family: var(--font-mono); font-size: 14px; color: var(--text-primary); word-break: break-all; min-width: 0; }
.as-acct-result-actions{ display: flex; gap: 6px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════════
   22. WHATSAPP FLOATING BUTTON
   ═══════════════════════════════════════════════════════════════════════ */

.as-wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45),
              0 0 0 0 rgba(37,211,102,0.4);
  transition: all var(--dur) var(--ease);
  animation: wa-pulse 3s ease-in-out infinite;
}

@keyframes wa-pulse {
  0%   { box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 0 0 0    rgba(37,211,102,.4); }
  70%  { box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 0 0 12px rgba(37,211,102,.0); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 0 0 0    rgba(37,211,102,.0); }
}

.as-wa-float:hover { transform: scale(1.1); background: #1ebe59; }

/* ═══════════════════════════════════════════════════════════════════════
   23. TOAST
   ═══════════════════════════════════════════════════════════════════════ */

.as-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  opacity: 0;
  transition: all 0.3s var(--ease);
  z-index: 99999;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  white-space: nowrap;
}

.as-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════════════════════════════════════
   24. WORDPRESS BLOCK / THEME ELEMENT OVERRIDES
   ═══════════════════════════════════════════════════════════════════════ */

/* Gutenberg blocks */
.wp-block-group, .wp-block-group__inner-container,
.wp-block-cover, .wp-block-cover__inner-container,
.wp-block-columns, .wp-block-column,
.alignfull, .alignwide {
  background-color: transparent !important;
  color: var(--text-primary) !important;
}

.wp-block-separator { border-color: var(--border-color) !important; }
.entry-content p, .wp-block-paragraph { color: var(--text-secondary) !important; }

/* Generic white-box killers */
.widget, .widget-area, .sidebar, #secondary,
.comment-body {
  background: transparent !important;
  color: var(--text-primary) !important;
}

/* Framework card classes that might bleed white */
.card, .box, .panel, .well, .block {
  background: var(--bg-card) !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

/* Comment / form inputs */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  background: var(--bg-input) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   25. RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .as-fund-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .as-container { padding: 0 16px; }

  /* Hero */
  .as-hero          { padding: 70px 0 50px; }
  .as-hero-title    { font-size: 38px; letter-spacing: -1px; }
  .as-hero-sub      { font-size: 16px; }
  .as-hero-cta      { flex-direction: column; align-items: center; }
  .as-hero-stats    { gap: 28px; }
  .as-stat-num      { font-size: 24px; }

  /* Steps */
  .as-steps         { flex-direction: column; align-items: center; }
  .as-step-arrow    { transform: rotate(90deg); margin: -4px 0; }
  .as-step          { max-width: 100%; }

  /* Sections */
  .as-section       { padding: 60px 0; }
  .as-section-header{ margin-bottom: 36px; }
  .as-section-header h2 { font-size: 28px; }

  /* Dashboard */
  .as-dash-topbar   { flex-direction: column; align-items: flex-start; }
  .as-stats-grid    { grid-template-columns: 1fr 1fr; }

  /* Forms */
  .as-form-row      { flex-direction: column; }

  /* Deliveries */
  .as-delivery-header  { flex-direction: column; align-items: flex-start; gap: 8px; }
  .as-delivery-service { white-space: normal; }

  /* Market tabs — horizontal scroll */
  .as-market-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .as-market-tabs::-webkit-scrollbar { display: none; }
  .as-tab { flex-shrink: 0; }

  /* Auth */
  .as-auth-card { padding: 32px 24px; }

  /* Plans */
  .as-plans-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* Auth */
  .as-auth-card  { padding: 28px 18px; }
  .as-auth-title { font-size: 22px; }

  /* Stats */
  .as-stats-grid { grid-template-columns: 1fr; }

  /* Dashboard actions */
  .as-dash-actions              { flex-direction: column; width: 100%; }
  .as-dash-actions .as-btn      { width: 100%; justify-content: center; }

  /* Section cards */
  .as-dash-section              { padding: 20px 16px; }
  .as-dash-section-header       { flex-direction: column; align-items: flex-start; }

  /* OTP */
  .as-otp-code   { font-size: 26px; letter-spacing: 3px; }
  .as-otp-number { font-size: 18px; }

  /* Data rows */
  .as-data-row        { flex-direction: column; gap: 4px; }
  .as-data-row span   { min-width: auto; }

  /* Account result */
  .as-acct-result-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .as-acct-result-actions { justify-content: flex-start; }

  /* Hero */
  .as-hero-title          { font-size: 32px; letter-spacing: -0.5px; }
  .as-hero-cta .as-btn    { width: 100%; justify-content: center; }

  /* Presets */
  .as-preset              { padding: 8px 14px; font-size: 13px; }

  /* Grids */
  .as-trust-grid          { grid-template-columns: 1fr 1fr; }
  .as-services-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .as-trust-grid  { grid-template-columns: 1fr; }
  .as-hero-title  { font-size: 28px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   26. ACCESSIBILITY
   ═══════════════════════════════════════════════════════════════════════ */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body { background: #fff !important; color: #000 !important; }
  .as-wa-float { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
   EXTENSIONS v2.0 — Order Cards, OTP Search, UI Improvements
   ═══════════════════════════════════════════════════════════════════════ */

/* ── OTP Search boxes ─────────────────────────────────────────────── */
.as-otp-search-wrap {
  margin-bottom: 8px;
}

.as-otp-search {
  background: var(--bg-input) !important;
  border: 1.5px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-primary) !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  width: 100% !important;
  transition: border-color 0.2s ease !important;
}

.as-otp-search:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-glow) !important;
  outline: none !important;
}

.as-otp-search::placeholder {
  color: var(--text-muted) !important;
}

.as-otp-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

/* ── Order Cards (VPN / RDP) ──────────────────────────────────────── */
.as-orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.as-order-card {
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.as-order-card:hover {
  border-color: var(--border-strong);
}

.as-order-card.as-order-delivered {
  border-color: var(--green-border);
}

.as-order-card.as-order-pending {
  border-color: rgba(245, 158, 11, 0.25);
}

.as-order-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.02);
}

.as-order-id {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-color);
  white-space: nowrap;
}

.as-order-plan {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}

.as-order-status {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.as-order-status.as-status-delivered,
.as-order-card.as-order-delivered .as-order-status {
  color: var(--green);
}

.as-order-card.as-order-pending .as-order-status {
  color: var(--yellow);
}

.as-order-date {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.as-order-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.as-order-pending-msg {
  font-size: 14px;
  color: var(--yellow);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.as-order-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* ── Marketplace buy confirmation message ─────────────────────────── */
.as-buy-confirmation {
  background: var(--green-bg);
  border: 1.5px solid var(--green-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 16px;
  color: var(--green);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: as-slide-in 0.3s ease;
}

.as-buy-confirmation-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.as-buy-confirmation-text h4 {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 15px;
}

.as-buy-confirmation-text p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ── Navbar top spacing fix for page content ──────────────────────── */
.as-page { padding-top: 16px; }

/* ── Improved dropdown styling ────────────────────────────────────── */
.as-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 38px !important;
}

/* ── Filter step spacing ──────────────────────────────────────────── */
.as-filter-step + .as-filter-step {
  margin-top: 4px;
}

/* ── Provider badge (5SIM / TigerSMS) ────────────────────────────── */
.as-provider-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-left: auto;
}

.as-provider-5sim {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.as-provider-tigersms {
  background: rgba(245, 158, 11, 0.12);
  color: var(--yellow);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ── Status colour overrides for order cards ──────────────────────── */
.as-status-delivered { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.as-status-pending   { background: var(--yellow-bg); color: var(--yellow); border: 1px solid rgba(245,158,11,.3); }

/* ── Mobile responsive additions ─────────────────────────────────── */
@media (max-width: 600px) {
  .as-order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .as-order-plan { font-size: 15px; }

  .as-order-footer {
    justify-content: flex-start;
  }

  .as-otp-search { font-size: 16px !important; } /* prevent iOS zoom */
}


/* ═══════════════════════════════════════════════════════
   GAMING HUB
═══════════════════════════════════════════════════════ */
.as-gaming-hero,.as-smm-hero{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;padding:28px 0 20px;border-bottom:1px solid var(--as-border,#1e2d3d);margin-bottom:24px}
.as-gaming-hero h1,.as-smm-hero h1{font-size:1.8rem;font-weight:800;margin:0 0 4px;color:var(--as-text-primary,#f1f5f9)}
.as-gaming-hero p,.as-smm-hero p{color:var(--as-text-muted,#94a3b8);margin:0}
.as-gaming-hero-balance{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.as-gaming-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px;align-items:center}
.as-gaming-filters .as-input,.as-gaming-filters .as-select{flex:1;min-width:140px;max-width:220px}
.as-gaming-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;margin-top:8px}
.as-gaming-card{background:var(--as-card-bg,#0d1f35);border:1px solid var(--as-border,#1e2d3d);border-radius:12px;overflow:hidden;cursor:pointer;transition:border-color .2s,transform .2s}
.as-gaming-card:hover{border-color:#3b82f6;transform:translateY(-2px)}
.as-gaming-card-img{height:100px;background:linear-gradient(135deg,#0a3060,#1a1040);display:flex;align-items:center;justify-content:center;font-size:2.5rem;position:relative}
.as-game-badge{position:absolute;top:8px;left:8px;background:#3b82f6;color:#fff;font-size:10px;font-weight:700;padding:3px 8px;border-radius:4px;letter-spacing:.05em}
.as-gaming-card-body{padding:16px}
.as-gaming-card-cat{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#64748b;margin-bottom:6px}
.as-gaming-card-title{font-size:1rem;font-weight:700;color:#f1f5f9;margin:0 0 6px;line-height:1.3}
.as-gaming-card-desc{font-size:.82rem;color:#94a3b8;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.as-gaming-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:12px}
.as-gaming-price{font-size:1.1rem;font-weight:800;color:#3b82f6}
.as-stock-low{display:block;font-size:.75rem;color:#f59e0b;margin-bottom:4px}
.as-loading-spinner{padding:40px;text-align:center;color:#64748b;font-size:.9rem}
.as-empty{padding:32px;text-align:center;color:#64748b;font-style:italic}

/* ═══════════════════════════════════════════════════════
   SMM PANEL
═══════════════════════════════════════════════════════ */
.as-smm-order-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:8px}
@media(max-width:680px){.as-smm-order-layout{grid-template-columns:1fr}}
.as-smm-service-picker{min-width:0}
.as-smm-platforms{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}
.as-smm-platform-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#0d1f35;border:1px solid #1e2d3d;border-radius:8px;color:#e2e8f0;cursor:pointer;font-size:.9rem;transition:all .2s}
.as-smm-platform-btn:hover,.as-smm-platform-btn.active{background:#0a3060;border-color:#3b82f6;color:#fff}
.as-smm-platform-icon{font-size:1.2rem}
.as-smm-service-list{max-height:400px;overflow-y:auto;display:flex;flex-direction:column;gap:8px;margin-top:10px}
.as-smm-service-item{padding:12px 14px;background:#0d1f35;border:1px solid #1e2d3d;border-radius:8px;cursor:pointer;transition:all .2s}
.as-smm-service-item:hover,.as-smm-service-item.active{border-color:#3b82f6;background:#0a3060}
.as-smm-svc-name{font-weight:600;color:#e2e8f0;font-size:.9rem;margin-bottom:4px}
.as-smm-svc-meta{display:flex;justify-content:space-between;align-items:center}
.as-smm-svc-type{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#64748b;background:#0a1929;padding:2px 7px;border-radius:3px}
.as-smm-svc-price{font-weight:700;color:#3b82f6;font-size:.85rem}
.as-smm-svc-desc{font-size:.78rem;color:#94a3b8;margin-top:4px}
.as-smm-order-form{background:#0d1f35;border:1px solid #1e2d3d;border-radius:12px;padding:24px}
.as-smm-order-form h3{margin:0 0 16px;font-size:1rem;color:#93c5fd}
.as-smm-selected-service{font-size:.9rem;color:#60a5fa;padding:8px 12px;background:#0a1929;border-radius:6px;margin-bottom:16px}
.as-smm-cost-preview{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#0a3060;border:1px solid #1e4d8c;border-radius:8px;margin:12px 0 16px;font-size:.9rem;color:#93c5fd}
.as-smm-cost-preview strong{color:#3b82f6;font-size:1.1rem}

/* ═══════════════════════════════════════════════════════
   CRYPTO PANEL
═══════════════════════════════════════════════════════ */
.as-crypto-panel{background:#0d1f35;border:1px solid #1e2d3d;border-radius:12px;padding:24px;margin-top:24px}
.as-crypto-desc{color:#94a3b8;font-size:.9rem;margin:0 0 20px}
.as-crypto-invoice{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.as-crypto-invoice-note{font-size:.85rem;color:#94a3b8;margin:0}
.as-badge{display:inline-block;font-size:.7rem;font-weight:700;padding:2px 8px;border-radius:10px;text-transform:uppercase;letter-spacing:.08em;vertical-align:middle;margin-left:8px}
.as-badge-new{background:#065f46;color:#6ee7b7;border:1px solid #059669}

/* ═══════════════════════════════════════════════════════
   SHARED: Modals, tables, status badges
═══════════════════════════════════════════════════════ */
.as-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:9998;display:flex;align-items:center;justify-content:center;padding:20px}
.as-modal{background:#0d1f35;border:1px solid #1e3a5f;border-radius:16px;padding:32px;max-width:520px;width:100%;position:relative;max-height:90vh;overflow-y:auto}
.as-modal-close{position:absolute;top:12px;right:12px;background:transparent;border:none;color:#94a3b8;font-size:1.1rem;cursor:pointer;padding:4px 8px;border-radius:4px}
.as-modal-close:hover{color:#f1f5f9;background:#1e2d3d}
.as-modal h2{margin:0 0 8px;font-size:1.25rem;color:#f1f5f9}
.as-modal-price{font-size:1.3rem;font-weight:800;color:#3b82f6;margin:12px 0}
.as-modal-sub{color:#94a3b8;font-size:.9rem;margin:0 0 20px}
.as-modal-note{color:#f59e0b;font-size:.82rem;margin-top:16px}
.as-modal-actions{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}
.as-delivery-details{background:#0a1929;border:1px solid #1e3a5f;border-radius:8px;padding:16px;margin:16px 0}
.as-delivery-raw{background:#0a1929;padding:12px;border-radius:6px;font-size:.8rem;color:#93c5fd;overflow-x:auto;white-space:pre-wrap;word-break:break-all}
.as-orders-table-wrap{overflow-x:auto;margin-top:8px}

.as-status-completed,.as-status-confirmed{background:#065f46;color:#6ee7b7;padding:2px 8px;border-radius:4px;font-size:.75rem;font-weight:600}
.as-status-processing{background:#1e3a5f;color:#93c5fd;padding:2px 8px;border-radius:4px;font-size:.75rem;font-weight:600}
.as-status-pending{background:#1c2a3a;color:#94a3b8;padding:2px 8px;border-radius:4px;font-size:.75rem;font-weight:600}
.as-status-failed,.as-status-cancelled,.as-status-canceled{background:#451a1a;color:#fca5a5;padding:2px 8px;border-radius:4px;font-size:.75rem;font-weight:600}
.as-status-partial{background:#422006;color:#fcd34d;padding:2px 8px;border-radius:4px;font-size:.75rem;font-weight:600}

/* Admin status badges */
.as-admin-status{padding:3px 8px;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:capitalize}
.as-admin-status-completed{background:#d1fae5;color:#065f46}
.as-admin-status-pending{background:#e2e8f0;color:#334155}
.as-admin-status-failed{background:#fee2e2;color:#991b1b}
.as-admin-status-processing{background:#dbeafe;color:#1e40af}

@media(max-width:640px){
  .as-gaming-grid{grid-template-columns:1fr}
  .as-gaming-filters .as-input,.as-gaming-filters .as-select{max-width:100%;min-width:100%}
  .as-modal{padding:20px;border-radius:10px}
}
