@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700&display=swap");

header {
  background: #111;
  color: #ffc107;
  padding: 1rem;
  text-align: center;
  font-family: "Orbitron", sans-serif;
  border-bottom: 4px solid #000;
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.5);
}

header h1 {
  font-size: 1.4rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

header p {
  font-size: 0.85rem;
  color: #bbb;
  margin-top: 0.25rem;
  font-family: "Segoe UI", sans-serif;
}

.intro p {
  font-family: "Segoe UI", sans-serif;
  font-size: 0.85rem;
  color: #ddd;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.panel {
  background: #222;
  border: 6px solid #111;
  border-radius: 12px;
  padding: 1rem;
  max-width: 400px;
  margin: 2rem auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  position: relative;
}

.reading {
  background: #000;
  padding: 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  box-shadow: inset 0 0 8px rgba(0, 255, 100, 0.2);
  text-align: center;
  border: 2px solid #444;
}

.reading h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.reading p {
  font-family: "Orbitron", sans-serif;
  color: #00ff66;
  font-size: 2rem;
  font-weight: 700;
}

#runtime {
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0f0;
  background: #000;
  padding: 0.4rem;
  text-align: center;
  border-radius: 4px;
  border: 2px solid #444;
  margin: 1rem 0;
  box-shadow: inset 0 0 4px rgba(0, 255, 100, 0.3);
}

.scale-bar {
  display: flex;
  max-width: 300px;
  margin: 0 auto 1.5rem auto;
  height: 20px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.4);
}

.bar {
  flex: 1;
}

.green {
  background: #4caf50;
}

.yellow {
  background: #ffeb3b;
}

.red {
  background: #f44336;
}

.log-section {
  background: #111;
  border: 2px solid #333;
  border-radius: 6px;
  padding: 0.75rem;
  color: #0f0;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  max-height: 150px;
  overflow-y: auto;
  box-shadow: inset 0 0 6px rgba(0, 255, 100, 0.15);
}

.log-section h3 {
  text-transform: uppercase;
  font-family: "Orbitron", sans-serif;
  font-size: 0.8rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.filters button {
  flex: 1;
  padding: 0.6rem 0.4rem;
  font-size: 0.85rem;
  text-align: center;
  white-space: nowrap;
}

.filters {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: nowrap;
  margin-top: 1rem;
}

button:hover {
  background: #ffb300;
}

#noiseLevel {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #00ff66;
}

#vibrationLevel {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #00ff66;
}

@media (max-width: 480px) {
  .panel {
    width: 90%;
    padding: 1rem;
  }
  .reading p {
    font-size: 1.5rem;
  }
}
