/* Pelican Contact Form */
.pelican-contact-form-wrapper {
  max-width: 600px;
}

.pelican-contact-form__field {
  margin-bottom: 16px;
}

.pelican-contact-form__field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #161818;
}

.pelican-contact-form__field input:not([type="checkbox"]),
.pelican-contact-form__field select,
.pelican-contact-form__field textarea {
  background-color: #fafafa;
  color: #666;
  height: 48px;
  width: 100%;
  padding: 5px 16px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: -0.01em;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.3s ease-in-out;
}

.pelican-contact-form__field textarea {
  height: 160px;
  padding: 12px 16px;
  resize: vertical;
}

.pelican-contact-form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23909090' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px 14px;
  padding-right: 36px;
  cursor: pointer;
}

.pelican-contact-form__field input:not([type="checkbox"]):focus,
.pelican-contact-form__field select:focus,
.pelican-contact-form__field textarea:focus {
  outline: none;
  border-color: #f07e02;
}

.pelican-contact-form__field input:not([type="checkbox"])::placeholder,
.pelican-contact-form__field textarea::placeholder {
  color: #a6a6a6;
  font-size: 14px;
}

/* Error state */
.pelican-contact-form__field.is-error input:not([type="checkbox"]),
.pelican-contact-form__field.is-error select,
.pelican-contact-form__field.is-error textarea {
  border-color: #f07e02;
  box-shadow: 0 0 6px 0 rgba(240, 126, 2, 0.25);
}

/* Feedback messages */
.pelican-contact-form__feedback {
  padding: 14px 18px;
  margin-bottom: 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.js-contact-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.pelican-contact-form__feedback--success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

/* Submit */
.pelican-contact-form__submit {
  margin-top: 8px;
}

.pelican-contact-form__submit button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 48px;
  border: none;
  background-color: #f07e02;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.pelican-contact-form__submit button:hover {
  background-color: #d86e00;
}

.pelican-contact-form__submit button:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Checkbox field */
.pelican-contact-form__field--checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #161818;
  cursor: pointer;
}

.pelican-contact-form__field--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #f07e02;
  cursor: pointer;
}

.pelican-contact-form__field--checkbox.is-error {
  color: #991b1b;
}

/* Turnstile widget */
.pelican-contact-form__turnstile {
  margin-bottom: 16px;
}
