/**
 * NumeraIQ Pricing Section Styles
 * Matching React Pricing.tsx exactly
 */

/* Pricing calculator - visible by default */
.pricing-calculator {
  opacity: 1;
  transform: translateY(0);
}

/* Slider styling (matching React) */
.pricing-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: hsl(var(--dark) / 0.1);
  border-radius: 9999px;
  cursor: pointer;
}

.pricing-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  background: hsl(var(--lime));
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 0 20px hsl(var(--lime) / 0.5);
}

.pricing-slider::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  background: hsl(var(--lime));
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px hsl(var(--lime) / 0.5);
}

/* Volume toggle */
.volume-toggle-icon {
  transition: transform 0.2s ease;
}

.volume-toggle-icon.is-rotated {
  transform: rotate(180deg);
}

/* Volume table animation */
.volume-table {
  transition: height 0.3s ease, opacity 0.3s ease;
}

.volume-table.is-visible {
  height: auto !important;
  opacity: 1 !important;
}

.volume-table table {
  width: 100%;
  border-collapse: collapse;
}

.volume-table th,
.volume-table td {
  padding: 0.75rem 0;
}

.volume-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: hsl(var(--text-muted));
}

.volume-table th:not(:first-child),
.volume-table td:not(:first-child) {
  text-align: right;
}

.volume-table tr {
  border-bottom: 1px solid hsl(var(--dark) / 0.05);
}

.volume-table thead tr {
  border-bottom: 1px solid hsl(var(--dark) / 0.1);
}

/* Responsive */
@media (max-width: 640px) {
  .pricing-calculator .grid-cols-2 {
    grid-template-columns: 1fr;
  }
}
