body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #f4f6f9;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Container */
.container {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 450px;
  text-align: center;
}

/* Headline */
h1 {
  font-size: 2.4rem;
  margin-bottom: 0.3rem;
  color: #2c3e50;
}

.tagline {
  font-size: 1rem;
  color: #7f8c8d;
  margin-bottom: 30px;
}

/* Form styling */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

input {
  padding: 12px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  padding: 12px;
  font-size: 1rem;
  border: none;
  background-color: #2ecc71;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #27ae60;
}

/* Gauge container */
.gauge {
  position: relative;
  width: 300px;
  height: 150px;
  margin: 0 auto;
  border-top-left-radius: 300px;
  border-top-right-radius: 300px;
  overflow: hidden;
}

/* Gauge background zones */
.gauge-zone {
  position: absolute;
  bottom: 0;
  width: 33.33%;
  height: 100%;
  border-top: 8px solid transparent;
}

.green {
  left: 0;
  background-color: #2ecc71;
}

.grey {
  left: 33.33%;
  background-color: #bdc3c7;
}

.red {
  left: 66.66%;
  background-color: #e74c3c;
}

/* Needle */
.needle {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4px;
  height: 120px;
  background-color: black;
  transform-origin: bottom center;
  transform: rotate(0deg);
  transition: transform 0.6s ease-in-out;
  z-index: 10;
}

/* Label below gauge */
.value-label {
  margin-top: 20px;
  font-size: 1rem;
  font-weight: bold;
  color: #34495e;
}
