/* --- SELECT BUTTONS ON CREATE RACE PAGE --- */
/* Base style, inspired by .tab button */
.race-form .select-button {
  background-color: #111;
  color: #FFDD00;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 16px;
  margin: 6px 4px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.2s, transform 0.05s;
  display: inline-block;
}

/* Hover state: same as tab hover */
.race-form .select-button:hover {
  background-color: #E10600;
  color: #000000;
}

/* Selected state: same idea as .tab button.active */
.race-form .select-button.selected {
  background-color: #FFDD00;
  color: #000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Optional: tiny "pressed" effect when clicking */
.race-form .select-button:active {
  transform: translateY(1px);
}

/* --- SUBMIT BUTTON --- */
/* Make Submit look like a strong primary button in the same theme */
.race-form .submit-button {
  background-color: #E10600;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s, box-shadow 0.2s, transform 0.05s;
}

/* Hover state for Submit */
.race-form .submit-button:hover {
  background-color: #c40000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Pressed effect */
.race-form .submit-button:active {
  transform: translateY(1px);
}

/* Optional: make fieldsets look a bit more card-like */
.race-form .form-section {
  border: 2px solid #000000;
  border-radius: 8px;
  padding: 15px 20px;
  margin: 15px 0;
  background-color: #fffdf3;
}

.race-form .form-section legend {
  font-weight: 700;
  color: #000000;
  padding: 0 6px;
}

/* A lighter container for team/rider name inputs */
.form-subsection {
  margin-top: 10px;
  padding: 10px 0;
}

/* Optional: give labels some spacing */
.form-subsection label {
  font-weight: 600;
  margin-top: 6px;
  display: inline-block;
}

/* Optional: keep input spacing tidy */
.form-subsection input[type="text"] {
  margin: 4px 0;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
