.ws-rsvp {
  width: 100%;
  max-width: 100%;
}

.ws-rsvp__form {
  width: 100%;
}

.ws-rsvp__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ws-rsvp__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ws-rsvp__field label {
  font-weight: 600;
  font-size: 14px;
}

.ws-rsvp__field input:not([type="radio"]),
.ws-rsvp__field textarea {
  width: 100%;
  box-sizing: border-box;
}

.ws-rsvp__field input {
  padding: 10px 14px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 15px;
}

.ws-rsvp__field input:focus {
  outline: none;
  border-color: #2f6396;
}

.ws-rsvp__field.has-error input,
.ws-rsvp__consent.has-error {
  border-color: #cc2b2b;
}

.ws-rsvp__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.ws-rsvp__consent input {
  margin-top: 3px;
}

.ws-rsvp__error {
  color: #cc2b2b;
  font-size: 13px;
}

.ws-rsvp__error[hidden] {
  display: none;
}

.ws-rsvp__message {
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
}

.ws-rsvp__message[hidden] {
  display: none;
}

.ws-rsvp__message.is-success {
  background: #e5f6ea;
  color: #1f6b3a;
}

.ws-rsvp__message.is-error {
  background: #fdeaea;
  color: #9f1d1d;
}

.ws-rsvp__message.is-loading {
  background: #eef1f5;
  color: #30475f;
}

.ws-rsvp__actions {
  margin-top: 4px;
}

.ws-rsvp__submit {
  padding: 12px 28px;
  background: #2f6396;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.ws-rsvp__submit:hover {
  background: #204468;
}

.ws-rsvp__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.ws-rsvp__full {
  padding: 16px 18px;
  background: #eef1f5;
  border-radius: 6px;
  font-size: 15px;
}

/* Waiting-list note shown above the form: soft blue (brand colour) with an accent
   bar, clearly apart from the form. */
.ws-rsvp__full--waitlist {
  margin-bottom: 28px;
  padding: 20px 24px;
  background: #e6eff8;
  border-left: 4px solid #2f6396;
}

.ws-rsvp__full--waitlist p {
  margin: 0 0 12px;
}

.ws-rsvp__full--waitlist p:last-child {
  margin-bottom: 0;
}

.g-recaptcha {
  margin: 4px 0;
}

/* Workshop date choice (radio list) and free-text field. */
.ws-rsvp__field textarea {
  padding: 10px 14px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
}

.ws-rsvp__field textarea:focus {
  outline: none;
  border-color: #2f6396;
}

.ws-rsvp__slots {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.ws-rsvp__slots legend {
  padding: 0;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

.ws-rsvp__hint {
  font-weight: 400;
  color: #666666;
}

.ws-rsvp__slot {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  cursor: pointer;
}

.ws-rsvp__field .ws-rsvp__slot input {
  margin-top: 4px;
  padding: 0;
  border: 0;
  width: auto;
}

.ws-rsvp__slot.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ws-rsvp__slots.has-error .ws-rsvp__slot {
  border-color: #cc2b2b;
}

.ws-rsvp__full[hidden] {
  display: none;
}

/* Honeypot field: off-screen, not display:none (some bots skip hidden fields). */
.ws-rsvp__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
