/* styles.css for Metrobars Metronome Web App */

/* Simple CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #121212;
  color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background: #1e1e1e;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.7);
  width: 340px;
  text-align: center;
}

h1 {
  margin-bottom: 2rem;
  color: #ffffff;
  font-size: 1.8rem;
}

.display {
  margin-bottom: 2.5rem;
}

.display .tempo-display,
.display .bars-display {
  font-size: 1.3rem;
  margin: 0.8rem 0;
  color: #cccccc;
}

.controls {
  margin-bottom: 2.5rem;
}

.controls button,
.settings button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  margin: 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1.1rem;
}

.controls button:hover,
.settings button:hover {
  background-color: #0069d9;
}

.settings {
  margin-top: 1rem;
}

.settings .control-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.2rem 0;
  padding: 0.3rem 0;
}

/* Center the tap tempo button */
.settings .control-group #tapBtn {
  display: block;
  margin: 0 auto;
  width: 100%;
}

.settings label {
  flex: 1;
  margin-right: 1rem;
  font-size: 1rem;
  color: #cccccc;
}

.settings input[type=range] {
  flex: 2;
}
