body {
  font-family: Arial, sans-serif;
  padding: 20px;
  background: #111;
  color: #eee;
}

h1 {
  color: #3399ff;
  text-align: center;
  margin-bottom: 30px;
}

.atributo {
  margin-bottom: 20px;
  padding: 10px;
  background: #222;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 102, 204, 0.6);
}

.atributo label {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
  color: #66b2ff;
}

progress {
  width: 220px;
  height: 20px;
  margin-right: 10px;
  appearance: none;
}

progress::-webkit-progress-bar {
  background: #333;
  border-radius: 5px;
}

progress::-webkit-progress-value {
  background: linear-gradient(90deg, #003366, #3399ff);
  border-radius: 5px;
}

input[type=number] {
  width: 70px;
  padding: 3px;
  border: 1px solid #555;
  border-radius: 5px;
  background: #222;
  color: #eee;
  text-align: center;
}

button {
  padding: 5px 10px;
  margin-left: 5px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

button:hover {
  opacity: 0.85;
}

button.limpar {
  background: #444;
  color: #fff;
}

button.reset {
  margin-top: 15px;
  background: linear-gradient(90deg, #003366, #3399ff);
  color: white;
  font-size: 14px;
  padding: 8px 12px;
}

.status {
  margin-top: 25px;
  padding: 10px;
  text-align: center;
  background: #222;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 102, 204, 0.6);
}

/* ===== Responsividade para mobile ===== */
@media (max-width: 768px) {
  body {
    padding: 10px;
    font-size: 14px;
  }

  h1 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .atributo {
    padding: 8px;
    margin-bottom: 15px;
  }

  progress {
    width: 100%;
    height: 18px;
    margin-bottom: 8px;
  }

  input[type=number] {
    width: 60px;
    font-size: 14px;
  }

  button {
    padding: 6px 10px;
    font-size: 13px;
    margin-top: 5px;
  }

  .status {
    font-size: 14px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 18px;
  }

  input[type=number] {
    width: 50px;
  }

  button {
    display: block;
    width: 100%;
    margin: 5px 0;
  }
}
