/* Container */
#schoolForm {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  border-radius: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 -3px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Dropdowns */
#schoolForm select {
  flex: 1; /* stretch equally */
  min-width: 180px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  transition: all 0.2s ease;
  cursor: pointer;
}

#schoolForm select:focus {
  border-color: #520000;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

/* Button */
#schoolForm button {
  max-width: 120px;
  padding: 0.8rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: #520000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

#schoolForm button:hover {
  background: #520000;
}

#schoolForm button:active {
  transform: scale(0.97);
}

/* Mobile (stacked) */
@media (max-width: 640px) {
  #schoolForm {
    flex-direction: column;
  }

  #schoolForm select,
  #schoolForm button {
    width: 100%;
    max-width: 100%;
  }
}

