:root {
  --primary-color: #4f46e5;
  --primary-hover: #4338ca;
  --bg-color: #f3f4f6;
  --card-bg: #ffffff;
  --text-color: #1f2937;
  --border-color: #e5e7eb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

#app {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 900px;
  width: 100%;
  background: var(--card-bg);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  #app {
    grid-template-columns: 1fr 1fr;
  }
}

h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: #111827;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

/* Schedule section styling */
.day-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}

.day-row label {
  width: 90px;
  font-weight: 600;
  font-size: 0.9rem;
}

.day-row input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.day-row input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Wheel section styling */
#wheel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wheel-wrapper {
  position: relative;
  margin-bottom: 20px;
}

/* De pijl die bovenaan het rad aanwijst */
.pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 25px solid #ef4444;
  z-index: 10;
}

#wheel-canvas {
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

#spin-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  width: 100%;
  max-width: 250px;
}

#spin-btn:hover {
  background-color: var(--primary-hover);
}

#spin-btn:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

#result-display {
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  min-height: 30px;
  color: var(--primary-color);
}