:root {
  --primary-color: #ffffff;
  --primary-dark: #1ca56c;
  --background-body: #18262d;
  --background-card: #152126;
  --text: #f0f0f0;
  --text-muted: #bbb;
  --radius: 10px;
}

* {
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--background-body);
  padding: 0.7rem;
  color: var(--text);
}

.container {
  max-width: 1100px;
  background-color: var(--background-card);
  margin: auto;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid #373737;
}

h1,
h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

select {
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  border: 1px solid #2e3e44;
  background-color: #1e2f37;
  color: var(--text);
  font-size: 1rem;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.form-actions button {
  background-color: var(--primary-dark);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
}

.form-actions button:hover {
  background-color: #17975f;
}

.draw-item {
  background-color: #1e2f37;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid #2e3e44;
  margin-bottom: 1rem;
}

.draw-item strong {
  color: var(--primary-color);
}

.draw-item button {
  margin-top: 0.5rem;
  background-color: var(--primary-dark);
  color: #fff;
  padding: 0.4rem 1rem;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  cursor: pointer;
}

.draw-item button:hover {
  background-color: #17975f;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal__content {
  background-color: var(--background-card);
  padding: 2rem;
  border-radius: var(--radius);
  width: 90%;
  max-width: 500px;
}

.modal__content h2 {
  text-align: left;
}

.modal__content p {
  margin: 0.5rem 0;
}

.modal__content .form-actions {
  margin-top: 1rem;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions button {
    width: 100%;
  }
}