/* Dublogs bundle: sms.css v1.0.6 */
/* Dublogs Marketplace — blue & purple theme */
/* Dublogs brand lockup — animated globe + static wordmark with glimmer sweep */

.logo {
  position: relative;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.brand-mark {
  display: flex;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  animation: brand-mark-orbit 14s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.brand-mark-svg {
  display: block;
  width: 32px;
  height: 32px;
}

.brand-wordmark {
  display: inline-flex;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-wordmark-text {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.brand-wordmark-base {
  display: inline-block;
  color: #6366f1;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-sidebar-brand .brand-wordmark-base,
.admin-sidebar-brand .brand-wordmark-base {
  color: #c4b5fd;
  background: linear-gradient(135deg, #ddd6fe 0%, #a78bfa 45%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-wordmark-glimmer {
  position: absolute;
  top: -1px;
  left: 0;
  width: 42%;
  height: calc(100% + 2px);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 28%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0.12) 72%,
    transparent 100%
  );
  transform: skewX(-16deg) translateX(-130%);
  animation: brand-glimmer-sweep 4.2s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.app-sidebar-brand .brand-wordmark-glimmer,
.admin-sidebar-brand .brand-wordmark-glimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 28%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0.18) 72%,
    transparent 100%
  );
  mix-blend-mode: overlay;
}

@keyframes brand-mark-orbit {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    filter: drop-shadow(0 0 0 rgba(99, 102, 241, 0));
  }
  25% {
    transform: rotate(2.5deg) scale(1.04);
    filter: drop-shadow(0 3px 16px rgba(99, 102, 241, 0.32));
  }
  50% {
    transform: rotate(0deg) scale(1.02);
    filter: drop-shadow(0 1px 10px rgba(124, 58, 237, 0.22));
  }
  75% {
    transform: rotate(-2deg) scale(1.035);
    filter: drop-shadow(0 2px 14px rgba(59, 130, 246, 0.26));
  }
}

@keyframes brand-glimmer-sweep {
  0%, 16% {
    transform: skewX(-16deg) translateX(-130%);
    opacity: 0;
  }
  20% { opacity: 1; }
  46% {
    transform: skewX(-16deg) translateX(260%);
    opacity: 1;
  }
  50%, 100% {
    transform: skewX(-16deg) translateX(260%);
    opacity: 0;
  }
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand-wordmark-base {
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark {
    animation: none !important;
    filter: none;
  }
  .brand-wordmark-glimmer {
    animation: none !important;
    opacity: 0;
  }
}

/* Shared icon utilities */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
}
.icon img, .icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-white img, .icon-white svg { filter: brightness(0) invert(1); }
.icon-muted img, .icon-muted svg { opacity: 0.55; }

.lp-pill .icon-brand { width: 18px; height: 18px; }
.lp-pill .icon-brand img { width: 18px; height: 18px; object-fit: contain; }

.lp-field-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; opacity: 0.45; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.lp-field-icon img, .lp-field-icon svg { width: 18px; height: 18px; }

.lp-step-icon img, .lp-step-icon svg { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.lp-feature-icon img, .lp-feature-icon svg { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.lp-about-feat-icon { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #ede9fe; border-radius: 10px; }
.lp-about-feat-icon img, .lp-about-feat-icon svg { width: 20px; height: 20px; }
.lp-trust-pill .icon-inline { width: 14px; height: 14px; display: inline-flex; vertical-align: -2px; margin-right: 4px; }
.lp-trust-pill .icon-inline img, .lp-trust-pill .icon-inline svg { width: 14px; height: 14px; filter: brightness(0) invert(0.85); }
.lp-hero-kicker .icon-inline, .lp-engine-badge .icon-inline { width: 16px; height: 16px; display: inline-flex; vertical-align: -3px; margin-right: 4px; }
.lp-engine-badge .icon-inline img, .lp-engine-badge .icon-inline svg { filter: brightness(0) invert(1); opacity: 0.85; }
.lp-hero-kicker .icon-inline img { filter: brightness(0) invert(0.85); }
.lp-mockup-sms .received .icon-inline img { filter: none; }
.lp-mockup-sms .received { color: #4ade80; }
.lp-tag-pill .icon-inline { width: 14px; height: 14px; display: inline-flex; vertical-align: -2px; margin-right: 4px; }
.lp-check-icon svg, .lp-check-icon img { width: 12px; height: 12px; }
.lp-stars { display: flex; gap: 2px; margin-bottom: 12px; }
.lp-stars .icon-star { width: 14px; height: 14px; color: #fbbf24; }
.lp-stars .icon-star svg { fill: #fbbf24; stroke: none; }
.lp-mockup .received .icon-inline { width: 14px; height: 14px; display: inline-flex; vertical-align: -2px; margin-right: 4px; }

/* Stats bar (Talktiyu-style) */
.lp-stats-wrap {
  background: #0b0f1a;
  padding: 0 0 48px;
}
.lp-stats {
  display: flex; justify-content: center; gap: 0;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; max-width: 640px; margin: 0 auto; overflow: hidden;
}
.lp-stat {
  flex: 1; padding: 24px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.lp-stat:last-child { border-right: none; }
.lp-stat-num { font-size: 28px; font-weight: 800; color: #fff; }
.lp-stat-label { font-size: 13px; color: #64748b; margin-top: 4px; }

.lp-wave { line-height: 0; margin-top: -1px; background: #0b0f1a; overflow: hidden; }
.lp-wave svg { display: block; width: 100%; height: 60px; }
.lp-wave-line { filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.55)); opacity: 0.95; }

/* Service pills with brand logos */
.lp-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0;
}
.lp-pill.more { background: #ede9fe; color: var(--purple); border-color: #c4b5fd; font-weight: 600; }

/* Dublogs — shared motion & scroll reveals */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4); }
  50% { transform: scale(1.03); box-shadow: 0 12px 32px rgba(37, 99, 235, 0.55); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* Entrance utilities */
.anim-fade-up {
  animation: fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--anim-delay, 0s);
}

.anim-fade-in {
  animation: fadeIn 0.45s ease both;
  animation-delay: var(--anim-delay, 0s);
}

.anim-slide-left {
  animation: slideInLeft 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--anim-delay, 0s);
}

.anim-scale-in {
  animation: scaleIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--anim-delay, 0s);
}

.anim-stagger > * {
  animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.anim-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.anim-stagger > *:nth-child(2) { animation-delay: 0.12s; }
.anim-stagger > *:nth-child(3) { animation-delay: 0.19s; }
.anim-stagger > *:nth-child(4) { animation-delay: 0.26s; }
.anim-stagger > *:nth-child(5) { animation-delay: 0.33s; }
.anim-stagger > *:nth-child(6) { animation-delay: 0.4s; }

/* Scroll reveal */
/* Disable entrance animations in dashboards — they leave form sections at opacity:0 when the parent view was hidden during load */
.app-body .anim-fade-up,
.app-body .anim-fade-in,
.admin-console .anim-fade-up,
.admin-console .anim-fade-in,
.boost-page .anim-fade-up,
.accounts-page .anim-fade-up,
.sms-view.active .anim-fade-up {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover lift */
.hover-lift {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}
.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* Button press */
.btn, .app-action-card, .dash-fund-btn, .lp-signin-btn {
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.25s ease;
}
.btn:active, .dash-fund-btn:active {
  transform: scale(0.98);
}

/* Landing hero entrance */
.landing-page .lp-hero-left {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.landing-page .lp-hero-right {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}
.landing-page .lp-trust-pill {
  animation: scaleIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.landing-page .lp-trust-pill:nth-child(1) { animation-delay: 0.35s; }
.landing-page .lp-trust-pill:nth-child(2) { animation-delay: 0.45s; }
.landing-page .lp-trust-pill:nth-child(3) { animation-delay: 0.55s; }

.landing-page .lp-step,
.landing-page .lp-feature,
.landing-page .lp-testimonial {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.landing-page .lp-step:hover,
.landing-page .lp-feature:hover,
.landing-page .lp-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
}

.landing-page .lp-service-pill {
  transition: transform 0.2s ease, background 0.2s ease;
}
.landing-page .lp-service-pill:hover {
  transform: translateY(-2px) scale(1.02);
}

.landing-page .lp-cta {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Dublogs — mobile-first enhancements */
body.nav-open {
  overflow: hidden;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.container {
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

/* Prevent iOS zoom on input focus */
input, select, textarea, .btn {
  font-size: 16px;
}

@media (min-width: 769px) {
  input, select, textarea {
    font-size: 15px;
  }
}

/* Touch-friendly targets */
.btn, .nav a, .app-nav a, .app-topbar-btn, .app-menu-toggle,
.lp-join-btn, .lp-btn-white, .auth-modal-close, .mobile-nav-toggle {
  min-height: 44px;
  min-width: 44px;
}

/* Site header — mobile */
@media (max-width: 768px) {
  .header-inner {
    height: auto;
    min-height: 56px;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px 0;
  }

  /* Non-landing shop headers — hide inline nav; use compact actions only */
  body:not(.landing-page) .site-header .nav:not(.landing-nav-drawer) {
    display: none !important;
  }

  .site-header.landing-header .nav:not(.landing-nav-drawer) {
    display: none !important;
  }

  .logo {
    font-size: 16px;
  }

  .logo img, .logo svg {
    height: 28px;
  }
}

/* Landing — mobile nav drawer */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #374151;
  font-size: 22px;
  cursor: pointer;
  margin-left: auto;
}

.landing-header-inner {
  position: relative;
}

.landing-nav-drawer {
  display: none !important;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 88vw);
  z-index: 600;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 72px 20px 24px;
  background: #fff;
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.15);
  transform: translateX(100%);
  transition: transform 0.28s ease, visibility 0.28s ease;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
  margin-left: 0 !important;
  flex-wrap: nowrap !important;
}

.landing-nav-drawer.open {
  display: flex !important;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.landing-nav-drawer a {
  padding: 14px 12px !important;
  font-size: 16px !important;
  border-radius: 10px;
}

.landing-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 599;
  background: rgba(15, 23, 42, 0.45);
}

.landing-nav-overlay.open {
  display: block;
}

@media (max-width: 900px) {
  .mobile-nav-toggle {
    display: inline-flex;
  }

  .landing-header-inner .landing-nav-center {
    display: none !important;
  }

  .landing-header-inner > .nav:last-child {
    display: none;
  }

  .landing-header-inner .nav-mobile-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
    align-items: center;
  }
}

@media (min-width: 901px) {
  .landing-nav-drawer,
  .landing-nav-overlay,
  .nav-mobile-actions {
    display: none !important;
  }
}

/* Landing hero — mobile */
@media (max-width: 640px) {
  .lp-hero-split {
    padding: 16px 0 32px;
  }

  .lp-hero-grid {
    border-radius: 18px;
    min-height: auto;
  }

  .lp-hero-left {
    padding: 28px 20px;
  }

  .lp-hero-left h1 {
    font-size: clamp(1.65rem, 7vw, 2.25rem) !important;
    line-height: 1.15;
  }

  .lp-hero-right {
    padding: 24px 18px !important;
  }

  .lp-hero-desc {
    font-size: 14px;
  }

  .lp-trust-row {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .lp-section {
    padding: 48px 0 !important;
  }

  .lp-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .lp-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Auth pages & modal */
@media (max-width: 480px) {
  .auth-page-main {
    padding: 20px 12px;
    align-items: flex-start;
    padding-top: 24px;
  }

  .auth-modal-panel {
    padding: 22px 18px 20px;
    border-radius: 14px;
  }

  .auth-modal-overlay {
    padding: 12px;
    align-items: flex-end;
  }

  .auth-modal-panel {
    max-height: 92vh;
    margin-bottom: env(safe-area-inset-bottom);
  }
}

/* Tables & forms */
.table-wrap {
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
  padding: 0 4px;
}

.form-narrow {
  width: 100%;
}

.page {
  padding: 20px 0 40px;
}

/* App shell — small phones (wallet card layout; topbar handled in app.css) */
@media (max-width: 480px) {
  .dash-balance-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .dash-fund-btn {
    width: 100%;
    justify-content: center;
  }

  .app-fab-support {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: 16px;
    padding: 12px 16px;
    font-size: 13px;
  }

  .wallet-fund-row {
    flex-direction: column;
  }

  .wallet-fund-submit {
    width: 100%;
  }

  .wallet-quick-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* SMS / boost grids */
@media (max-width: 900px) {
  .acc-product-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .sms-grid,
  .boost-grid,
  .acc-catalog-grid,
  .acc-product-grid {
    grid-template-columns: 1fr !important;
  }

  .sms-otp-btn {
    width: 44px;
    height: 44px;
  }

  .sms-service-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.sms-service-tabs::-webkit-scrollbar { display: none; }
}

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

:root {
  --purple: #7c3aed;
  --blue: #2563eb;
  --accent: #6366f1;
  --gradient: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  --bg: #f4f3ff;
  --surface: #ffffff;
  --border: #ddd6fe;
  --text: #1e1b4b;
  --muted: #6b7280;
  --success: #059669;
  --danger: #dc2626;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(99, 102, 241, 0.12);
  --max: 1140px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; color: var(--text);
  text-decoration: none; white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo img, .logo svg { height: 32px; width: auto; max-width: none; flex-shrink: 0; }
.logo-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a {
  padding: 6px 12px; color: var(--muted); font-size: 14px;
  border-radius: var(--radius); text-decoration: none;
}
.nav a:hover, .nav a.active { color: var(--purple); background: #ede9fe; text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; text-decoration: none;
  background: var(--gradient); color: #fff;
}
.btn:hover { filter: brightness(1.05); text-decoration: none; color: #fff; box-shadow: var(--shadow); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-outline { background: var(--surface); color: var(--purple); border-color: var(--border); }
.btn-outline:hover { background: #ede9fe; color: var(--purple); }
.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn-danger { background: linear-gradient(135deg, #ef4444, #dc2626); }
.btn-block { width: 100%; justify-content: center; }

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0; color: var(--muted); font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.btn-google {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 10px 16px; border-radius: var(--radius);
  background: #fff; color: #1f2937; border: 1px solid #d1d5db;
  font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
  font-family: inherit;
}
.btn-google:hover { background: #f9fafb; border-color: #9ca3af; text-decoration: none; color: #1f2937; }
.btn-google img { width: 18px; height: 18px; }
.btn-google.hidden { display: none; }

.badge {
  background: var(--purple); color: #fff;
  font-size: 11px; padding: 1px 6px; border-radius: 10px; margin-left: 4px;
}

.hero {
  background: var(--gradient);
  color: #fff;
  padding: 56px 0;
}
.hero h1 { font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.hero p { opacity: .92; max-width: 540px; font-size: 16px; }
.hero-actions { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero .btn-outline { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,.25); color: #fff; }
.hero .btn { background: #fff; color: var(--purple); }
.hero .btn:hover { color: var(--blue); }

.page { padding: 32px 0 48px; }
.page-title { font-size: 22px; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
@media (max-width: 768px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.card-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--purple); }

.product-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s;
}
.product-card:hover { border-color: var(--purple); box-shadow: 0 4px 16px rgba(124, 58, 237, 0.15); }
.product-card img { aspect-ratio: 4/3; object-fit: cover; background: #ede9fe; }
.product-card-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--blue); font-weight: 600; }
.product-name { font-weight: 600; font-size: 14px; }
.product-desc { font-size: 13px; color: var(--muted); flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.price { font-weight: 700; font-size: 16px; color: var(--purple); }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 8px 10px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font: inherit; background: var(--surface);
}
.form-group input:focus, .form-group select:focus {
  outline: 2px solid var(--purple); outline-offset: 0;
}
.form-narrow { max-width: 420px; width: 100%; }

/* Centered auth / create-account modal */
.auth-page {
  min-height: 100vh;
  background: var(--bg);
}
.auth-page .site-header { flex-shrink: 0; }
.auth-page-main {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
.auth-modal-card {
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 48px rgba(30, 27, 75, 0.14);
}

.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}
.auth-modal-overlay.hidden { display: none; }
body.modal-open { overflow: hidden; }

.auth-modal-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(30, 27, 75, 0.22);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #f4f3ff;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.auth-modal-close:hover { background: #ede9fe; color: var(--purple); }
.auth-modal-panel .page-title { margin-bottom: 16px; text-align: center; }
.auth-modal-sub { text-align: center; font-size: 14px; color: var(--muted); margin: -8px 0 18px; }

/* Standalone auth pages + register modal (matches hero sign-in panel) */
.auth-standalone-card,
.auth-modal-panel.auth-form-panel {
  width: 100%;
  max-width: 420px;
  background: #f4f3ff;
  border: 1px solid #ddd6fe;
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 24px 48px rgba(30, 27, 75, 0.14);
}
.auth-modal-panel.auth-form-panel {
  max-width: 440px;
  padding: 36px 32px 28px;
}
.auth-standalone-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  text-align: center;
}
.auth-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 8px;
  text-align: center;
}
.auth-text-btn {
  margin-top: 10px;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
}
.reset-link-sent {
  text-align: center;
  margin-bottom: 8px;
}
.reset-link-sent-lead {
  font-size: 16px;
  color: #0f172a;
  margin: 0 0 12px;
}
.reset-link-sent-body {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 10px;
}
.reset-link-sent-note {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 20px;
}
.auth-standalone-card .lp-signin-sub,
.auth-modal-panel.auth-form-panel .lp-signin-sub {
  text-align: center;
}
.auth-standalone-card .lp-signin-pills,
.auth-modal-panel.auth-form-panel .lp-signin-pills {
  justify-content: center;
}
.auth-page.landing-page { background: var(--bg); }
.auth-page.landing-page .landing-header { background: #fff; }

.form-icon-field { position: relative; }
.form-icon-field .field-icon {
  position: absolute; left: 12px; bottom: 10px;
  width: 18px; height: 18px; opacity: 0.45; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.form-icon-field .field-icon img { width: 18px; height: 18px; }
.form-icon-field input { padding-left: 40px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; padding: 8px 12px; background: #ede9fe; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--purple); border-bottom: 1px solid var(--border); }
td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: none; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.stat-value {
  font-size: 24px; font-weight: 700; margin-top: 4px;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; flex-wrap: wrap; }
.tab {
  padding: 8px 14px; font-size: 14px; cursor: pointer;
  border: none; background: none; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab.active { color: var(--purple); border-bottom-color: var(--purple); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.alert { padding: 10px 14px; border-radius: var(--radius); font-size: 14px; margin-bottom: 16px; }
.alert-error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.alert-success { background: #ecfdf5; color: var(--success); border: 1px solid #a7f3d0; }
.alert-info { background: #ede9fe; color: var(--purple); border: 1px solid #c4b5fd; }

.site-footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 24px 0; margin-top: 48px; font-size: 13px; color: var(--muted);
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand img { height: 22px; }

.cart-overlay { position: fixed; inset: 0; background: rgba(30, 27, 75, .45); z-index: 200; display: none; }
.cart-drawer {
  position: fixed; top: 0; right: -400px; width: 360px; max-width: 92vw;
  height: 100%; background: var(--surface); z-index: 201;
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; transition: right .2s ease;
}
.cart-drawer.open { right: 0; }
.cart-overlay.open { display: block; }
.cart-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-footer { padding: 16px 20px; border-top: 1px solid var(--border); }
.cart-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.cart-item img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius); }

.tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 10px; background: #ede9fe; color: var(--purple); border: 1px solid var(--border); }
.tag-green { background: #ecfdf5; color: var(--success); border-color: #a7f3d0; }
.tag-yellow { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.tag-red { background: #fef2f2; color: var(--danger); border-color: #fecaca; }

.empty { text-align: center; padding: 40px; color: var(--muted); }
.bar-chart { display: flex; align-items: flex-end; gap: 4px; height: 100px; }
.bar { flex: 1; background: var(--gradient); border-radius: 2px 2px 0 0; min-height: 2px; opacity: .85; }

.hidden { display: none !important; }
.text-muted { color: var(--muted); }
.text-sm { font-size: 13px; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mb-2 { margin-bottom: 16px; }
.flex { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* Dublogs app shell — dark sidebar dashboard layout */

body.app-body {
  background: #0f1117;
  color: #e2e8f0;
  min-height: 100vh;
  overflow-x: hidden;
}

.app-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.app-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #13161f;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 300;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  animation: slideInLeft 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.app-sidebar-brand {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.app-sidebar-brand .logo {
  color: #fff;
}
.app-sidebar-brand .logo-text {
  background: none;
  -webkit-text-fill-color: unset;
  color: inherit;
}

.app-nav {
  flex: 1;
  padding: 12px 10px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.app-nav::-webkit-scrollbar {
  display: none;
}

.app-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 2px;
  position: relative;
  transition: background 0.22s ease, color 0.22s ease, transform 0.2s ease;
}
.app-nav a:hover {
  background: rgba(124, 58, 237, 0.12);
  color: #e2e8f0;
  text-decoration: none;
  transform: translateX(2px);
}
.app-nav a.active {
  background: rgba(124, 58, 237, 0.18);
  color: #fff;
  border: 1px solid rgba(124, 58, 237, 0.35);
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.1);
}
.app-nav a.active::after {
  content: '';
  position: absolute;
  right: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.8);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}
.app-nav a img, .app-nav a svg {
  width: 20px;
  height: 20px;
  opacity: 0.85;
  flex-shrink: 0;
  filter: brightness(0) invert(0.75);
}
.app-nav a.active img {
  filter: brightness(0) invert(1);
}

.app-sidebar-user {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}
.app-sidebar-user:hover {
  background: rgba(124, 58, 237, 0.08);
  text-decoration: none;
}
.app-sidebar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.app-sidebar-user-info {
  min-width: 0;
}
.app-sidebar-user-info .name {
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-sidebar-user-info .email {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Main area */
.app-main {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background: #0f1117;
}

.app-topbar {
  height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(19, 22, 31, 0.6);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  animation: fadeIn 0.4s ease both;
  animation-delay: 0.1s;
}

.app-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  min-width: 0;
}

.app-menu-toggle {
  display: none;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  margin-right: auto;
  background: #1a1d27;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

.app-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(37, 99, 235, 0.35));
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: #e9d5ff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
  flex-shrink: 1;
}
.app-wallet-pill-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-wallet-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
  color: #fff;
  text-decoration: none;
}
.app-wallet-pill img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(72%) sepia(32%) saturate(1200%) hue-rotate(218deg);
}

.app-topbar-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1a1d27;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.app-topbar-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}
.app-topbar-btn:active {
  transform: scale(0.96);
}
.app-topbar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.app-topbar-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.app-topbar-btn img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(0.7);
}
.app-topbar-btn--notify:hover {
  color: #c4b5fd;
  border-color: rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.12);
}
.app-topbar-btn--logout:hover {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.1);
}
.app-topbar-notify-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 6px rgba(167, 139, 250, 0.8);
  border: 2px solid #1a1d27;
  pointer-events: none;
}
.app-topbar-notify-dot.hidden { display: none; }

.app-content {
  flex: 1;
  padding: 28px;
  max-width: 1200px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Dashboard components */
.app-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 24px;
  font-size: 14px;
  color: #6ee7b7;
  line-height: 1.5;
}
.app-banner-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #6ee7b7;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  opacity: 0.7;
}
.app-banner-close:hover { opacity: 1; }

.app-greeting {
  margin-bottom: 28px;
}
.app-greeting h1 {
  font-size: 28px;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.02em;
}
.app-greeting h1 .accent {
  background: linear-gradient(135deg, #a78bfa, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.app-greeting p {
  color: #64748b;
  font-size: 15px;
  margin-top: 6px;
}

.app-onboard {
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 28px;
}
.app-onboard h2 {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 24px;
}
.app-onboard-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .app-onboard-steps { grid-template-columns: 1fr; }
}
.app-onboard-step {
  text-align: center;
  padding: 0 12px;
}
.app-onboard-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.app-onboard-icon img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}
.app-onboard-icon.green { background: linear-gradient(135deg, #059669, #10b981); }
.app-onboard-icon.purple { background: linear-gradient(135deg, #7c3aed, #6366f1); }
.app-onboard-icon.blue { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.app-onboard-step h3 {
  font-size: 15px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 8px;
}
.app-onboard-step p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
}
.app-onboard-dismiss {
  margin-top: 20px;
  font-size: 13px;
  color: #64748b;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.app-onboard-dismiss:hover { color: #a78bfa; }

.app-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .app-stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .app-stats-row { grid-template-columns: 1fr; }
}

/* Balance hero banner */
.dash-balance-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 36px;
  border-radius: 20px;
  margin-bottom: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 45%, #2563eb 100%);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.35);
}
.dash-balance-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  pointer-events: none;
}
.dash-balance-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.dash-balance-amount {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.dash-fund-btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(4px);
}
.dash-fund-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Mini stat cards */
.dash-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .dash-mini-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .dash-mini-stats { grid-template-columns: 1fr; }
}
.dash-mini-stat {
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.dash-mini-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-mini-stat-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.dash-mini-stat-icon.purple { background: rgba(124, 58, 237, 0.25); }
.dash-mini-stat-icon.blue { background: rgba(37, 99, 235, 0.25); }
.dash-mini-stat-icon.teal { background: rgba(16, 185, 129, 0.2); }
.dash-mini-stat-icon.amber { background: rgba(245, 158, 11, 0.2); }
.dash-mini-stat-label {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 2px;
}
.dash-mini-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
}

/* Quick action cards */
.dash-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .dash-actions { grid-template-columns: 1fr; }
}
.app-action-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.app-action-card:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.app-action-card.purple { background: rgba(124, 58, 237, 0.12); border-color: rgba(124, 58, 237, 0.25); }
.app-action-card.blue { background: rgba(37, 99, 235, 0.12); border-color: rgba(37, 99, 235, 0.25); }
.app-action-card.teal { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.22); }
.app-action-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-action-card.purple .app-action-icon { background: rgba(124, 58, 237, 0.3); }
.app-action-card.blue .app-action-icon { background: rgba(37, 99, 235, 0.3); }
.app-action-card.teal .app-action-icon { background: rgba(16, 185, 129, 0.25); }
.app-action-icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}
.app-action-body { flex: 1; min-width: 0; }
.app-action-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 4px;
}
.app-action-body p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}
.app-action-arrow {
  color: #64748b;
  font-size: 20px;
  transition: transform 0.2s ease, color 0.2s ease;
}
.app-action-card:hover .app-action-arrow {
  transform: translateX(4px);
  color: #a78bfa;
}

/* Recent activity */
.dash-recent {
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
}
.dash-recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.dash-recent-head h2 {
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
}
.dash-recent-head a {
  font-size: 13px;
  color: #a78bfa;
  text-decoration: none;
}
.dash-recent-head a:hover { text-decoration: underline; }
.dash-activity-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  animation: fadeUp 0.4s ease both;
}
.dash-activity-item:last-child { border-bottom: none; padding-bottom: 0; }
.dash-activity-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-activity-icon.credit {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}
.dash-activity-icon.debit {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
}
.dash-activity-icon img {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(68%) sepia(52%) saturate(500%) hue-rotate(115deg);
}
.dash-activity-icon.debit img {
  filter: brightness(0) saturate(100%) invert(55%) sepia(80%) saturate(600%) hue-rotate(320deg);
}
.dash-activity-body { flex: 1; min-width: 0; }
.dash-activity-body .title {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
}
.dash-activity-body .meta {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}
.dash-activity-amount {
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}
.dash-activity-amount.positive { color: #34d399; }
.dash-activity-amount.negative { color: #f87171; }

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.app-stat-card {
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
}
.app-stat-card .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 8px;
}
.app-stat-card .value {
  font-size: 26px;
  font-weight: 700;
  color: #f1f5f9;
}
.app-stat-card .value.grad {
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Dark-themed cards inside app */
.app-body .card {
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: #e2e8f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.app-body .card.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  border-color: rgba(124, 58, 237, 0.25);
}
.app-body .card-title {
  color: #c4b5fd;
}
.app-body .form-group label { color: #94a3b8; }
.app-body .form-group input,
.app-body .form-group select,
.app-body .form-group textarea {
  background: #1a1e28;
  border-color: rgba(148, 163, 184, 0.32);
  color: #f1f5f9;
}
.app-body .text-muted { color: #64748b; }
.app-body .page-title { color: #f1f5f9; }
.app-body th {
  background: rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
  border-color: rgba(255, 255, 255, 0.06);
}
.app-body td { border-color: rgba(255, 255, 255, 0.06); }

/* Admin tab navigation — pill buttons, clearly interactive */
.app-body .tabs {
  gap: 8px;
  border-bottom: none;
  margin-bottom: 24px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.app-body .tab {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  border-bottom: none;
  margin-bottom: 0;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.app-body .tab:hover {
  color: #f8fafc;
  background: rgba(124, 58, 237, 0.14);
  border-color: rgba(124, 58, 237, 0.35);
  cursor: pointer;
}
.app-body .tab.active {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  border-color: rgba(167, 139, 250, 0.5);
  border-bottom: none;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
  font-weight: 600;
}

.app-body .btn {
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.35);
}
.app-body .btn:hover:not(:disabled) {
  filter: brightness(1.08);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.45);
}
.app-body .btn-sm {
  padding: 6px 14px;
  font-weight: 600;
}
.app-body .btn-outline {
  background: rgba(124, 58, 237, 0.1);
  color: #e9d5ff;
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: none;
}
.app-body .btn-outline:hover:not(:disabled) {
  background: rgba(124, 58, 237, 0.22);
  color: #fff;
  border-color: rgba(167, 139, 250, 0.7);
}
.app-body .btn-danger {
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.35);
}
.app-body .btn-danger:hover:not(:disabled) {
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.45);
}
.app-body .btn:disabled,
.app-body .tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.app-body .empty { color: #64748b; }
.app-body .tag {
  background: rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
  border-color: rgba(124, 58, 237, 0.3);
}
.app-body .tag-green {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.35);
}
.app-body .tag-yellow {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.35);
}
.app-body .tag-red {
  background: rgba(220, 38, 38, 0.18);
  color: #fca5a5;
  border-color: rgba(220, 38, 38, 0.35);
}
.app-body .alert-error { background: rgba(220, 38, 38, 0.12); border-color: rgba(220, 38, 38, 0.3); color: #fca5a5; }
.app-body .alert-success { background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.3); color: #6ee7b7; }
.app-body .alert-info { background: rgba(124, 58, 237, 0.12); border-color: rgba(124, 58, 237, 0.3); color: #c4b5fd; }

.app-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
}

.app-fab-support {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 250;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  animation: pulseSoft 3s ease-in-out infinite;
}
.app-fab-support:hover {
  filter: brightness(1.08);
  color: #fff;
  text-decoration: none;
  animation: none;
  transform: scale(1.04);
}
.app-fab-support img { width: 20px; height: 20px; }

.app-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 299;
}

@media (max-width: 900px) {
  .app-sidebar {
    transform: translateX(-100%);
    animation: none;
    visibility: hidden;
    pointer-events: none;
  }
  .app-sidebar.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .app-sidebar-overlay.open { display: block; }
  .app-main { margin-left: 0; }
  .app-menu-toggle { display: inline-flex; }
  .app-content { padding: 20px 16px; }

  .app-topbar {
    height: 56px;
    padding: 0 12px;
    gap: 8px;
    padding-top: max(0px, env(safe-area-inset-top));
  }

  .app-topbar-actions {
    gap: 6px;
    flex: 1;
    justify-content: flex-end;
  }

  .app-menu-toggle,
  .app-topbar-btn,
  .app-control-center-link {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
    justify-content: center;
  }

  .app-control-center-label {
    display: none;
  }

  .app-control-center-icon {
    font-size: 18px;
  }

  .app-wallet-pill {
    height: 40px;
    padding: 0 10px;
    gap: 5px;
    font-size: 13px;
    max-width: 96px;
  }

  .app-wallet-pill img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
}

@media (max-width: 380px) {
  .app-wallet-pill img {
    display: none;
  }

  .app-wallet-pill {
    max-width: 72px;
    padding: 0 8px;
    justify-content: center;
  }
}

body.app-body.sidebar-open {
  overflow: hidden;
}

.app-view { display: none; }
.app-view.active {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ─── Profile page ────────────────────────────────────────────────────── */
.profile-view {
  max-width: 920px;
}

.profile-hero {
  position: relative;
  margin-bottom: 24px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(37, 99, 235, 0.12));
  border: 1px solid rgba(124, 58, 237, 0.28);
}
.profile-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(167, 139, 250, 0.22), transparent 55%);
  pointer-events: none;
}
.profile-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 26px;
}
.profile-avatar-lg {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.12);
}
.profile-hero-text {
  min-width: 0;
  flex: 1;
}
.profile-hero-name {
  font-size: 26px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 6px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.profile-hero-email {
  font-size: 14px;
  color: #cbd5e1;
  margin: 0 0 14px;
  word-break: break-word;
}
.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-role-badge,
.profile-auth-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.profile-role-badge {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.25);
}
.profile-role-badge--admin {
  background: rgba(124, 58, 237, 0.22);
  color: #e9d5ff;
  border-color: rgba(167, 139, 250, 0.4);
}
.profile-auth-badge {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.profile-auth-badge--google {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.25);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.profile-stat-card {
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.profile-stat-card--accent {
  border-color: rgba(124, 58, 237, 0.35);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.1), #181b26 60%);
}
.profile-stat-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  filter: brightness(0) invert(0.75);
  margin-bottom: 2px;
}
.profile-stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #64748b;
}
.profile-stat-value {
  font-size: 18px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.2;
}
.profile-stat-id {
  font-size: 22px;
  font-weight: 800;
  color: #e9d5ff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.profile-stat-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.profile-copy-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.12);
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.profile-copy-btn:hover {
  background: rgba(124, 58, 237, 0.22);
  border-color: rgba(167, 139, 250, 0.5);
}
.profile-stat-link {
  font-size: 12px;
  font-weight: 600;
  color: #93c5fd;
  text-decoration: none;
  margin-top: 2px;
}
.profile-stat-link:hover { text-decoration: underline; }

.profile-section {
  margin-bottom: 28px;
}
.profile-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 14px;
}
.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.profile-info-item {
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  min-width: 0;
}
.profile-info-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 6px;
}
.profile-info-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  word-break: break-word;
  line-height: 1.45;
}

.profile-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.profile-link-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  text-decoration: none;
  transform: translateY(-1px);
}
.profile-link-card.hidden { display: none; }
.profile-link-card div {
  flex: 1;
  min-width: 0;
}
.profile-link-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 2px;
}
.profile-link-card span {
  display: block;
  font-size: 12px;
  color: #64748b;
}
.profile-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.profile-link-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.profile-link-icon.purple { background: rgba(124, 58, 237, 0.2); }
.profile-link-icon.blue { background: rgba(59, 130, 246, 0.2); }
.profile-link-icon.teal { background: rgba(16, 185, 129, 0.18); }
.profile-link-icon.amber { background: rgba(245, 158, 11, 0.18); }
.profile-link-arrow {
  font-size: 22px;
  color: #64748b;
  line-height: 1;
}

@media (max-width: 768px) {
  .profile-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 18px;
  }
  .profile-stats {
    grid-template-columns: 1fr;
  }
  .profile-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .profile-avatar-lg {
    width: 72px;
    height: 72px;
    font-size: 24px;
  }
  .profile-hero-name { font-size: 22px; }
  .profile-stat-id { font-size: 18px; }
}

/* ─── Wallet page ─────────────────────────────────────────────────────── */
.wallet-page-title {
  font-size: 28px;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.wallet-balance-banner {
  margin-bottom: 28px;
}
.wallet-balance-banner .dash-balance-hero {
  justify-content: flex-start;
}

.wallet-fund-section {
  margin-bottom: 36px;
}

.wallet-fund-note {
  margin: 0 0 12px;
  line-height: 1.45;
}

.wallet-quick-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.wallet-quick-btn {
  padding: 10px 20px;
  border-radius: 999px;
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.wallet-quick-btn:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-1px);
}
.wallet-quick-btn.active {
  background: rgba(124, 58, 237, 0.25);
  border-color: #7c3aed;
  color: #e9d5ff;
}

.wallet-fund-row {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #181b26;
}
.wallet-fund-row input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  background: #1a1e28;
  color: #f1f5f9;
  font-size: 15px;
  outline: none;
}
.wallet-fund-row input::placeholder { color: #64748b; }
.wallet-fund-submit {
  padding: 16px 28px;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s ease;
  flex-shrink: 0;
}
.wallet-fund-submit:hover { filter: brightness(1.08); }
.wallet-fund-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.wallet-pay-methods {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.wallet-pay-method {
  flex: 1;
  border: 1px solid var(--border, #e2e8f0);
  background: #fff;
  color: var(--ink, #0f172a);
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.wallet-pay-method.active {
  border-color: var(--primary, #7c3aed);
  background: rgba(124, 58, 237, 0.08);
  color: var(--primary, #7c3aed);
}
.wallet-va-panel { margin-top: 0.75rem; }
.wallet-va-card {
  border: 1px solid #dbeafe;
  background: #f8fbff;
  padding: 1rem;
}
.wallet-va-title { font-weight: 700; margin-bottom: 0.75rem; }
.wallet-va-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.925rem;
}
.wallet-va-row span { color: #64748b; }
.wallet-va-copy { cursor: pointer; }
.wallet-va-copy small { color: var(--primary, #7c3aed); margin-left: 0.35rem; }

.wallet-promo label {
  display: block;
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 10px;
}
.wallet-promo-row {
  display: flex;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #181b26;
  max-width: 480px;
}
.wallet-promo-row input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  background: #1a1e28;
  color: #f1f5f9;
  font-size: 14px;
  outline: none;
}
.wallet-promo-row input::placeholder { color: #64748b; }
.wallet-promo-apply {
  padding: 14px 22px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: #c4b5fd;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.wallet-promo-apply:hover { background: rgba(124, 58, 237, 0.2); }

.wallet-history-title {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
}

.wallet-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #181b26;
}
.wallet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.wallet-table thead th {
  text-align: left;
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.wallet-table tbody td {
  padding: 16px 20px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.wallet-table tbody tr:last-child td { border-bottom: none; }
.wallet-table tbody tr {
  transition: background 0.15s ease;
}
.wallet-table tbody tr:hover {
  background: rgba(124, 58, 237, 0.06);
}
.wallet-tx-amount.positive { color: #34d399; font-weight: 600; }
.wallet-tx-amount.negative { color: #f87171; font-weight: 600; }

.wallet-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}
.wallet-status.success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.wallet-status.pending {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.wallet-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
}
.wallet-page-btn {
  padding: 8px 18px;
  border-radius: 10px;
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.wallet-page-btn:hover:not(:disabled) {
  background: rgba(124, 58, 237, 0.15);
  color: #e2e8f0;
}
.wallet-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.wallet-page-info {
  font-size: 13px;
  color: #64748b;
}

@media (max-width: 600px) {
  .wallet-fund-row { flex-direction: column; }
  .wallet-fund-submit { width: 100%; border-radius: 0; }
  .wallet-promo-row { max-width: 100%; flex-direction: column; }
  .wallet-promo-apply { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.08); }
}

.bank-verify-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}
.bank-preview {
  font-size: 13px;
  color: var(--success);
  padding: 8px 12px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.app-body .bank-preview { color: #6ee7b7; }

.app-control-center-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #c4b5fd !important;
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(124, 58, 237, 0.32);
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.app-control-center-icon {
  font-size: 16px;
  line-height: 1;
}
.app-control-center-label {
  line-height: 1.2;
}
.app-control-center-link:hover {
  background: rgba(124, 58, 237, 0.24);
  color: #e9d5ff !important;
}

/* Live order status */
.order-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
}
.order-status--live { background: rgba(59, 130, 246, 0.16); color: #93c5fd; }
.order-status--done { background: rgba(16, 185, 129, 0.16); color: #6ee7b7; }
.order-status--bad { background: rgba(239, 68, 68, 0.16); color: #fca5a5; }
.order-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: orderPulse 1.6s infinite;
}
@keyframes orderPulse {
  0% { box-shadow: 0 0 0 0 rgba(147, 197, 253, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(147, 197, 253, 0); }
  100% { box-shadow: 0 0 0 0 rgba(147, 197, 253, 0); }
}
.order-progress {
  margin-top: 10px;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
}
.order-progress > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 0.4s ease;
}
.order-progress-label {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  color: #94a3b8;
}

.order-card-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
.order-view-btn {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
}

.order-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.order-detail-modal.hidden { display: none; }
.order-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 18, 0.72);
  backdrop-filter: blur(4px);
}
.order-detail-card {
  position: relative;
  width: min(100%, 480px);
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  animation: modalIn 0.22s ease;
}
.order-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 0;
}
.order-detail-head h3 {
  margin: 0;
  font-size: 18px;
  color: #f1f5f9;
}
.order-detail-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.order-detail-body {
  padding: 16px 18px;
  overflow: auto;
}
.order-detail-foot {
  padding: 0 18px 18px;
  display: flex;
  justify-content: flex-end;
}
.order-detail-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.order-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.order-detail-row span:first-child { color: #94a3b8; }
.order-detail-items {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.order-detail-items li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  color: #e2e8f0;
}
.order-detail-items li:last-child { border-bottom: none; }
.order-detail-section-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.order-detail-credentials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-detail-cred-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.order-detail-cred-row code {
  flex: 1;
  font-size: 12px;
  word-break: break-all;
  color: #e2e8f0;
}
.order-detail-cred-row button {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #cbd5e1;
  font-size: 12px;
  cursor: pointer;
}

/* Order completion modal */
.order-complete-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.order-complete-modal.hidden { display: none; }
.order-complete-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}
.order-complete-card {
  position: relative;
  width: min(420px, 100%);
  background: linear-gradient(180deg, #1e2230 0%, #181b26 100%);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 20px;
  padding: 28px 24px 24px;
  text-align: center;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  animation: modalIn 0.25s ease;
}
.order-complete-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.order-complete-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
}
.order-complete-order {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: #c4b5fd;
}
.order-complete-amount {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: #f1f5f9;
}
.order-complete-message {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.5;
  color: #94a3b8;
}
.order-complete-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.order-complete-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter 0.15s ease, background 0.15s ease;
}
.order-complete-btn-primary {
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #fff;
  border-color: rgba(124, 58, 237, 0.5);
}
.order-complete-btn-primary:hover { filter: brightness(1.08); }
.order-complete-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.1);
}
.order-complete-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
}

/* Platform zones — visibility helper only; styles live in accounts.css / boost.css */
.social-platform-zone.hidden { display: none !important; }

/* Dublogs — high-contrast form fields & setup panels (user + admin) */

.app-body .form-panel,
.app-body .form-panel *,
.admin-console .form-panel,
.admin-console .form-panel *,
.app-body form:not(.hidden),
.admin-console form:not(.hidden),
.boost-order-panel:not(.hidden),
.boost-order-panel:not(.hidden) *,
.acc-purchase-panel:not(.hidden),
.acc-purchase-panel:not(.hidden) * {
  opacity: 1 !important;
  visibility: visible !important;
}

.form-panel,
.setup-panel {
  background: #181b26;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.form-panel-title,
.setup-panel-title {
  font-size: 15px;
  font-weight: 600;
  color: #c4b5fd;
  margin-bottom: 14px;
}

.form-panel-desc,
.setup-panel-desc {
  font-size: 13px;
  color: #94a3b8;
  margin: -6px 0 16px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #94a3b8;
}

.form-group input,
.form-group select,
.form-group textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 10px;
  font: inherit;
  line-height: 1.4;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  background: #1a1e28;
  color: #f1f5f9;
}

.form-group textarea {
  min-height: 88px;
  resize: vertical;
}

.form-group 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='%23c4b5fd' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
  opacity: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #7c3aed;
  background: #1e2230;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.22);
}

/* Ensure interactive blocks are never collapsed */
.app-view.active,
.admin-tab-panel.active {
  visibility: visible !important;
}

.app-view.active .form-panel,
.app-view.active .setup-panel,
.app-view.active form.card,
.app-view.active .wallet-bank-section,
.app-view.active .wallet-fund-section,
.admin-tab-panel.active .card,
.admin-tab-panel.active form,
.admin-tab-panel.active .grid-2,
.boost-order-panel:not(.hidden),
.acc-purchase-panel:not(.hidden) {
  opacity: 1 !important;
  visibility: visible !important;
}

.app-body .card,
.admin-console .card {
  padding: 20px 22px;
}

.app-body form.card,
.admin-console form.card {
  display: block;
}

.admin-console .btn,
.app-body .btn {
  min-height: 44px;
  cursor: pointer;
}

.bank-verify-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.bank-verify-row .btn {
  min-height: 40px;
}

.bank-preview {
  font-size: 13px;
  color: #6ee7b7;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.12);
  border-radius: 10px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  margin-top: 10px;
}

input[type="date"],
input[type="number"],
input[type="search"],
input[type="text"],
input[inputmode="numeric"] {
  color-scheme: dark;
}

input[type="date"] {
  color-scheme: dark;
}

/* Boost / SMS / Accounts custom fields */
.boost-select,
.boost-category-select,
.boost-search-wrap input,
.boost-order-field input,
.boost-order-field textarea,
.sms-country-select,
.acc-search-wrap input,
.acc-purchase-field input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(148, 163, 184, 0.4) !important;
  border-radius: 10px;
  background: #1a1e28 !important;
  color: #f1f5f9 !important;
  font: inherit;
  box-sizing: border-box;
}

.boost-order-field textarea {
  min-height: 88px;
  resize: vertical;
}

.boost-order-field label,
.acc-purchase-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
}

.sms-filter-block select,
.sms-filter-block input {
  min-height: 44px;
}

.otp-field-wrap {
  margin: 16px 0 20px;
}

.otp-code-input {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #1a1e28;
  color: #f8fafc;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.otp-code-input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.auth-modal-panel .otp-field-wrap {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .form-panel,
  .setup-panel {
    padding: 16px;
  }
}

/* SMS — Buy Number & Active Numbers */

.sms-view { display: none; }
.sms-view.active { display: block; }

.sms-page-head {
  margin-bottom: 28px;
}
.sms-page-head h1 {
  font-size: 28px;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.sms-page-head p {
  color: #64748b;
  font-size: 15px;
}
.sms-page-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.sms-active-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 600;
}

.sms-filter-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 12px;
}
.sms-filter-block { margin-bottom: 24px; }

.sms-country-select-wrap { position: relative; width: 100%; max-width: 560px; }
.sms-country-select {
  width: 100%;
  max-width: 560px;
  padding: 16px 44px 16px 18px;
  border-radius: 12px;
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 15px;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.sms-country-select:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
.sms-country-select option { background: #181b26; color: #e2e8f0; }
.sms-country-chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
  font-size: 12px;
}

.sms-results-panel {
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  min-height: 280px;
  padding: 32px 24px;
}
.sms-results-panel.has-content {
  border-color: rgba(124, 58, 237, 0.2);
  padding: 24px;
  min-height: auto;
}

.sms-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
  color: #64748b;
  animation: fadeIn 0.5s ease both;
}
.sms-empty-state img {
  width: 48px;
  height: 48px;
  opacity: 0.25;
  margin-bottom: 16px;
  filter: brightness(0) invert(0.6);
}
.sms-empty-state p {
  font-size: 14px;
  max-width: 360px;
  line-height: 1.55;
}

.sms-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.sms-results-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #94a3b8;
  flex-wrap: wrap;
}
.sms-show-all-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  cursor: pointer;
}
.sms-show-all-toggle input { accent-color: #7c3aed; }
.sms-price-unavail { color: #64748b; font-size: 12px; font-weight: 600; }
.sms-service-card-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.sms-service-card-disabled:hover { transform: none; border-color: rgba(255,255,255,0.08); }
.sms-results-filtered {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sms-service-search {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #f1f5f9;
  font-size: 14px;
}
.sms-service-search::placeholder { color: #64748b; }
.sms-service-search:focus {
  outline: none;
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.sms-service-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  min-width: 0;
}
.sms-service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.08);
}
.sms-service-card.loading { opacity: 0.6; pointer-events: none; }
.sms-service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sms-service-icon img { width: 24px; height: 24px; display: block; }
.sms-service-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: hsl(var(--icon-hue, 220) 55% 42%);
  text-transform: uppercase;
}
.sms-service-info { flex: 1; min-width: 0; }
.sms-service-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 6px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sms-service-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.sms-service-info .price {
  font-size: 13px;
  color: #a78bfa;
  font-weight: 600;
  line-height: 1.2;
}
.sms-service-meta {
  font-size: 11px;
  color: #64748b;
  line-height: 1.2;
}
.sms-service-arrow {
  color: #64748b;
  font-size: 18px;
  transition: transform 0.2s ease;
}
.sms-service-card:hover .sms-service-arrow { transform: translateX(3px); color: #a78bfa; }

.sms-active-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sms-active-card {
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  animation: fadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.sms-active-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.sms-active-service {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sms-active-service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sms-active-service-icon img { width: 22px; height: 22px; }
.sms-active-service-name {
  font-size: 15px;
  font-weight: 600;
  color: #f1f5f9;
}
.sms-active-meta {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}
.sms-active-time {
  font-size: 12px;
  color: #64748b;
  flex-shrink: 0;
}

.sms-phone-block { margin-bottom: 16px; }
.sms-phone-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
}
.sms-phone-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.sms-phone-number {
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.04em;
  cursor: pointer;
  word-break: break-all;
  line-height: 1.2;
}
.sms-phone-number:hover { color: #a78bfa; }
.sms-copy-number-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.55);
  background: rgba(124, 58, 237, 0.22);
  color: #ede9fe;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}
.sms-copy-number-btn:hover {
  background: rgba(124, 58, 237, 0.35);
  border-color: rgba(167, 139, 250, 0.75);
  transform: translateY(-1px);
}
.sms-copy-number-btn img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(88%) sepia(18%) saturate(1200%) hue-rotate(218deg);
}

.sms-active-actions {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.sms-countdown-wrap {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.sms-countdown-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}
.sms-countdown {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.sms-cancel-btn {
  flex: 1 1 140px;
  align-self: stretch;
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.sms-cancel-btn:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(252, 165, 165, 0.65);
}
.sms-cancel-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.sms-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.sms-status-badge.waiting {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.sms-status-badge.received {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sms-otp-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-top: 3px solid #10b981;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  animation: scaleIn 0.35s ease both;
}
.sms-otp-box.waiting-box {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.12);
}
.sms-otp-labels { margin-bottom: 6px; }
.sms-otp-labels span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #34d399;
  margin-right: 12px;
}
.sms-otp-labels span.dim { color: #64748b; }
.sms-otp-code {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.sms-otp-code.muted {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  letter-spacing: normal;
}
.sms-otp-actions { display: flex; gap: 8px; align-items: center; }
.sms-otp-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s ease;
}
.sms-otp-copy-btn {
  border-color: rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.18);
  color: #e9d5ff;
  font-size: 12px;
  font-weight: 700;
}
.sms-otp-copy-btn span { line-height: 1; }
.sms-otp-btn:hover { background: rgba(124, 58, 237, 0.2); }
.sms-otp-btn img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(0.75);
}

.sms-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  padding: 10px 20px;
  border-radius: 999px;
  background: #181b26;
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 500;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.sms-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sms-active-empty p { margin-bottom: 20px; font-size: 15px; }

/* SMSBower-style wizard (Dublogs theme) */
.sms-wizard { margin-bottom: 24px; }
.sms-steps {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.sms-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}
.sms-step.active {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.4);
  color: #e2e8f0;
}
.sms-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}
.sms-step.active .sms-step-num {
  background: #7c3aed;
  color: #fff;
}
.sms-step-panel.hidden { display: none; }
.sms-step-card {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.12), rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 20px;
  padding: 20px;
}
.sms-step-search-wrap { position: relative; margin-bottom: 16px; }
.sms-step-search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; opacity: 0.45; filter: brightness(0) invert(0.7); pointer-events: none;
}
.sms-step-search-wrap .sms-service-search { padding-left: 42px; background: #fff; color: #0f172a; border-color: transparent; }
.sms-step-search-wrap .sms-service-search::placeholder { color: #94a3b8; }
.sms-step-hint { font-size: 12px; color: #94a3b8; margin: 0 0 12px; }
.sms-server-block { margin-bottom: 16px; }
.sms-server-hint { font-size: 12px; color: #64748b; margin: 0 0 10px; line-height: 1.45; }
.sms-server-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sms-server-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.6);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.sms-server-pill:hover {
  border-color: rgba(124, 58, 237, 0.45);
  color: #f1f5f9;
}
.sms-server-pill.active {
  border-color: rgba(124, 58, 237, 0.75);
  background: rgba(124, 58, 237, 0.18);
  color: #ede9fe;
}
.sms-server-loading { font-size: 13px; color: #64748b; }
.sms-step-foot { font-size: 12px; color: #94a3b8; margin: 14px 0 0; text-align: center; }
.sms-step-foot a { color: #f97316; }

.sms-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
  padding: 4px;
}
.sms-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 14px;
  border: 2px solid transparent;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  color: inherit;
  font: inherit;
  min-width: 0;
}
.sms-icon-btn:hover { background: rgba(255,255,255,0.1); }
.sms-icon-btn.selected { border-color: #f97316; background: rgba(249, 115, 22, 0.12); }
.sms-icon-btn img { width: 32px; height: 32px; object-fit: contain; }
.sms-icon-btn span {
  font-size: 10px;
  color: #cbd5e1;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sms-back-btn {
  background: none;
  border: none;
  color: #a78bfa;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
  padding: 0;
}
.sms-selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
}
.sms-selected-chip img { width: 24px; height: 24px; }

.sms-country-list { display: flex; flex-direction: column; gap: 10px; }
.sms-country-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.sms-country-flag {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #c4b5fd;
  flex-shrink: 0;
}
.sms-country-info h4 { font-size: 14px; font-weight: 700; color: #f1f5f9; margin: 0 0 4px; }
.sms-country-info p { font-size: 12px; color: #94a3b8; margin: 0; }
.sms-country-buy {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.sms-country-buy:disabled { opacity: 0.6; cursor: wait; }
.sms-country-topup {
  background: linear-gradient(135deg, #7c3aed, #6366f1);
}
.sms-wallet-banner {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fcd34d;
  font-size: 13px;
  line-height: 1.5;
}
.sms-wallet-banner.hidden { display: none; }
.sms-wallet-banner strong { color: #fef3c7; }
.sms-wallet-banner-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.sms-view-more {
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.sms-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sms-confirm-modal.hidden { display: none; }
.sms-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 18, 0.72);
  backdrop-filter: blur(4px);
}
.sms-confirm-card {
  position: relative;
  width: min(100%, 360px);
  padding: 22px 20px 18px;
  border-radius: 16px;
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  animation: modalIn 0.22s ease;
}
.sms-confirm-message {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: #e2e8f0;
  text-align: center;
}
.sms-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sms-confirm-btn {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.sms-confirm-btn.primary {
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  color: #fff;
}
.sms-confirm-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
