/* Random Number Generator 1-41 Scoped Styles */
.rand41-generator {
  font-family: Arial, sans-serif;
  max-width: 500px;
  margin: 30px auto;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.rand41-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #222;
}

.rand41-options {
  margin-bottom: 15px;
}

.rand41-label {
  margin-right: 10px;
  font-size: 1rem;
}

.rand41-quantity {
  padding: 8px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.rand41-output-container {
  margin-bottom: 15px;
}

.rand41-output {
  width: 100%;
  font-size: 1.5rem;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  pointer-events: none;
}

.rand41-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.rand41-btn {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.rand41-btn:hover {
  background-color: #45a049;
}

@media (max-width: 600px) {
  .rand41-btn { flex: 1 1 100%; }
  .rand41-options { display: flex; flex-direction: column; align-items: center; }
  .rand41-label { margin-bottom: 5px; }
}
