/* Custom styles for professional audio equipment look */

body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

/* Knob styling enhancements */
.knob-shadow {
  box-shadow: 
    inset 0 0 0 1px rgba(255,255,255,0.1),
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -1px 0 rgba(0,0,0,0.5),
    0 2px 4px rgba(0,0,0,0.5);
}

/* LED glow effects */
.led-glow {
  filter: drop-shadow(0 0 3px currentColor);
}

/* VU meter styling */
.vu-segment {
  transition: all 0.1s ease-out;
}

/* Canvas oscilloscope styling */
canvas {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

/* Professional button styling */
button {
  transition: all 0.2s ease;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

button:active {
  transform: translateY(1px);
}

/* XLR connector styling */
.xlr-connector {
  background: radial-gradient(circle at 30% 30%, #e5e5e5, #999);
  box-shadow: 
    inset 0 0 0 2px #666,
    inset 0 2px 4px rgba(0,0,0,0.3),
    0 4px 8px rgba(0,0,0,0.5);
}

/* Professional panel styling */
.panel-bg {
  background: linear-gradient(145deg, #2d3748, #1a202c);
  box-shadow: 
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    0 4px 6px rgba(0,0,0,0.3);
}

/* Range slider styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-track {
  background: #374151;
  height: 6px;
  border-radius: 3px;
  border: 1px solid #4b5563;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(145deg, #d1d5db, #9ca3af);
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 2px solid #374151;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

input[type="range"]::-moz-range-track {
  background: #374151;
  height: 6px;
  border-radius: 3px;
  border: 1px solid #4b5563;
}

input[type="range"]::-moz-range-thumb {
  background: linear-gradient(145deg, #d1d5db, #9ca3af);
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 2px solid #374151;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  cursor: pointer;
}

/* Select dropdown styling */
select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .grid-cols-3 {
    grid-template-columns: 1fr;
  }
  
  .text-4xl {
    font-size: 2rem;
  }
  
  canvas {
    max-width: 100%;
    height: auto;
  }
}

/* Animation for signal presence */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.signal-active {
  animation: pulse 1s ease-in-out infinite;
}

/* Professional typography */
.mono {
  font-family: 'Courier New', monospace;
  font-weight: bold;
}