form#paspasForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #fff;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0,0,0,0.05);
  max-width: 1400px;
  margin: 40px auto;;
}

form#paspasForm label {
  font-weight: 600;
  color: #005B9F;
  font-size: 15px;
}

form#paspasForm input,
form#paspasForm select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background-color: #fff;
  box-sizing: border-box;
}

form#paspasForm button {
  background-color: #005B9F;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

form#paspasForm button:hover {
  background-color: #00487C;
}

.edge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.edge-grid button {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 14px;
}

.edge-grid button.selected {
  background-color: #005B9F;
  color: white;
  border-color: #00487C;
}

#resultMessage {
  text-align: center;
  font-size: 16px;
  margin-top: 20px;
  font-weight: bold;
}

#paspasContainer {
  margin-top: 40px;
  text-align: center;
}

svg#paspasCanvas {
  width: 100%;
  max-width: 1400px;
  height: auto;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  display: block;
  margin: auto;
}