/* Modem Base Styles - Shared structure for all modem visualizations */

.modem-faceplate {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  border-radius: 4px;
  overflow: hidden;
  max-width: 100%;
  min-height: 63px;
  max-height: 83px;
  flex-wrap: nowrap;
}

@media (max-width: 768px) {
  .modem-faceplate {
    gap: 8px;
    padding: 8px 10px;
    min-height: 55px;
    max-height: 70px;
  }
}

@media (max-width: 450px) {
  .modem-faceplate {
    gap: 4px;
    padding: 6px 8px;
    font-size: 11px;
    transform: scale(0.92);
    transform-origin: left center;
  }
}

.modem-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 12px;
  border-right: 1px solid rgba(255,255,255,0.1);
  min-width: 80px;
}

.brand-logo {
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.speed-indicator {
  font-size: 9px;
  opacity: 0.7;
  font-weight: 500;
}

.modem-lights {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  flex: 0 0 auto;
}

.light-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.light-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: all 0.15s ease;
  background: #1a1a1a;
  border: 1px solid #333;
}

.light-led.red.active {
  background: #ff3333;
  border-color: #ff0000;
  box-shadow: 0 0 10px #ff3333, 0 0 20px rgba(255, 51, 51, 0.5);
}

.light-led.amber.active {
  background: #ffaa00;
  border-color: #ff8800;
  box-shadow: 0 0 10px #ffaa00, 0 0 20px rgba(255, 170, 0, 0.5);
}

.light-led.green.active {
  background: #33ff33;
  border-color: #00ff00;
  box-shadow: 0 0 10px #33ff33, 0 0 20px rgba(51, 255, 51, 0.5);
}

.light-label {
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
  opacity: 0.8;
}

.volume-knob-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}

.volume-knob {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.volume-knob-dial {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: transform 0.1s ease;
  user-select: none;
}

.volume-knob-indicator {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 8px;
  border-radius: 1px;
}

.volume-label {
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
  opacity: 0.8;
}

.spkr-button-container {
  padding: 0 8px;
}

.spkr-button {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 16px;
  user-select: none;
}

.spkr-button:active {
  transform: scale(0.95);
}

.modem-display {
  flex: 1;
  min-width: 0;
  padding: 6px 8px;
  font-family: "Courier New", monospace;
  font-size: 10px;
  line-height: 1.4;
  overflow: hidden;
  border-radius: 2px;
}

.modem-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
