:root {
  --bg-color: #f4f7f6;
  --container-bg: #ffffff;
  --text-color: #333333;
  --button-bg: #6200ee;
  --button-hover: #3700b3;
  --shadow-color: rgba(0,0,0,0.1);
  --input-bg: #ffffff;
  --input-border: #cccccc;
}

[data-theme="dark"] {
  --bg-color: #121212;
  --container-bg: #1e1e1e;
  --text-color: #e0e0e0;
  --button-bg: #bb86fc;
  --button-hover: #9965f4;
  --shadow-color: rgba(0,0,0,0.5);
  --input-bg: #2a2a2a;
  --input-border: #444444;
}

body {
  font-family: 'Arial', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

.container {
  text-align: center;
  background-color: var(--container-bg);
  padding: 3rem;
  margin: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow-color);
  transition: background-color 0.3s, box-shadow 0.3s;
  position: relative;
  max-width: 600px;
  width: 100%;
}

.theme-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  background: none;
  border: 1px solid var(--text-color);
  color: var(--text-color);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  transition: all 0.3s;
}

h1, h2 {
  margin-bottom: 2rem;
}

.balls-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 2rem;
  min-height: 80px;
}

.ball {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

/* Ball Colors */
.yellow { background-color: #fbc02d; }
.blue { background-color: #1976d2; }
.red { background-color: #e53935; }
.gray { background-color: #757575; }
.green { background-color: #43a047; }

#draw-button, .submit-button {
  padding: 12px 24px;
  font-size: 1.1rem;
  font-weight: bold;
  background-color: var(--button-bg);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

#draw-button:hover, .submit-button:hover {
  background-color: var(--button-hover);
}

.divider {
  border: 0;
  border-top: 1px solid var(--input-border);
  margin: 3rem 0;
}

/* Inquiry Form Styles */
.inquiry-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group label {
  font-weight: bold;
}

.form-group input, .form-group textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid var(--input-border);
  background-color: var(--input-bg);
  color: var(--text-color);
  font-size: 1rem;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}
