/* ==========================================================================
   StoreXray Web Hub V3.0 — "Obsidian & Emerald Luxury"
   Linear / Stripe / Raycast Aesthetic Supplemental Styles
   ========================================================================== */

:root {
  --bg-obsidian: #050609;
  --bg-panel: #0B0D14;
  --emerald-glow: #10B981;
  --cyan-glow: #06B6D4;
  --amber-gold: #F59E0B;
}

html {
  scroll-behavior: smooth;
  background-color: #050609;
  color: #F8FAFC;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #050609;
  overflow-x: hidden;
}

/* Precision Typography Tracking */
.tracking-linear {
  letter-spacing: -0.035em;
}

.font-mono-num {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
}

/* Technical Grid Mask */
.tech-grid-mask {
  mask-image: radial-gradient(ellipse 80% 65% at 50% 15%, #000 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 15%, #000 55%, transparent 100%);
}

/* Custom Range Sliders (ROI Calculator & Workbench) */
input[type="range"].luxury-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

input[type="range"].luxury-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #ECFDF5;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.8);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

input[type="range"].luxury-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  box-shadow: 0 0 22px rgba(16, 185, 129, 1);
}

input[type="range"].luxury-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #ECFDF5;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.8);
  cursor: pointer;
  transition: transform 0.15s ease;
}

/* Custom Subtle Scrollbars for Excel Workbench */
.excel-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.excel-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.excel-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}
.excel-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.45);
}

/* Subtle Shimmer Border Effect */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.95; }
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Excel Grid Styling */
.xlsx-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.xlsx-table th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #0F172A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.xlsx-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.xlsx-table tr:hover td {
  background: rgba(16, 185, 129, 0.05);
}
