
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Courier New', monospace;
  background-color: #000000;
  color: #00ff00;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

.container {
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: #000000;
}

h1 {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 14px;
  color: #00ff00;
  font-weight: normal;
  letter-spacing: 1px;
  z-index: 10;
}

.controls {
  position: absolute;
  top: 30px;
  right: 10px;
  display: flex;
  gap: 5px;
  align-items: center;
  z-index: 10;
}

.file-label {
  cursor: pointer;
  background-color: transparent;
  color: #00ff00;
  padding: 4px 8px;
  border: 1px solid #00ff00;
  font-size: 10px;
  font-family: 'Courier New', monospace;
  transition: all 0.2s;
}

.file-label:hover {
  background-color: #00ff00;
  color: #000000;
}

input[type="file"] {
  display: none;
}

button {
  padding: 4px 8px;
  font-size: 10px;
  font-family: 'Courier New', monospace;
  color: #00ff00;
  background-color: transparent;
  border: 1px solid #00ff00;
  cursor: pointer;
  transition: all 0.2s;
}

button:hover:not(:disabled) {
  background-color: #00ff00;
  color: #000000;
}

button:disabled {
  border-color: #333;
  color: #333;
  cursor: not-allowed;
}

.experimental-controls {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.experimental-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #00ff00;
  font-size: 9px;
  font-family: 'Courier New', monospace;
}

.experimental-controls input[type="range"] {
  width: 60px;
  height: 2px;
  background: #333;
  outline: none;
  -webkit-appearance: none;
}

.experimental-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  background: #00ff00;
  cursor: pointer;
}

.experimental-controls input[type="range"]::-moz-range-thumb {
  width: 8px;
  height: 50px;
  background: #00ff00;
  cursor: pointer;
  border: none;
}

#visualizer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 85vh;
  background-color: transparent;
  z-index: 2;
  pointer-events: none;
}

.status-panel {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  z-index: 10;
}

.status-box {
  background-color: transparent;
  color: #00ff00;
  font-family: 'Courier New', monospace;
  font-size: 9px;
  text-align: right;
  border: none;
  padding: 0;
  opacity: 0.8;
}

.instructions {
  display: none;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #000000;
  margin: 5% auto;
  padding: 0;
  border: 2px solid #00ff00;
  width: 80%;
  max-width: 600px;
  max-height: 80vh;
  font-family: 'Courier New', monospace;
  color: #00ff00;
  border-radius: 0;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #00ff00;
}

.modal-header h2 {
  margin: 0;
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 1px;
}

.close-modal {
  color: #00ff00;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close-modal:hover {
  color: #ffffff;
}

.modal-body {
  padding: 20px;
  max-height: 60vh;
  overflow-y: auto;
}

.sample-list {
  margin-bottom: 20px;
  max-height: 40vh;
  overflow-y: auto;
  border: 1px solid #333;
  padding: 10px;
}

.sample-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #333;
  font-size: 11px;
}

.sample-item:last-child {
  border-bottom: none;
}

.sample-checkbox {
  margin-right: 10px;
  accent-color: #00ff00;
}

.sample-name {
  flex-grow: 1;
  margin-right: 10px;
}

.sample-info {
  font-size: 9px;
  color: #888;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  border-top: 1px solid #333;
  padding-top: 15px;
}

.modal-button {
  padding: 8px 16px;
  font-size: 10px;
  font-family: 'Courier New', monospace;
  background-color: transparent;
  border: 1px solid #00ff00;
  color: #00ff00;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-button:hover {
  background-color: #00ff00;
  color: #000000;
}

.delete-btn {
  border-color: #ff4444;
  color: #ff4444;
}

.delete-btn:hover {
  background-color: #ff4444;
  color: #000000;
}

.clear-btn {
  border-color: #ff8800;
  color: #ff8800;
}

.clear-btn:hover {
  background-color: #ff8800;
  color: #000000;
}
