body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #01d65aef, #012c0f);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  align-items: center;
  color: #333;
}

#quiz-container {
  background: #fff;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow:
    0 10px 20px rgba(255, 255, 255, 0.3),
    0 6px 6px rgba(118, 75, 162, 0.15);
  width: 100%;
  max-width: 480px;
  transition: transform 0.3s ease;
}

#quiz-container:hover {
  transform: translateY(-6px);
  box-shadow:
    0 15px 30px rgba(0, 255, 64, 0.4),
    0 10px 10px rgba(118, 75, 162, 0.2);
}

h1 {
  font-weight: 700;
  font-size: 1.9rem;
  margin-bottom: 1.6rem;
  color: #000000;
  text-align: center;
  letter-spacing: 0.03em;
}

label {
  display: block;
  padding: 0.9rem 1.2rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: #f5f5ff;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.25s ease;
  user-select: none;
  box-shadow: inset 0 0 5px transparent;
}

label:hover {
  background-color: #e0e4ff;
}

input[type="radio"],
input[type="checkbox"] {
  margin-right: 0.75rem;
  accent-color: #009b27; /* cor do rádio no Chrome/Edge */
}

button {
  margin-top: 1.6rem;
  width: 100%;
  padding: 0.85rem 0;
  border: none;
  background: #01b63d;
  color: white;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(1, 187, 57, 0.5);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
  background-color: #00eb5a;
  box-shadow: 0 8px 20px rgba(0, 202, 67, 0.7);
}

#progress-container {
  background-color: #eee;
  border-radius: 12px;
  overflow: hidden;
  height: 12px;
  margin-bottom: 2rem;
  width: 100%;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

#progress-bar {
  background: linear-gradient(90deg, #6c63ff, #8a79ff);
  height: 100%;
  width: 0%;
  border-radius: 12px 0 0 12px;
  transition: width 0.4s ease;
}

.weight-slider,
.height-slider {
  margin: 20px 0;
}

input[type="range"] {
  width: 100%;
}

.weight-display,
.height-display {
  font-size: 24px;
  margin-top: 10px;
  text-align: center;
}

.expema {
  width: 400px;
}

.logoquiz {
  width: 300px;
  height: auto;
  display: flex;
  justify-content: center;
  margin: 0 auto 20px;
}

#loading-bar {
  height: 30px;
  width: 0;
  background-color: #4caf50;
  text-align: center;
  line-height: 30px;
  color: white;
  font-weight: bold;
  border-radius: 15px;
  transition: width 0.02s linear;
}

.quiz-page input[type="text"] {
  width: 100%;
  max-width: 400px;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  background-color: #fff;
  color: #333;
  margin-top: 10px;
}

.quiz-page input[type="text"]::placeholder {
  color: #aaa;
  font-style: italic;
}

.quiz-page input[type="text"]:focus {
  border-color: #4CAF50;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.3);
}
