/* ==========================================================================
   Rigsby West / Win The West · Commercial Grade Financial Stylesheet
   Design Standards: Linear / Stripe / Bloomberg Terminal Dark Restraint
   ========================================================================== */

/* Thin, high-density financial scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(11, 18, 32, 0.6);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* Tabular figures for strict financial alignment */
.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Glassmorphism & Hairline borders */
.glass-panel {
  background: rgba(17, 27, 46, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(22, 36, 61, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Interactive slider track styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  outline: none;
  transition: background 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #E3B341;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(227, 179, 65, 0.4);
  transition: transform 0.1s ease, background 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #F5D07A;
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #E3B341;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(227, 179, 65, 0.4);
}

/* Print styling for Cash 2 Keys tear sheet and proforma reports */
@media print {
  body {
    background: #FFFFFF !important;
    color: #0F172A !important;
    font-size: 11pt;
  }

  header, nav, #global-search, .no-print {
    display: none !important;
  }

  .print-only {
    display: block !important;
  }

  .glass-panel, .glass-card {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .text-white {
    color: #0F172A !important;
  }

  .text-slate-400, .text-slate-300, .text-slate-500 {
    color: #475569 !important;
  }

  .text-gold {
    color: #B45309 !important;
  }

  .text-emerald-400 {
    color: #047857 !important;
  }

  table {
    border-collapse: collapse !important;
    width: 100% !important;
  }

  th, td {
    border-bottom: 1px solid #E2E8F0 !important;
    color: #0F172A !important;
  }
}
