/* UK Stock Picker - Custom Styling & Polish */

/* Smooth transitions */
* {
  transition-property: background-color, border-color, color, fill, stroke;
  transition-duration: 150ms;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.7);
}

/* Sparklines SVG */
.sparkline-svg {
  display: block;
  overflow: visible;
}

/* Range input thumb styling */
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #0284c7;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  border: 2px solid #ffffff;
}

input[type="range"]::-moz-range-thumb {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #0284c7;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  border: 2px solid #ffffff;
}

/* Pulse animation for live data */
@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.95); }
}
.live-indicator {
  animation: pulse-live 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Number transition highlights */
.highlight-up {
  color: #10b981 !important;
}
.highlight-down {
  color: #ef4444 !important;
}

/* Modal backdrop blur */
.modal-backdrop {
  backdrop-filter: blur(4px);
}

/* Sticky table header */
.sticky-header th {
  position: sticky;
  top: 0;
  z-index: 10;
}
