#feedbackDrawer {
  transition: transform 0.3s ease-in-out;
}

#feedbackDrawer.feedback-panel-open {
  transform: translateX(0);
  pointer-events: auto;
}

#feedbackDrawer.feedback-panel-closed {
  transform: translateX(100%);
  pointer-events: none;
}

#feedbackTrigger.feedback-trigger-hidden {
  display: none !important;
}

#feedbackTrigger {
  transition: opacity 0.2s ease-in-out;
}

.form-item-page-title,
.form-item-page-url {
display: none !important;
}

.p-with-div p {
    display: block;
    color: rgb(23 23 23); /* text-neutral-900 */
    font-weight: 600;    /* font-semibold */
    margin-bottom: 1rem; /* mb-4 */
    font-size: 1rem;     /* text-base */
}

.custom-field-error {
    padding: 0 !important;
    padding-bottom: 7px !important;
}

.webform-confirmation__back a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0 8px;
  color: #06748C;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.webform-confirmation__back a:hover {
  opacity: 0.7;
}

.webform-confirmation__back a::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("/themes/custom/libertygrmeast/assets/img/backform.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Back to form icon */
.webform-confirmation__back a::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("/themes/custom/libertygrmeast/assets/img/backform.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transform-origin: center;
}

/* Rotate the icon slowly while the AJAX request is processing */
.webform-confirmation__back a.is-loading::before {
  animation: backform-rotate 2s linear infinite;
}

@keyframes backform-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Hide Drupal's AJAX throbber near the confirmation back link */
.webform-confirmation__back .ajax-progress,
.webform-confirmation__back .ajax-progress-throbber {
  display: none !important;
}

.feedbackForm strong.custom-field-error[role="alert"] {
  display: none !important;
}
.webform-submission-feedback-form .webform-button--submit {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-top: 10px;
    width: 92%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}