/* role_form.css */

/* Container styling similar to the organisation code entry form */
.role-form {
  font-family: "Inter", Arial, sans-serif;
  max-width: 320px;
  margin: 6rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.role-form label {
  font-weight: 600;
  color: #00071a;
}

.role-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.role-button {
  margin: 0;
  padding: 0.5rem 1rem;
  border: 1px solid #d8d7de;
  border-radius: 4px;
  background: #f7f7f7;
  cursor: pointer;
}

.role-button.selected {
  background-color: #654cf5;
  color: #fff;
  border-color: #0c13e0;
}

.role-form button[type="submit"] {
  padding: 0.5rem 1rem;
  background-color: #654cf5;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.role-form button[type="submit"]:hover {
  background-color: #0c13e0;
}

.role-description {
  margin-top: 0.5rem;
  font-style: italic;
}

.role-form .message {
  margin-top: 0.5rem;
  color: #00071a;
}

.role-form .message.error {
  color: #c00;
}
