


.controls {
  margin-bottom: 1rem;
}

input[type="number"] {
  width: 60px;
  text-align: center;
  margin: 0 10px;
  padding: 5px;
  border-radius: 5px;
  border: none;
}

button {
  background: #4caf50;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 5px;
  transition: background 0.3s ease;
}

button:hover {
  background: #43a047;
}

.dice-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 1rem;
}

.die {
  width: 60px;
  height: 60px;
  background: #ffffff;
  color: #222; /* make numbers visible */
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, background 0.3s;
}

.die.selected {
  background: #ffca28; /* yellow when held */
  color: #222; /* numbers visible on yellow */
  transform: scale(1.1);
}

.status {
  margin-top: 1rem;
  font-size: 1rem;
  text-align: center;
}

.status p {
  margin: 0.25rem 0;
}
