/* Windows 95 Sound Recorder Styles */

.sound-body {
  background: #c0c0c0;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Menu Bar */
.sound-menubar {
  background: #c0c0c0;
  border-bottom: 1px solid #808080;
  padding: 2px 5px;
  font-size: 11px;
  font-family: "MS Sans Serif", sans-serif;
  display: flex;
  gap: 10px;
}

.sound-menubar .menu-item {
  padding: 2px 8px;
  cursor: url('../img/cursor.png'), auto;
}

.sound-menubar .menu-item:hover {
  background: #000080;
  color: white;
}

/* Display Area */
.sound-display-area {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 5px 10px;
  gap: 8px;
  background: #c0c0c0;
}

.sound-info-box {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
  padding: 8px 6px;
  min-width: 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sound-label {
  font-size: 11px;
  font-family: "MS Sans Serif", sans-serif;
  margin-bottom: 4px;
}

.sound-time {
  font-size: 12px;
  font-family: "MS Sans Serif", sans-serif;
  font-weight: bold;
  background: white;
  border: 1px solid;
  border-color: #808080 #dfdfdf #dfdfdf #808080;
  padding: 3px 4px;
  text-align: center;
}

/* Waveform */
.sound-waveform-container {
  flex: 1;
  background: #000000;
  border: 2px solid;
  border-color: #808080 #dfdfdf #dfdfdf #808080;
  padding: 0;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sound-waveform-canvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

/* Slider */
.sound-slider-container {
  padding: 0px 20px;
  background: #c0c0c0;
}

.sound-slider {
  width: 100%;
  height: 20px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  outline: none;
  cursor: url('../img/cursor.png'), auto;
}

.sound-slider::-webkit-slider-track {
  width: 100%;
  height: 4px;
  background: #ffffff;
  border: 1px solid;
  border-color: #808080 #dfdfdf #dfdfdf #808080;
}

.sound-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 40px;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
  cursor: url('../img/cursor.png'), auto;
}

.sound-slider::-moz-range-track {
  width: 100%;
  height: 4px;
  background: #ffffff;
  border: 1px solid;
  border-color: #808080 #dfdfdf #dfdfdf #808080;
}

.sound-slider::-moz-range-thumb {
  width: 30px;
  height: 40px;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
  cursor: url('../img/cursor.png'), auto;
  border-radius: 0;
}

/* Control Buttons */
.sound-controls {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  padding: 0px 10px;
  background: #c0c0c0;
}

.sound-btn {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
  padding: 10px 8px;
  font-size: 11px;
  font-family: "MS Sans Serif", sans-serif;
  cursor: url('../img/cursor.png'), auto;
  flex: 1;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sound-btn:hover:not(:disabled) {
  background: #d4d4d4;
}

.sound-btn:active:not(:disabled) {
  border-color: #808080 #dfdfdf #dfdfdf #808080;
  padding: 11px 7px 9px 9px;
}

.sound-btn:disabled {
  color: #808080;
  cursor: not-allowed;
}

/* Special styling for stop button */
.stop-btn {
  border: 3px dotted #000000;
  border-style: solid;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
}

/* Button icons */
.btn-icon {
  font-size: 22px;
  font-family: monospace;
  line-height: 1;
  display: inline-block;
  image-rendering: pixelated;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: never;
}
 
