/* ==========================================================================
   SECURE HUB - ULTRA-PREMIUM DIGITAL SERVICES PORTAL THEME
   Visual Direction: World-Class Fintech / Cyber-Security Design System
   Pristine Ambient Mesh, Clean Frosted Glassmorphism, Glowing Accent Gradients,
   Elevated Feature Cards, Cyber-Security Login Card, 100% Responsive & Working.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --------------------------------------------------------------------------
   1. GLOBAL CANVAS & AMBIENT ATMOSPHERE
   -------------------------------------------------------------------------- */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  overflow-x: hidden !important;
  min-height: 100% !important;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

#root {
  background-color: #f8fafc !important;
  width: 100% !important;
  min-height: 100vh !important;
}

/* Luminous Tech Canvas with Micro-Dot Grid - Perfectly Contained, No Bleed */
.sh-portal-login-root {
  background-color: #f8fafc !important;
  background-image: 
    radial-gradient(circle at 16% 20%, rgba(6, 182, 212, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 84% 25%, rgba(37, 99, 235, 0.12) 0%, transparent 48%),
    radial-gradient(circle at 50% 85%, rgba(14, 165, 233, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.18) 1.2px, transparent 0) !important;
  background-size: 100% 100%, 100% 100%, 100% 100%, 28px 28px !important;
  background-position: 0 0, 0 0, 0 0, 0 0 !important;
  color: #0f172a !important;
  min-height: 100vh !important;
  width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
}

.sh-portal-login-root::before,
.sh-portal-login-root::after {
  display: none !important;
}

/* --------------------------------------------------------------------------
   2. FROSTED GLASS TOPBAR
   -------------------------------------------------------------------------- */
header.sh-login-header,
.sh-login-header {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1.5px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
}

.sh-login-header-inner {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  height: 72px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Brand Logo & Name */
.sh-login-header-inner .select-none {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  cursor: pointer !important;
  transition: transform 0.2s ease !important;
}

.sh-login-header-inner .select-none:hover {
  transform: translateY(-1px) !important;
}

.sh-login-header-inner h1,
.sh-login-header-inner span.font-black,
.sh-login-header-inner div.flex-col > span:first-child {
  color: #0b1329 !important;
  -webkit-text-fill-color: #0b1329 !important;
  font-weight: 950 !important;
  font-size: 22px !important;
  letter-spacing: -0.03em !important;
}

.sh-login-header-inner div.flex-col > span:last-child {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
  font-weight: 650 !important;
  font-size: 11.5px !important;
  letter-spacing: 0.04em !important;
}

/* Theme Toggle Button */
.sh-login-header-inner button[aria-label="Toggle Theme"],
.sh-login-header-inner button[title*="Theme"] {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #475569 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  width: 42px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sh-login-header-inner button[aria-label="Toggle Theme"]:hover {
  border-color: #0284c7 !important;
  color: #0284c7 !important;
  transform: translateY(-2px) rotate(15deg) !important;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.2) !important;
}

/* Register Button (Vibrant Luminous Gradient) */
.sh-login-header-inner button:not([aria-label="Toggle Theme"]):not([title*="Theme"]) {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 45%, #2563eb 100%) !important;
  background-size: 200% auto !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-radius: 12px !important;
  padding: 10px 22px !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sh-login-header-inner button:not([aria-label="Toggle Theme"]):not([title*="Theme"]):hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.5) !important;
  background-position: right center !important;
}

/* --------------------------------------------------------------------------
   3. HERO SECTION (LEFT CONTENT & 4x2 SHORTCUT TILES)
   -------------------------------------------------------------------------- */
.sh-login-main-container {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 44px 24px 52px !important;
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

@media (min-width: 1024px) {
  .sh-hero-flex {
    display: flex !important;
    gap: 52px !important;
    align-items: flex-start !important;
  }
  .sh-hero-left {
    flex: 0 0 54% !important;
    width: 54% !important;
    padding-top: 8px !important;
  }
  .sh-hero-right {
    flex: 0 0 46% !important;
    width: 46% !important;
  }
}

@media (max-width: 1023px) {
  .sh-hero-flex {
    display: flex !important;
    flex-direction: column !important;
    gap: 36px !important;
  }
  .sh-hero-right {
    width: 100% !important;
    order: 1 !important;
  }
  .sh-hero-left {
    width: 100% !important;
    order: 2 !important;
  }
}

/* Tagline Kicker Badge: SIMPLE • SECURE • ACCESSIBLE */
.sh-hero-left p:first-of-type,
.sh-hero-left p.font-extrabold,
.sh-hero-left p[style*="letterSpacing"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(2, 132, 199, 0.12)) !important;
  border: 1px solid rgba(2, 132, 199, 0.3) !important;
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  margin-bottom: 18px !important;
  backdrop-filter: blur(10px) !important;
}

.sh-hero-left p:first-of-type::before {
  content: '' !important;
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
  animation: shPulseGlow 2s infinite !important;
}

@keyframes shPulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Main Headline: One portal. Multiple services. */
.sh-hero-left h1 {
  font-size: clamp(2.5rem, 4.4vw, 3.8rem) !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.035em !important;
  color: #0b1329 !important;
  -webkit-text-fill-color: #0b1329 !important;
  margin-bottom: 14px !important;
}

/* "Multiple services." with vibrant multi-stop gradient text */
.sh-hero-left h1 span,
.sh-hero-left h1 span[class*="text-teal"],
.sh-hero-left h1 span[class*="gradient"],
.sh-hero-left h1 span[style*="linear-gradient"],
.sh-hero-left h1 span:last-child {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 40%, #4f46e5 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 950 !important;
  display: inline-block !important;
  filter: drop-shadow(0 2px 12px rgba(2, 132, 199, 0.25)) !important;
}

.sh-hero-left p.text-slate-600,
.sh-hero-left p.text-base {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-size: 17px !important;
  font-weight: 550 !important;
  line-height: 1.65 !important;
  margin-bottom: 26px !important;
  max-width: 500px !important;
}

/* Visit Wing Section Button */
.sh-hero-left .sh-btn-teal,
.sh-hero-left a[href*="wing"],
.sh-hero-left button.sh-btn-teal {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #1d4ed8 100%) !important;
  background-size: 200% auto !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  padding: 13px 26px !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 8px 24px -2px rgba(2, 132, 199, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin-bottom: 34px !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.sh-hero-left .sh-btn-teal:hover,
.sh-hero-left a[href*="wing"]:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 14px 32px -2px rgba(2, 132, 199, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  background-position: right center !important;
}

.sh-hero-left .sh-btn-teal svg {
  transition: transform 0.25s ease !important;
}

.sh-hero-left .sh-btn-teal:hover svg {
  transform: translateX(4px) !important;
}

/* --------------------------------------------------------------------------
   4. EIGHT SHORTCUT FEATURE TILES (4x2 GRID) - ELEVATED LUXURY STYLE
   -------------------------------------------------------------------------- */
.sh-shortcut-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  width: 100% !important;
}

@media (max-width: 640px) {
  .sh-shortcut-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

.sh-shortcut-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 16px 10px !important;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  min-height: 110px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
}

.sh-shortcut-card:hover {
  transform: translateY(-4px) scale(1.02) !important;
  border-color: #0284c7 !important;
  box-shadow: 0 12px 28px -4px rgba(2, 132, 199, 0.2) !important;
}

/* Circular glowing tinted icon container */
.sh-shortcut-card > div:first-child {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 10px auto !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05) !important;
  position: relative !important;
  z-index: 1 !important;
}

.sh-shortcut-card:hover > div:first-child {
  transform: scale(1.12) rotate(2deg) !important;
  box-shadow: 0 6px 14px rgba(2, 132, 199, 0.25) !important;
}

.sh-shortcut-card span {
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
  font-weight: 750 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  position: relative !important;
  z-index: 1 !important;
  transition: color 0.2s ease !important;
}

.sh-shortcut-card:hover span {
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
}

/* --------------------------------------------------------------------------
   5. COMPLETE PROMINENT LOGIN CARD (FINTECH CYBER GATEWAY)
   -------------------------------------------------------------------------- */
.sh-login-card,
#sh-login-form-card .sh-login-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 24px !important;
  padding: 34px 28px !important;
  box-shadow: 
    0 20px 45px -10px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 0 35px rgba(2, 132, 199, 0.06) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  .sh-login-card,
  #sh-login-form-card .sh-login-card {
    padding: 24px 18px !important;
    border-radius: 20px !important;
  }
}

/* Top Accent Gradient Bar */
.sh-login-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, #06b6d4 0%, #0284c7 45%, #2563eb 100%) !important;
  pointer-events: none !important;
  z-index: 10 !important;
}

/* Security Header row */
.sh-login-card > div:first-child {
  margin-bottom: 20px !important;
}

/* Security Gateway Badge Pill */
.sh-login-card div.inline-flex.bg-teal-50 {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(6, 182, 212, 0.12)) !important;
  border: 1px solid rgba(20, 184, 166, 0.32) !important;
  border-radius: 9999px !important;
  padding: 4px 12px !important;
  box-shadow: 0 2px 6px rgba(20, 184, 166, 0.1) !important;
}

.sh-login-card div.inline-flex.bg-teal-50 span.text-teal-800 {
  color: #0f766e !important;
  -webkit-text-fill-color: #0f766e !important;
  font-weight: 850 !important;
  font-size: 10.5px !important;
  letter-spacing: 0.08em !important;
}

/* Welcome Back Title */
.sh-login-card h2 {
  font-size: 1.9rem !important;
  font-weight: 950 !important;
  letter-spacing: -0.03em !important;
  color: #0b1329 !important;
  -webkit-text-fill-color: #0b1329 !important;
  margin-bottom: 4px !important;
}

.sh-login-card p.text-teal-700,
.sh-login-card p.font-bold {
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
  font-size: 11.5px !important;
  font-weight: 850 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin-top: 4px !important;
}

.sh-login-card p.text-slate-500,
.sh-login-card p.text-\[12px\] {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  margin-top: 4px !important;
  margin-bottom: 20px !important;
}

.sh-login-card label {
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
  font-weight: 750 !important;
  font-size: 13px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 6px !important;
}

/* Required & Confidential Badges */
.sh-login-card label span.text-slate-400,
.sh-login-card label span.text-red-600,
.sh-login-card label span:last-child {
  font-size: 10.5px !important;
  font-weight: 850 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  background: rgba(2, 132, 199, 0.08) !important;
  color: #0284c7 !important;
  border: 1px solid rgba(2, 132, 199, 0.2) !important;
}

/* Input Fields Container */
.sh-login-card div.flex.items-center.border,
.sh-login-card div.focus-within\:border-\[\#0d828a\],
.sh-login-card div.border-slate-300 {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 11px 14px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

.sh-login-card div.flex.items-center.border:focus-within,
.sh-login-card div.focus-within\:border-\[\#0d828a\]:focus-within,
.sh-login-card div.border-slate-300:focus-within {
  background: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.18), 0 4px 12px rgba(2, 132, 199, 0.08) !important;
}

.sh-login-card input[type="text"],
.sh-login-card input[type="password"] {
  color: #0b1329 !important;
  -webkit-text-fill-color: #0b1329 !important;
  font-size: 14.5px !important;
  font-weight: 650 !important;
  background-color: transparent !important;
}

/* Autofill Clean White Fix */
.sh-login-card input:-webkit-autofill,
.sh-login-card input:-webkit-autofill:hover, 
.sh-login-card input:-webkit-autofill:focus,
.sh-login-card input:-webkit-autofill:active {
  -webkit-text-fill-color: #0b1329 !important;
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
  box-shadow: 0 0 0px 1000px #ffffff inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

.sh-login-card input::placeholder {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  font-weight: 450 !important;
}

/* Checkbox Row */
.sh-login-card input[type="checkbox"] {
  accent-color: #0284c7 !important;
  width: 17px !important;
  height: 17px !important;
  cursor: pointer !important;
}

.sh-login-card label[for="stay-signed-in"] {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  font-weight: 650 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  margin-bottom: 0 !important;
  background: transparent !important;
}

/* Primary Sign In Button (Vibrant Luminous Gradient) */
.sh-login-card button[type="submit"] {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 40%, #1d4ed8 100%) !important;
  background-size: 200% auto !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 850 !important;
  font-size: 14.5px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 13.5px !important;
  box-shadow: 0 8px 24px -2px rgba(2, 132, 199, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin-top: 18px !important;
  width: 100% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.sh-login-card button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px rgba(2, 132, 199, 0.58) !important;
  background-position: right center !important;
}

.sh-login-card button[type="submit"]:active {
  transform: scale(0.985) !important;
}

/* Card Bottom Link */
.sh-login-card div.border-t {
  border-top: 1.5px solid #f1f5f9 !important;
  margin-top: 18px !important;
  padding-top: 16px !important;
  text-align: center !important;
  justify-content: center !important;
}

.sh-login-card div.border-t span,
.sh-login-card div.border-t button {
  font-size: 13px !important;
}

.sh-login-card div.border-t button {
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}

.sh-login-card div.border-t button:hover {
  color: #0369a1 !important;
  -webkit-text-fill-color: #0369a1 !important;
}

/* --------------------------------------------------------------------------
   6. "ACCESS WITHOUT LOGIN" CITIZEN SERVICES (3 CARDS)
   -------------------------------------------------------------------------- */
.sh-quick-services-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%) !important;
  border-top: 1.5px solid #e2e8f0 !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
  padding: 60px 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.sh-quick-services-section p.text-\[11px\],
.sh-quick-services-section p[style*="letterSpacing"] {
  display: inline-block !important;
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

.sh-quick-services-section h2 {
  color: #0b1329 !important;
  -webkit-text-fill-color: #0b1329 !important;
  font-size: clamp(2rem, 3.4vw, 2.6rem) !important;
  font-weight: 950 !important;
  letter-spacing: -0.025em !important;
  margin-top: 4px !important;
  margin-bottom: 6px !important;
}

.sh-quick-services-section p.text-slate-600 {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-size: 15px !important;
  font-weight: 550 !important;
}

/* Track Instant Services Button */
.sh-btn-outline-teal {
  background: #ffffff !important;
  border: 1.5px solid #0284c7 !important;
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
  padding: 11px 24px !important;
  border-radius: 12px !important;
  font-weight: 750 !important;
  font-size: 14px !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
}

.sh-btn-outline-teal:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.35) !important;
}

/* 3 Service Cards Grid */
.sh-service-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  width: 100% !important;
  margin-top: 36px !important;
}

@media (max-width: 960px) {
  .sh-service-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
}

/* Service Card Container */
.sh-service-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 26px 22px !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
  min-height: 280px !important;
  box-sizing: border-box !important;
}

.sh-service-card:hover {
  transform: translateY(-5px) !important;
  border-color: #0284c7 !important;
  box-shadow: 0 18px 38px -6px rgba(2, 132, 199, 0.18) !important;
}

/* Logo Box */
.sh-card-official-logo-box {
  width: 72px !important;
  height: 72px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
  border: 1.5px solid #e2e8f0 !important;
  transition: transform 0.25s ease !important;
}

.sh-service-card:hover .sh-card-official-logo-box {
  transform: scale(1.06) !important;
}

.sh-service-card h3 {
  color: #0b1329 !important;
  -webkit-text-fill-color: #0b1329 !important;
  font-weight: 850 !important;
  font-size: 16.5px !important;
  letter-spacing: -0.015em !important;
  line-height: 1.35 !important;
  margin-bottom: 8px !important;
}

.sh-service-card p {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
}

/* Fee Tag */
.sh-service-card div.flex.items-center.gap-2.mt-4 span:last-child {
  background: #f0f9ff !important;
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  padding: 4px 12px !important;
  border-radius: 8px !important;
}

/* Apply Now Button inside Service Card */
.sh-service-card div.flex.items-center.justify-between.mt-5,
.sh-service-card div.flex.items-center.justify-between:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 18px !important;
  padding-top: 14px !important;
}

.sh-service-card div.flex.items-center.justify-between:last-child span.font-extrabold {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  padding: 8px 18px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28) !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.sh-service-card:hover div.flex.items-center.justify-between:last-child span.font-extrabold {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.42) !important;
}

/* --------------------------------------------------------------------------
   7. "WHY CHOOSE US" SECTION (6 ADVANTAGES)
   -------------------------------------------------------------------------- */
.sh-why-choose-section {
  background: #ffffff !important;
  padding: 60px 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.sh-why-choose-section h2 {
  color: #0b1329 !important;
  -webkit-text-fill-color: #0b1329 !important;
  font-size: clamp(2rem, 3.4vw, 2.6rem) !important;
  font-weight: 950 !important;
  letter-spacing: -0.025em !important;
  margin-top: 4px !important;
  margin-bottom: 8px !important;
}

.sh-advantages-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 16px !important;
  width: 100% !important;
  margin-top: 36px !important;
}

@media (max-width: 1024px) {
  .sh-advantages-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 640px) {
  .sh-advantages-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

.sh-advantages-grid > div {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 22px 10px !important;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.sh-advantages-grid > div:hover {
  transform: translateY(-4px) !important;
  border-color: #0284c7 !important;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.14) !important;
}

.sh-advantages-grid > div > div:first-child {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 10px auto !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05) !important;
}

.sh-advantages-grid span {
  color: #0b1329 !important;
  -webkit-text-fill-color: #0b1329 !important;
  font-weight: 750 !important;
  font-size: 13px !important;
  margin-top: 4px !important;
}

/* --------------------------------------------------------------------------
   8. DARK NAVY FOOTER
   -------------------------------------------------------------------------- */
footer,
.sh-login-footer {
  background: #080d1a !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 38px 0 !important;
  width: 100% !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
}

footer a,
.sh-login-footer a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 550 !important;
  transition: color 0.2s ease !important;
}

footer a:hover,
.sh-login-footer a:hover {
  color: #38bdf8 !important;
}

/* --------------------------------------------------------------------------
   9. COMPLETE & READABLE DARK MODE SUPPORT (HIGH SPECIFICITY SELECTORS)
   -------------------------------------------------------------------------- */
html:not(.light-mode) body,
[data-theme="dark"] body,
.dark body {
  background-color: #070d18 !important;
  color: #f8fafc !important;
}

html:not(.light-mode) #root,
[data-theme="dark"] #root,
.dark #root {
  background-color: #070d18 !important;
}

html:not(.light-mode) .sh-portal-login-root,
[data-theme="dark"] .sh-portal-login-root,
.dark .sh-portal-login-root {
  background-color: #070d18 !important;
  background-image: 
    radial-gradient(circle at 16% 20%, rgba(6, 182, 212, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 84% 25%, rgba(37, 99, 235, 0.18) 0%, transparent 48%),
    radial-gradient(circle at 50% 85%, rgba(14, 165, 233, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 1px 1px, rgba(56, 189, 248, 0.12) 1.2px, transparent 0) !important;
  background-size: 100% 100%, 100% 100%, 100% 100%, 28px 28px !important;
  color: #f8fafc !important;
}

html:not(.light-mode) header.sh-login-header,
[data-theme="dark"] header.sh-login-header,
.dark header.sh-login-header {
  background: rgba(11, 19, 36, 0.94) !important;
  border-bottom: 1.5px solid rgba(56, 189, 248, 0.2) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5) !important;
}

html:not(.light-mode) .sh-login-header-inner h1,
html:not(.light-mode) .sh-login-header-inner span.font-black,
[data-theme="dark"] .sh-login-header-inner h1,
.dark .sh-login-header-inner h1 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html:not(.light-mode) .sh-hero-left h1,
[data-theme="dark"] .sh-hero-left h1,
.dark .sh-hero-left h1 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html:not(.light-mode) .sh-hero-left p.text-slate-600,
[data-theme="dark"] .sh-hero-left p.text-slate-600,
.dark .sh-hero-left p.text-slate-600 {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

html:not(.light-mode) .sh-shortcut-card,
[data-theme="dark"] .sh-shortcut-card,
.dark .sh-shortcut-card {
  background: #0f172a !important;
  border-color: #1e293b !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
}

html:not(.light-mode) .sh-shortcut-card:hover,
[data-theme="dark"] .sh-shortcut-card:hover {
  border-color: #38bdf8 !important;
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.2) !important;
}

html:not(.light-mode) .sh-shortcut-card span,
[data-theme="dark"] .sh-shortcut-card span,
.dark .sh-shortcut-card span {
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
}

/* HIGH SPECIFICITY DARK MODE FOR LOGIN CARD */
html:not(.light-mode) #sh-login-form-card .sh-login-card,
html:not(.light-mode) .sh-login-card,
[data-theme="dark"] #sh-login-form-card .sh-login-card,
[data-theme="dark"] .sh-login-card,
.dark #sh-login-form-card .sh-login-card,
.dark .sh-login-card {
  background: #0f172a !important;
  border: 1.5px solid rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(6, 182, 212, 0.15) !important;
}

html:not(.light-mode) #sh-login-form-card .sh-login-card h2,
[data-theme="dark"] #sh-login-form-card .sh-login-card h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html:not(.light-mode) #sh-login-form-card .sh-login-card p.text-teal-700,
[data-theme="dark"] #sh-login-form-card .sh-login-card p.text-teal-700 {
  color: #38bdf8 !important;
  -webkit-text-fill-color: #38bdf8 !important;
}

html:not(.light-mode) #sh-login-form-card .sh-login-card p.text-slate-500,
[data-theme="dark"] #sh-login-form-card .sh-login-card p.text-slate-500 {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

html:not(.light-mode) #sh-login-form-card .sh-login-card label,
[data-theme="dark"] #sh-login-form-card .sh-login-card label {
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
}

html:not(.light-mode) #sh-login-form-card .sh-login-card label span.text-slate-400,
[data-theme="dark"] #sh-login-form-card .sh-login-card label span.text-slate-400 {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

html:not(.light-mode) #sh-login-form-card .sh-login-card div.flex.items-center.border,
html:not(.light-mode) #sh-login-form-card .sh-login-card div.focus-within\:border-\[\#0d828a\],
[data-theme="dark"] #sh-login-form-card .sh-login-card div.flex.items-center.border {
  background: #070d18 !important;
  border-color: #1e293b !important;
}

html:not(.light-mode) #sh-login-form-card .sh-login-card div.flex.items-center.border:focus-within,
[data-theme="dark"] #sh-login-form-card .sh-login-card div.flex.items-center.border:focus-within {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
}

html:not(.light-mode) #sh-login-form-card .sh-login-card input,
html:not(.light-mode) .sh-login-card input,
[data-theme="dark"] #sh-login-form-card .sh-login-card input,
[data-theme="dark"] .sh-login-card input {
  background-color: transparent !important;
  background: transparent !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html:not(.light-mode) #sh-login-form-card .sh-login-card input:-webkit-autofill,
html:not(.light-mode) #sh-login-form-card .sh-login-card input:-webkit-autofill:hover, 
html:not(.light-mode) #sh-login-form-card .sh-login-card input:-webkit-autofill:focus,
html:not(.light-mode) #sh-login-form-card .sh-login-card input:-webkit-autofill:active,
[data-theme="dark"] #sh-login-form-card .sh-login-card input:-webkit-autofill {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0px 1000px #070d18 inset !important;
  box-shadow: 0 0 0px 1000px #070d18 inset !important;
}

html:not(.light-mode) #sh-login-form-card .sh-login-card label[for="stay-signed-in"] span,
[data-theme="dark"] #sh-login-form-card .sh-login-card label[for="stay-signed-in"] span {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

html:not(.light-mode) #sh-login-form-card .sh-login-card div.border-t span,
[data-theme="dark"] #sh-login-form-card .sh-login-card div.border-t span {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

html:not(.light-mode) #sh-login-form-card .sh-login-card div.border-t button,
[data-theme="dark"] #sh-login-form-card .sh-login-card div.border-t button {
  color: #38bdf8 !important;
  -webkit-text-fill-color: #38bdf8 !important;
}

html:not(.light-mode) .sh-quick-services-section,
[data-theme="dark"] .sh-quick-services-section {
  background: #090e1c !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html:not(.light-mode) .sh-quick-services-section h2,
[data-theme="dark"] .sh-quick-services-section h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html:not(.light-mode) .sh-service-card,
[data-theme="dark"] .sh-service-card {
  background: #0f172a !important;
  border-color: #1e293b !important;
}

html:not(.light-mode) .sh-service-card:hover,
[data-theme="dark"] .sh-service-card:hover {
  border-color: #38bdf8 !important;
  box-shadow: 0 16px 36px rgba(56, 189, 248, 0.2) !important;
}

html:not(.light-mode) .sh-service-card h3,
[data-theme="dark"] .sh-service-card h3 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html:not(.light-mode) .sh-why-choose-section,
[data-theme="dark"] .sh-why-choose-section {
  background: #070d18 !important;
}

html:not(.light-mode) .sh-why-choose-section h2,
[data-theme="dark"] .sh-why-choose-section h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html:not(.light-mode) .sh-advantages-grid > div,
[data-theme="dark"] .sh-advantages-grid > div {
  background: #0f172a !important;
  border-color: #1e293b !important;
}

html:not(.light-mode) .sh-advantages-grid > div:hover,
[data-theme="dark"] .sh-advantages-grid > div:hover {
  border-color: #38bdf8 !important;
}

html:not(.light-mode) .sh-advantages-grid span,
[data-theme="dark"] .sh-advantages-grid span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   10. LIVE SYNC FLOATING STATUS PILL
   -------------------------------------------------------------------------- */
#live-sync-indicator,
div[class*="live-sync"],
.fixed.bottom-4.right-4 {
  background: rgba(15, 23, 42, 0.9) !important;
  backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #f8fafc !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 15px rgba(16, 185, 129, 0.25) !important;
  border-radius: 9999px !important;
  padding: 6px 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  transition: all 0.25s ease !important;
  z-index: 9999 !important;
}


/* ==========================================================================
   SECURE HUB - SOLAR SECURITY GATEWAY (AFTER LOGIN SUCCESS) RESPONSIVE ENGINE
   Authoritative multi-breakpoint viewport-adaptive architecture
   ========================================================================== */

/* 1. Prevent screen overflow and provide responsive padding */
.auth-solar-root {
  padding: clamp(8px, 1.5vh, 20px) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Hide floating corner badges during authentication sequence to avoid clutter */
body:has(.auth-solar-root) #sh-heartbeat-mesh-badge,
body:has(.auth-solar-root) #sh-realtime-heartbeat-badge,
.auth-solar-root ~ #sh-heartbeat-mesh-badge,
.auth-solar-root ~ #sh-realtime-heartbeat-badge {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 2. Solar Orbit Main Circle Container - Dual Viewport Bounded (vh + vw) */
.auth-solar-root .auth-solar-orbit-container,
.auth-solar-root > div.relative.flex.items-center.justify-center {
  width: min(540px, 86vw, 72vh) !important;
  height: min(540px, 86vw, 72vh) !important;
  max-width: 92vw !important;
  max-height: 78vh !important;
  aspect-ratio: 1 / 1 !important;
  margin: auto !important;
  position: relative !important;
  flex-shrink: 0 !important;
  transition: width 0.25s ease, height 0.25s ease, transform 0.25s ease !important;
}

/* 3. Orbit SVG Scaler */
.auth-solar-root .auth-solar-orbit-container > svg,
.auth-solar-root > div.relative.flex.items-center.justify-center > svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* 4. Side Cyber Streams Collision Prevention */
@media (max-width: 1379px) {
  .auth-solar-root .auth-solar-side-stream,
  .auth-solar-root div[class*="left-8"],
  .auth-solar-root div[class*="right-8"] {
    display: none !important;
  }
}

@media (min-width: 1380px) {
  .auth-solar-root div[class*="left-8"] {
    left: clamp(16px, 3.5vw, 56px) !important;
    opacity: 0.55 !important;
    font-size: 8.5px !important;
  }
  .auth-solar-root div[class*="right-8"] {
    right: clamp(16px, 3.5vw, 56px) !important;
    opacity: 0.55 !important;
    font-size: 8.5px !important;
  }
}

/* 5. Orbit Circumference Node Badges */
.auth-solar-root .auth-solar-node-badge,
.auth-solar-root [class*="rounded-full"][style*="top:"] {
  white-space: nowrap !important;
  z-index: 10 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* 6. Breakpoint: Laptops & Medium Screens (e.g. 1280x585 short screen) */
@media (max-width: 1080px), (max-height: 680px) {
  .auth-solar-root .auth-solar-orbit-container,
  .auth-solar-root > div.relative.flex.items-center.justify-center {
    width: min(470px, 84vw, 70vh) !important;
    height: min(470px, 84vw, 70vh) !important;
  }
  .auth-solar-root .auth-solar-node-badge,
  .auth-solar-root [class*="rounded-full"][style*="top:"] {
    padding: 2.5px 7px !important;
  }
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:first-child {
    font-size: 8px !important;
    line-height: 1.1 !important;
  }
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:last-child {
    font-size: 6.5px !important;
    line-height: 1.1 !important;
  }
  .auth-solar-root .auth-solar-center,
  .auth-solar-root div[class*="z-20"][class*="flex-col"] {
    max-width: 260px !important;
    transform: scale(0.92) !important;
    transform-origin: center center !important;
  }
}

/* 7. Breakpoint: Tablets & Low Laptops (Height < 580px or Width < 768px) */
@media (max-width: 768px), (max-height: 580px) {
  .auth-solar-root .auth-solar-orbit-container,
  .auth-solar-root > div.relative.flex.items-center.justify-center {
    width: min(390px, 82vw, 66vh) !important;
    height: min(390px, 82vw, 66vh) !important;
  }
  .auth-solar-root .auth-solar-node-badge,
  .auth-solar-root [class*="rounded-full"][style*="top:"] {
    padding: 2px 6px !important;
  }
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:first-child {
    font-size: 7.5px !important;
  }
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:last-child {
    font-size: 6px !important;
  }
  .auth-solar-root .auth-solar-center,
  .auth-solar-root div[class*="z-20"][class*="flex-col"] {
    max-width: 235px !important;
    transform: scale(0.82) !important;
    transform-origin: center center !important;
  }
}

/* 8. Breakpoint: Mobile Phones (Width <= 480px or Height <= 500px) */
@media (max-width: 480px), (max-height: 500px) {
  .auth-solar-root .auth-solar-orbit-container,
  .auth-solar-root > div.relative.flex.items-center.justify-center {
    width: min(315px, 78vw, 60vh) !important;
    height: min(315px, 78vw, 60vh) !important;
  }
  .auth-solar-root .auth-solar-node-badge,
  .auth-solar-root [class*="rounded-full"][style*="top:"] {
    padding: 1.5px 5px !important;
  }
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:first-child {
    font-size: 7px !important;
  }
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:last-child {
    font-size: 5.5px !important;
  }
  .auth-solar-root .auth-solar-center,
  .auth-solar-root div[class*="z-20"][class*="flex-col"] {
    max-width: 210px !important;
    transform: scale(0.72) !important;
    transform-origin: center center !important;
  }
}

/* 9. Breakpoint: Small Mobile & Ultra-Low Height (Width <= 360px or Height <= 440px) */
@media (max-width: 360px), (max-height: 440px) {
  .auth-solar-root .auth-solar-orbit-container,
  .auth-solar-root > div.relative.flex.items-center.justify-center {
    width: min(265px, 75vw, 56vh) !important;
    height: min(265px, 75vw, 56vh) !important;
  }
  .auth-solar-root .auth-solar-center,
  .auth-solar-root div[class*="z-20"][class*="flex-col"] {
    transform: scale(0.62) !important;
    transform-origin: center center !important;
  }
}




/* ==========================================================================
   SECURE HUB - SOLAR SECURITY GATEWAY PERFECT RESPONSIVE ENGINE
   Authoritative multi-breakpoint viewport-adaptive architecture
   ========================================================================== */

/* 1. Root Container */
.auth-solar-root {
  padding: clamp(6px, 1.5vh, 16px) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: fixed !important;
  inset: 0 !important;
}

/* Hide floating corner badges during authentication sequence to avoid clutter */
body:has(.auth-solar-root) #sh-heartbeat-mesh-badge,
body:has(.auth-solar-root) #sh-realtime-heartbeat-badge,
.auth-solar-root ~ #sh-heartbeat-mesh-badge,
.auth-solar-root ~ #sh-realtime-heartbeat-badge {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 2. Solar Orbit Main Circle Container - Dual Viewport Bounded (vh + vw) */
.auth-solar-root .auth-solar-orbit-container,
.auth-solar-root > div.relative.flex.items-center.justify-center {
  width: min(540px, 86vw, 76vh) !important;
  height: min(540px, 86vw, 76vh) !important;
  max-width: 90vw !important;
  max-height: 80vh !important;
  aspect-ratio: 1 / 1 !important;
  margin: auto !important;
  position: relative !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: width 0.2s ease, height 0.2s ease !important;
}

/* 3. Orbit SVG Scaler */
.auth-solar-root .auth-solar-orbit-container > svg,
.auth-solar-root > div.relative.flex.items-center.justify-center > svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* 4. Side Cyber Streams Collision Prevention */
@media (max-width: 1379px) {
  .auth-solar-root .auth-solar-side-stream,
  .auth-solar-root div[class*="left-8"],
  .auth-solar-root div[class*="right-8"] {
    display: none !important;
  }
}

@media (min-width: 1380px) {
  .auth-solar-root div[class*="left-8"] {
    left: clamp(16px, 3.5vw, 56px) !important;
    opacity: 0.55 !important;
    font-size: 8.5px !important;
  }
  .auth-solar-root div[class*="right-8"] {
    right: clamp(16px, 3.5vw, 56px) !important;
    opacity: 0.55 !important;
    font-size: 8.5px !important;
  }
}

/* 5. Orbit Circumference Node Badges */
.auth-solar-root .auth-solar-node-badge,
.auth-solar-root [class*="rounded-full"][style*="top:"] {
  white-space: nowrap !important;
  z-index: 10 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  padding: 3px 8px !important;
}
.auth-solar-root .auth-solar-node-badge span:first-child,
.auth-solar-root [class*="rounded-full"][style*="top:"] span:first-child {
  font-size: 9px !important;
  line-height: 1.1 !important;
}
.auth-solar-root .auth-solar-node-badge span:last-child,
.auth-solar-root [class*="rounded-full"][style*="top:"] span:last-child {
  font-size: 7px !important;
  line-height: 1.1 !important;
}

/* 6. Center Card Proportionate Containment (Scales inside inner orbital circle) */
.auth-solar-root .auth-solar-center,
.auth-solar-root div[class*="z-20"][class*="flex-col"] {
  max-width: 290px !important;
  width: 100% !important;
  transform: scale(0.82) !important;
  transform-origin: center center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 7. Laptops & Medium Screens (e.g. 1280x585 short screen) */
@media (max-width: 1280px), (max-height: 680px) {
  .auth-solar-root .auth-solar-orbit-container,
  .auth-solar-root > div.relative.flex.items-center.justify-center {
    width: min(480px, 84vw, 74vh) !important;
    height: min(480px, 84vw, 74vh) !important;
  }
  .auth-solar-root .auth-solar-node-badge,
  .auth-solar-root [class*="rounded-full"][style*="top:"] {
    padding: 2.5px 7px !important;
  }
  .auth-solar-root .auth-solar-node-badge span:first-child,
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:first-child {
    font-size: 8px !important;
  }
  .auth-solar-root .auth-solar-node-badge span:last-child,
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:last-child {
    font-size: 6.5px !important;
  }
  .auth-solar-root .auth-solar-center,
  .auth-solar-root div[class*="z-20"][class*="flex-col"] {
    max-width: 270px !important;
    transform: scale(0.78) !important;
  }
}

/* 8. Tablets & Low Laptops (Height < 580px or Width < 768px) */
@media (max-width: 768px), (max-height: 580px) {
  .auth-solar-root .auth-solar-orbit-container,
  .auth-solar-root > div.relative.flex.items-center.justify-center {
    width: min(390px, 82vw, 70vh) !important;
    height: min(390px, 82vw, 70vh) !important;
  }
  .auth-solar-root .auth-solar-node-badge,
  .auth-solar-root [class*="rounded-full"][style*="top:"] {
    padding: 2px 6px !important;
  }
  .auth-solar-root .auth-solar-node-badge span:first-child,
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:first-child {
    font-size: 7.5px !important;
  }
  .auth-solar-root .auth-solar-node-badge span:last-child,
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:last-child {
    font-size: 6px !important;
  }
  .auth-solar-root .auth-solar-center,
  .auth-solar-root div[class*="z-20"][class*="flex-col"] {
    max-width: 240px !important;
    transform: scale(0.72) !important;
  }
}

/* 9. Mobile Phones (Width <= 480px or Height <= 500px) */
@media (max-width: 480px), (max-height: 500px) {
  .auth-solar-root .auth-solar-orbit-container,
  .auth-solar-root > div.relative.flex.items-center.justify-center {
    width: min(320px, 80vw, 64vh) !important;
    height: min(320px, 80vw, 64vh) !important;
  }
  .auth-solar-root .auth-solar-node-badge,
  .auth-solar-root [class*="rounded-full"][style*="top:"] {
    padding: 1.5px 5px !important;
  }
  .auth-solar-root .auth-solar-node-badge span:first-child,
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:first-child {
    font-size: 7px !important;
  }
  .auth-solar-root .auth-solar-node-badge span:last-child,
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:last-child {
    font-size: 5.5px !important;
  }
  .auth-solar-root .auth-solar-center,
  .auth-solar-root div[class*="z-20"][class*="flex-col"] {
    max-width: 220px !important;
    transform: scale(0.64) !important;
  }
}

/* 10. Ultra-Small Mobile (Width <= 360px or Height <= 440px) */
@media (max-width: 360px), (max-height: 440px) {
  .auth-solar-root .auth-solar-orbit-container,
  .auth-solar-root > div.relative.flex.items-center.justify-center {
    width: min(265px, 75vw, 58vh) !important;
    height: min(265px, 75vw, 58vh) !important;
  }
  .auth-solar-root .auth-solar-center,
  .auth-solar-root div[class*="z-20"][class*="flex-col"] {
    transform: scale(0.56) !important;
  }
}



/* ==========================================================================
   SECURE HUB - SOLAR SECURITY GATEWAY PERFECT RESPONSIVE ENGINE V2
   Authoritative multi-breakpoint viewport-adaptive architecture
   ========================================================================== */

/* 1. Root Container */
.auth-solar-root {
  padding: clamp(6px, 1.5vh, 16px) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
}

/* Corner HUD telemetry indicators */
.auth-solar-root .auth-solar-hud-tl {
  position: absolute !important;
  top: 18px !important;
  left: 24px !important;
  font-family: monospace !important;
  font-size: 8px !important;
  letter-spacing: 0.25em !important;
  color: rgba(34, 211, 238, 0.75) !important;
  z-index: 15 !important;
}

.auth-solar-root .auth-solar-hud-tr {
  position: absolute !important;
  top: 18px !important;
  right: 24px !important;
  font-family: monospace !important;
  font-size: 8px !important;
  letter-spacing: 0.25em !important;
  color: rgba(34, 211, 238, 0.75) !important;
  z-index: 15 !important;
}

/* Hide floating corner badges during authentication sequence to avoid clutter */
body:has(.auth-solar-root) #sh-heartbeat-mesh-badge,
body:has(.auth-solar-root) #sh-realtime-heartbeat-badge,
.auth-solar-root ~ #sh-heartbeat-mesh-badge,
.auth-solar-root ~ #sh-realtime-heartbeat-badge {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 2. Solar Orbit Main Circle Container - Dual Viewport Bounded (vh + vw) */
.auth-solar-root .auth-solar-orbit-container,
.auth-solar-root > div.relative.flex.items-center.justify-center {
  width: min(540px, 86vw, 76vh) !important;
  height: min(540px, 86vw, 76vh) !important;
  max-width: 90vw !important;
  max-height: 80vh !important;
  aspect-ratio: 1 / 1 !important;
  margin: auto !important;
  position: relative !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: width 0.2s ease, height 0.2s ease !important;
}

/* 3. Orbit SVG Scaler */
.auth-solar-root .auth-solar-orbit-container > svg,
.auth-solar-root > div.relative.flex.items-center.justify-center > svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* 4. Side Cyber Streams Collision Prevention */
@media (max-width: 1379px) {
  .auth-solar-root .auth-solar-side-stream,
  .auth-solar-root div[class*="left-8"],
  .auth-solar-root div[class*="right-8"] {
    display: none !important;
  }
}

@media (min-width: 1380px) {
  .auth-solar-root div[class*="left-8"] {
    left: clamp(16px, 3.5vw, 56px) !important;
    opacity: 0.55 !important;
    font-size: 8.5px !important;
  }
  .auth-solar-root div[class*="right-8"] {
    right: clamp(16px, 3.5vw, 56px) !important;
    opacity: 0.55 !important;
    font-size: 8.5px !important;
  }
}

/* 5. Orbit Circumference Node Badges */
.auth-solar-root .auth-solar-node-badge,
.auth-solar-root [class*="rounded-full"][style*="top:"] {
  white-space: nowrap !important;
  z-index: 10 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  padding: 3px 8px !important;
}
.auth-solar-root .auth-solar-node-badge span:first-child,
.auth-solar-root [class*="rounded-full"][style*="top:"] span:first-child {
  font-size: 9px !important;
  line-height: 1.1 !important;
}
.auth-solar-root .auth-solar-node-badge span:last-child,
.auth-solar-root [class*="rounded-full"][style*="top:"] span:last-child {
  font-size: 7px !important;
  line-height: 1.1 !important;
}

/* 6. Title and Center Card */
.auth-solar-root h2,
.auth-solar-root .auth-solar-title {
  white-space: nowrap !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
}

.auth-solar-root .auth-solar-center,
.auth-solar-root div[class*="z-20"][class*="flex-col"] {
  max-width: 320px !important;
  width: 100% !important;
  transform: scale(0.74) !important;
  transform-origin: center center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 7. Laptops & Medium Screens (e.g. 1280x585 short screen) */
@media (max-width: 1280px), (max-height: 680px) {
  .auth-solar-root .auth-solar-orbit-container,
  .auth-solar-root > div.relative.flex.items-center.justify-center {
    width: min(480px, 84vw, 75vh) !important;
    height: min(480px, 84vw, 75vh) !important;
  }
  .auth-solar-root .auth-solar-node-badge,
  .auth-solar-root [class*="rounded-full"][style*="top:"] {
    padding: 2.5px 7px !important;
  }
  .auth-solar-root .auth-solar-node-badge span:first-child,
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:first-child {
    font-size: 8.5px !important;
  }
  .auth-solar-root .auth-solar-node-badge span:last-child,
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:last-child {
    font-size: 6.8px !important;
  }
  .auth-solar-root h2,
  .auth-solar-root .auth-solar-title {
    font-size: 16px !important;
  }
  .auth-solar-root .auth-solar-center,
  .auth-solar-root div[class*="z-20"][class*="flex-col"] {
    max-width: 320px !important;
    transform: scale(0.72) !important;
  }
}

/* 8. Tablets & Low Laptops (Height < 580px or Width < 768px) */
@media (max-width: 768px), (max-height: 580px) {
  .auth-solar-root .auth-solar-orbit-container,
  .auth-solar-root > div.relative.flex.items-center.justify-center {
    width: min(400px, 82vw, 72vh) !important;
    height: min(400px, 82vw, 72vh) !important;
  }
  .auth-solar-root .auth-solar-node-badge,
  .auth-solar-root [class*="rounded-full"][style*="top:"] {
    padding: 2px 6px !important;
  }
  .auth-solar-root .auth-solar-node-badge span:first-child,
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:first-child {
    font-size: 7.5px !important;
  }
  .auth-solar-root .auth-solar-node-badge span:last-child,
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:last-child {
    font-size: 6px !important;
  }
  .auth-solar-root h2,
  .auth-solar-root .auth-solar-title {
    font-size: 15px !important;
  }
  .auth-solar-root .auth-solar-center,
  .auth-solar-root div[class*="z-20"][class*="flex-col"] {
    max-width: 310px !important;
    transform: scale(0.66) !important;
  }
}

/* 9. Mobile Phones (Width <= 480px or Height <= 500px) */
@media (max-width: 480px), (max-height: 500px) {
  .auth-solar-root .auth-solar-orbit-container,
  .auth-solar-root > div.relative.flex.items-center.justify-center {
    width: min(325px, 80vw, 66vh) !important;
    height: min(325px, 80vw, 66vh) !important;
  }
  .auth-solar-root .auth-solar-node-badge,
  .auth-solar-root [class*="rounded-full"][style*="top:"] {
    padding: 1.5px 5px !important;
  }
  .auth-solar-root .auth-solar-node-badge span:first-child,
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:first-child {
    font-size: 7px !important;
  }
  .auth-solar-root .auth-solar-node-badge span:last-child,
  .auth-solar-root [class*="rounded-full"][style*="top:"] span:last-child {
    font-size: 5.5px !important;
  }
  .auth-solar-root h2,
  .auth-solar-root .auth-solar-title {
    font-size: 14px !important;
  }
  .auth-solar-root .auth-solar-center,
  .auth-solar-root div[class*="z-20"][class*="flex-col"] {
    max-width: 300px !important;
    transform: scale(0.58) !important;
  }
}

/* 10. Ultra-Small Mobile (Width <= 360px or Height <= 440px) */
@media (max-width: 360px), (max-height: 440px) {
  .auth-solar-root .auth-solar-orbit-container,
  .auth-solar-root > div.relative.flex.items-center.justify-center {
    width: min(270px, 76vw, 60vh) !important;
    height: min(270px, 76vw, 60vh) !important;
  }
  .auth-solar-root .auth-solar-center,
  .auth-solar-root div[class*="z-20"][class*="flex-col"] {
    transform: scale(0.50) !important;
  }
}

/* SECURE HUB - MASTER CONSOLE THEME CONTRAST & RECHARGE WALLET SYSTEM */

/* ==========================================================================
   SECURE HUB - MASTER CONSOLE THEME CONTRAST & RECHARGE WALLET SYSTEM
   Ensures 100% highlighted, high-contrast text and responsive layout in all views
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RECHARGE WALLET CARD (DARK THEME - DEFAULT & ACTIVE)
   -------------------------------------------------------------------------- */
html:not(.light-mode) .sh-recharge-wallet-card,
body:not(.light-mode) .sh-recharge-wallet-card,
.sh-recharge-wallet-card {
  background: linear-gradient(145deg, #0d1527 0%, #060b16 100%) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.5) !important;
  border-radius: 24px !important;
  padding: 28px 32px !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.75), 0 0 25px rgba(245, 158, 11, 0.15) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.25s ease !important;
}

html:not(.light-mode) .sh-recharge-top-bar,
.sh-recharge-top-bar {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, #f59e0b 0%, #ea580c 50%, #38bdf8 100%) !important;
}

html:not(.light-mode) .sh-recharge-header-row,
.sh-recharge-header-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 22px !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

html:not(.light-mode) .sh-recharge-title,
.sh-recharge-title {
  margin: 0 !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.45), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

html:not(.light-mode) .sh-recharge-subtitle,
.sh-recharge-subtitle {
  margin: 5px 0 0 0 !important;
  font-size: 13.5px !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  font-weight: 700 !important;
}

html:not(.light-mode) .sh-recharge-minmax,
.sh-recharge-minmax {
  font-size: 11.5px !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  -webkit-text-fill-color: #38bdf8 !important;
  background: rgba(14, 165, 233, 0.16) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.45) !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2) !important;
}

/* Input container */
html:not(.light-mode) .sh-recharge-input-wrap,
.sh-recharge-input-wrap {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  background: #040814 !important;
  border: 2px solid rgba(245, 158, 11, 0.65) !important;
  border-radius: 16px !important;
  padding: 6px 14px !important;
  transition: all 0.2s ease !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 16px rgba(245, 158, 11, 0.18) !important;
  margin-bottom: 20px !important;
  gap: 12px !important;
}

html:not(.light-mode) .sh-recharge-input-wrap:focus-within,
.sh-recharge-input-wrap:focus-within {
  border-color: #f59e0b !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 22px rgba(245, 158, 11, 0.38) !important;
}

html:not(.light-mode) .sh-recharge-input-row,
.sh-recharge-input-row {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 240px !important;
  min-width: 180px !important;
}

html:not(.light-mode) .sh-recharge-currency,
.sh-recharge-currency {
  font-size: 26px !important;
  font-weight: 900 !important;
  color: #f59e0b !important;
  -webkit-text-fill-color: #f59e0b !important;
  padding: 0 8px 0 4px !important;
  user-select: none !important;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.5) !important;
}

/* High-specificity rules for the amount input */
html:not(.light-mode) #sh-recharge-wallet-card input.sh-recharge-input,
html:not(.light-mode) #sh-recharge-wallet-card input.sh-recharge-input[type="number"],
html:not(.light-mode) .sh-recharge-input-wrap input,
#sh-recharge-wallet-card input.sh-recharge-input,
#sh-recharge-wallet-card input.sh-recharge-input[type="number"],
.sh-recharge-input-wrap input.sh-recharge-input,
.sh-recharge-input {
  flex: 1 !important;
  padding: 12px 10px !important;
  border: none !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: transparent !important;
  background-color: transparent !important;
  outline: none !important;
  font-family: monospace !important;
  opacity: 1 !important;
}

html:not(.light-mode) #sh-recharge-wallet-card input.sh-recharge-input::placeholder,
.sh-recharge-input-wrap input::placeholder {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  opacity: 1 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}

html:not(.light-mode) .sh-recharge-btn,
.sh-recharge-btn {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 50%, #f97316 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1.5px solid #fdba74 !important;
  border-radius: 12px !important;
  padding: 14px 28px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.5), 0 0 16px rgba(249, 115, 22, 0.3) !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  flex: 0 0 auto !important;
}

html:not(.light-mode) .sh-recharge-btn:hover:not(:disabled),
.sh-recharge-btn:hover:not(:disabled) {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.65), 0 0 20px rgba(249, 115, 22, 0.45) !important;
}

/* Quick Select Pills */
html:not(.light-mode) .sh-quick-row,
.sh-quick-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-bottom: 24px !important;
}

html:not(.light-mode) .sh-quick-label,
.sh-quick-label {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #fbbf24 !important;
  -webkit-text-fill-color: #fbbf24 !important;
  margin-right: 4px !important;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.3) !important;
}

html:not(.light-mode) .sh-quick-btn,
.sh-quick-btn {
  border-radius: 12px !important;
  padding: 8px 18px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

html:not(.light-mode) .sh-quick-btn-unselected,
.sh-quick-btn-unselected {
  background: rgba(30, 41, 59, 0.9) !important;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  border: 1.5px solid rgba(148, 163, 184, 0.35) !important;
}

html:not(.light-mode) .sh-quick-btn-unselected:hover,
.sh-quick-btn-unselected:hover {
  background: rgba(51, 65, 85, 0.95) !important;
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  -webkit-text-fill-color: #38bdf8 !important;
  transform: translateY(-1px) !important;
}

html:not(.light-mode) .sh-quick-btn-selected,
.sh-quick-btn-selected {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1.5px solid #f97316 !important;
  box-shadow: 0 0 16px rgba(234, 88, 12, 0.55) !important;
}

/* Security Bar */
html:not(.light-mode) .sh-recharge-security-bar,
.sh-recharge-security-bar {
  background: rgba(10, 16, 30, 0.85) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  padding: 14px 20px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

html:not(.light-mode) .sh-security-lock-text,
.sh-security-lock-text {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: #4ade80 !important;
  -webkit-text-fill-color: #4ade80 !important;
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.3) !important;
}

html:not(.light-mode) .sh-accepted-wrap,
.sh-accepted-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

html:not(.light-mode) .sh-accepted-label,
.sh-accepted-label {
  font-size: 11.5px !important;
  font-weight: 800 !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

html:not(.light-mode) .sh-accepted-chip,
.sh-accepted-chip {
  background: rgba(30, 41, 59, 0.95) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  -webkit-text-fill-color: #38bdf8 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

/* --------------------------------------------------------------------------
   2. LOGIN CARD INPUT & TEXT CONTRAST SYSTEM (BULLETPROOF FIX)
   Ensures username and password inputs are never white rectangles in dark mode
   and never black boxes in light mode, with 100% crisp highlighted text.
   -------------------------------------------------------------------------- */
/* DARK MODE: Sleek Obsidian Inputs with Cyan Glowing Accents */
html:not(.light-mode) .sh-login-card,
html:not(.light-mode) #sh-login-form-card .sh-login-card,
html:not(.light-mode) .sh-portal-login-root {
  background: #030712 !important;
  background-color: #030712 !important;
  color: #f1f5f9 !important;
}

html:not(.light-mode) .sh-login-card {
  background: linear-gradient(180deg, #070d1e 0%, #050914 100%) !important;
  background-color: #070d1e !important;
  border: 1.5px solid rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(13, 148, 136, 0.2) !important;
}

html:not(.light-mode) .sh-login-card h1,
html:not(.light-mode) .sh-login-card h2,
html:not(.light-mode) #login-form-card h1,
html:not(.light-mode) #login-form-card h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 900 !important;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2) !important;
}

html:not(.light-mode) .sh-login-card p,
html:not(.light-mode) #login-form-card p {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

html:not(.light-mode) .sh-login-input-row,
html:not(.light-mode) .sh-login-field,
html:not(.light-mode) #sh-login-form-card .sh-login-input-row,
html:not(.light-mode) #sh-login-form-card .sh-login-field,
html:not(.light-mode) #login-form-card .sh-login-input-row,
html:not(.light-mode) #login-form-card .sh-login-field {
  background: #060c1c !important;
  background-color: #060c1c !important;
  border: 1.5px solid rgba(56, 189, 248, 0.45) !important;
  border-radius: 14px !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.12) !important;
  transition: all 0.2s ease !important;
}

html:not(.light-mode) .sh-login-input-row:hover,
html:not(.light-mode) .sh-login-field:hover,
html:not(.light-mode) #sh-login-form-card .sh-login-input-row:hover,
html:not(.light-mode) #login-form-card .sh-login-field:hover {
  background: #081124 !important;
  background-color: #081124 !important;
  border-color: rgba(56, 189, 248, 0.7) !important;
}

html:not(.light-mode) .sh-login-input-row:focus-within,
html:not(.light-mode) .sh-login-field:focus-within,
html:not(.light-mode) #sh-login-form-card .sh-login-input-row:focus-within,
html:not(.light-mode) #login-form-card .sh-login-field:focus-within {
  background: #09152b !important;
  background-color: #09152b !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.4) !important;
}

html:not(.light-mode) input.sh-login-input,
html:not(.light-mode) #username,
html:not(.light-mode) #password,
html:not(.light-mode) .sh-login-card input:not([type="checkbox"]):not([type="submit"]):not([type="button"]),
html:not(.light-mode) #login-form-card input:not([type="checkbox"]):not([type="submit"]):not([type="button"]) {
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  opacity: 1 !important;
}

html:not(.light-mode) input.sh-login-input::placeholder,
html:not(.light-mode) #username::placeholder,
html:not(.light-mode) #password::placeholder {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

/* Autofill Fix for Dark Mode */
html:not(.light-mode) input.sh-login-input:-webkit-autofill,
html:not(.light-mode) input.sh-login-input:-webkit-autofill:hover,
html:not(.light-mode) input.sh-login-input:-webkit-autofill:focus,
html:not(.light-mode) input.sh-login-input:-webkit-autofill:active,
html:not(.light-mode) #username:-webkit-autofill,
html:not(.light-mode) #password:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #060c1c inset !important;
  box-shadow: 0 0 0 1000px #060c1c inset !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* Labels and Badges in Dark Mode */
html:not(.light-mode) .sh-login-label,
html:not(.light-mode) label[for="username"],
html:not(.light-mode) label[for="password"] {
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
  font-weight: 800 !important;
}

html:not(.light-mode) .sh-login-badge {
  color: #38bdf8 !important;
  -webkit-text-fill-color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
}

html:not(.light-mode) .sh-input-icon-wrap svg,
html:not(.light-mode) .sh-login-field__ico span {
  stroke: #38bdf8 !important;
  color: #38bdf8 !important;
}

html:not(.light-mode) .sh-password-toggle,
html:not(.light-mode) .sh-login-eye {
  color: #94a3b8 !important;
}
html:not(.light-mode) .sh-password-toggle svg,
html:not(.light-mode) .sh-login-eye span {
  stroke: #94a3b8 !important;
  color: #94a3b8 !important;
}
html:not(.light-mode) .sh-password-toggle:hover svg,
html:not(.light-mode) .sh-login-eye:hover span {
  stroke: #38bdf8 !important;
  color: #38bdf8 !important;
}

/* LIGHT MODE: Crisp White Inputs with High-Contrast Slate Text */
html.light-mode .sh-login-card,
html.light-mode #sh-login-form-card .sh-login-card {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12), 0 0 25px rgba(13, 130, 138, 0.08) !important;
  color: #0f172a !important;
}

html.light-mode .sh-portal-login-root {
  background-color: #f8fafc !important;
}

html.light-mode .sh-portal-login-root header.sh-login-header {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html.light-mode .sh-login-card h1,
html.light-mode .sh-login-card h2,
html.light-mode #login-form-card h1,
html.light-mode #login-form-card h2 {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-weight: 900 !important;
}

html.light-mode .sh-login-card p,
html.light-mode #login-form-card p {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

html.light-mode .sh-login-input-row,
html.light-mode .sh-login-field,
html.light-mode #sh-login-form-card .sh-login-input-row,
html.light-mode #sh-login-form-card .sh-login-field,
html.light-mode #login-form-card .sh-login-input-row,
html.light-mode #login-form-card .sh-login-field {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 14px !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

html.light-mode .sh-login-input-row:focus-within,
html.light-mode .sh-login-field:focus-within,
html.light-mode #sh-login-form-card .sh-login-input-row:focus-within,
html.light-mode #login-form-card .sh-login-field:focus-within {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

html.light-mode input.sh-login-input,
html.light-mode #username,
html.light-mode #password,
html.light-mode .sh-login-card input:not([type="checkbox"]):not([type="submit"]):not([type="button"]),
html.light-mode #login-form-card input:not([type="checkbox"]):not([type="submit"]):not([type="button"]) {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  background: transparent !important;
  background-color: transparent !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  opacity: 1 !important;
}

html.light-mode input.sh-login-input::placeholder,
html.light-mode #username::placeholder,
html.light-mode #password::placeholder {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
}

/* Autofill Fix for Light Mode */
html.light-mode input.sh-login-input:-webkit-autofill,
html.light-mode input.sh-login-input:-webkit-autofill:hover,
html.light-mode input.sh-login-input:-webkit-autofill:focus,
html.light-mode input.sh-login-input:-webkit-autofill:active,
html.light-mode #username:-webkit-autofill,
html.light-mode #password:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #f8fafc inset !important;
  box-shadow: 0 0 0 1000px #f8fafc inset !important;
  -webkit-text-fill-color: #0f172a !important;
  color: #0f172a !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* Labels and Badges in Light Mode */
html.light-mode .sh-login-label,
html.light-mode label[for="username"],
html.light-mode label[for="password"] {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-weight: 800 !important;
}

html.light-mode .sh-login-badge {
  color: #0369a1 !important;
  -webkit-text-fill-color: #0369a1 !important;
  background: #e0f2fe !important;
  border: 1px solid #bae6fd !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
}

html.light-mode .sh-input-icon-wrap svg,
html.light-mode .sh-login-field__ico span {
  stroke: #64748b !important;
  color: #64748b !important;
}

html.light-mode .sh-password-toggle,
html.light-mode .sh-login-eye {
  color: #64748b !important;
}
html.light-mode .sh-password-toggle svg,
html.light-mode .sh-login-eye span {
  stroke: #64748b !important;
  color: #64748b !important;
}
html.light-mode .sh-password-toggle:hover svg,
html.light-mode .sh-login-eye:hover span {
  stroke: #0284c7 !important;
  color: #0284c7 !important;
}

/* --------------------------------------------------------------------------
   3. RECHARGE WALLET CARD (LIGHT THEME SUPPORT)
   -------------------------------------------------------------------------- */
html.light-mode .sh-recharge-wallet-card,
body.light-mode .sh-recharge-wallet-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px #e2e8f0 !important;
}

html.light-mode .sh-recharge-title {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  text-shadow: none !important;
}

html.light-mode .sh-recharge-subtitle {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

html.light-mode .sh-recharge-minmax {
  color: #0369a1 !important;
  -webkit-text-fill-color: #0369a1 !important;
  background: #e0f2fe !important;
  border: 1px solid #bae6fd !important;
  box-shadow: none !important;
}

html.light-mode .sh-recharge-input-wrap {
  background: #ffffff !important;
  border: 2px solid #94a3b8 !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04) !important;
}

html.light-mode .sh-recharge-currency {
  color: #ea580c !important;
  -webkit-text-fill-color: #ea580c !important;
  text-shadow: none !important;
}

html.light-mode #sh-recharge-wallet-card input.sh-recharge-input,
html.light-mode #sh-recharge-wallet-card input.sh-recharge-input[type="number"],
html.light-mode .sh-recharge-input-wrap input {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  background-color: transparent !important;
  border: none !important;
}

html.light-mode .sh-recharge-input::placeholder {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
  opacity: 1 !important;
}

html.light-mode .sh-quick-label {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  text-shadow: none !important;
}

html.light-mode .sh-quick-btn-unselected {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}

html.light-mode .sh-recharge-security-bar {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

html.light-mode .sh-security-lock-text {
  color: #16a34a !important;
  -webkit-text-fill-color: #16a34a !important;
  text-shadow: none !important;
}

html.light-mode .sh-accepted-label {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

html.light-mode .sh-accepted-chip {
  background: #ffffff !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   4. RESPONSIVE MASTER RULES FOR RECHARGE CARD & CONSOLE
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {
  .sh-recharge-wallet-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }
  .sh-recharge-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .sh-recharge-title {
    font-size: 19px !important;
  }
  .sh-recharge-subtitle {
    font-size: 12.5px !important;
  }
  .sh-recharge-input-wrap {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 10px 12px !important;
    gap: 12px !important;
  }
  .sh-recharge-input-row {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    flex: 1 1 100% !important;
  }
  .sh-recharge-currency {
    font-size: 24px !important;
  }
  .sh-recharge-input {
    font-size: 20px !important;
  }
  .sh-recharge-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 18px !important;
    font-size: 15px !important;
    border-radius: 10px !important;
    flex: 1 1 100% !important;
  }
  .sh-quick-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .sh-quick-label {
    grid-column: span 3 !important;
    margin-bottom: 2px !important;
  }
  .sh-quick-btn {
    padding: 9px 6px !important;
    font-size: 13px !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .sh-recharge-security-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 12px 14px !important;
  }
  .sh-accepted-wrap {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .sh-quick-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .sh-quick-label {
    grid-column: span 2 !important;
  }
}

/* --------------------------------------------------------------------------
   5. UNIVERSAL HIGH-CONTRAST & HIGHLIGHTED TEXT ACROSS CONSOLE & PORTAL
   -------------------------------------------------------------------------- */
/* Only target workspace light containers, NOT the login card */
html:not(.light-mode) div.wooden-main div[class*="bg-white"],
html:not(.light-mode) div.wooden-main div.bg-white,
html:not(.light-mode) div.wooden-main section[class*="bg-white"],
html:not(.light-mode) div.wooden-main [class*="bg-slate-50"],
html:not(.light-mode) div.wooden-main [class*="bg-gray-50"],
html:not(.light-mode) div.wooden-main [class*="bg-gray-100"] {
  color: #0f172a !important;
}

html:not(.light-mode) div.wooden-main div[class*="bg-white"] h1,
html:not(.light-mode) div.wooden-main div[class*="bg-white"] h2,
html:not(.light-mode) div.wooden-main div[class*="bg-white"] h3,
html:not(.light-mode) div.wooden-main div[class*="bg-white"] h4,
html:not(.light-mode) div.wooden-main div.bg-white h1,
html:not(.light-mode) div.wooden-main div.bg-white h2,
html:not(.light-mode) div.wooden-main div.bg-white h3,
html:not(.light-mode) div.wooden-main div.bg-white h4,
html:not(.light-mode) div.wooden-main [class*="bg-slate-50"] h1,
html:not(.light-mode) div.wooden-main [class*="bg-slate-50"] h2,
html:not(.light-mode) div.wooden-main [class*="bg-slate-50"] h3 {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

html:not(.light-mode) div.wooden-main div[class*="bg-white"] p:not([class*="text-"]):not([class*="bg-"]),
html:not(.light-mode) div.wooden-main div.bg-white p:not([class*="text-"]):not([class*="bg-"]),
html:not(.light-mode) div.wooden-main [class*="bg-slate-50"] p:not([class*="text-"]) {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  font-weight: 600 !important;
}

html:not(.light-mode) div.wooden-main div[class*="bg-white"] label,
html:not(.light-mode) div.wooden-main div.bg-white label {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-weight: 800 !important;
}

/* Any input inside a workspace light container */
html:not(.light-mode) div.wooden-main div[class*="bg-white"] input:not(.sh-login-input):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
html:not(.light-mode) div.wooden-main div.bg-white input:not(.sh-login-input):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
html:not(.light-mode) div.wooden-main [class*="bg-slate-50"] input:not(.sh-login-input):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
html:not(.light-mode) div.wooden-main input.bg-white:not(.sh-login-input) {
  background-color: #ffffff !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  border: 1.5px solid #94a3b8 !important;
  font-weight: 700 !important;
}

/* Any heading or label in dark console cards */
html:not(.light-mode) .wooden-main h1:not([class*="text-"]),
html:not(.light-mode) .wooden-main h2:not([class*="text-"]),
html:not(.light-mode) .wooden-main h3:not([class*="text-"]) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 900 !important;
}

html:not(.light-mode) .wooden-main p:not([class*="text-"]):not([class*="bg-"]) {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  font-weight: 600 !important;
}

/* Tables across transaction history and console */
html:not(.light-mode) table th {
  color: #fbbf24 !important;
  -webkit-text-fill-color: #fbbf24 !important;
  font-weight: 800 !important;
}

html:not(.light-mode) table td {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  font-weight: 600 !important;
}

html:not(.light-mode) table td .text-slate-400,
html:not(.light-mode) table td .text-gray-400 {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}
