.webform-filter-form {
  margin-block-end: var(--gin-spacing-xl);
}

.webform-filter-form > .container-inline {
  margin-block: 0;
}

.webform-filter-form .details-wrapper {
  margin-block-start: 0;
  margin-block-end: var(--gin-spacing-xs);
}

.webform-filter-form + div:not(.gin-layer-wrapper) {
  margin-block-end: var(--gin-spacing-s);
}

.webform-ui-element-type-change-form .gin-layer-wrapper {
  padding: 0;
}

.webform-element-help {
  color: var(--gin-color-text);
  background: transparent;
  border-color: var(--gin-color-text);
}

.webform-element-help:hover, .webform-element-help:active, .webform-element-help:focus {
  color: var(--gin-color-primary);
  border-color: var(--gin-color-primary);
  background-color: transparent;
}

.ui-tooltip.ui-widget {
  font-size: var(--gin-font-size-s);
  color: var(--gin-color-text);
  padding: var(--gin-spacing-m);
  background: var(--gin-bg-layer3);
  border: 0 none;
  border-radius: 6px;
}

[dir="ltr"] .ui-tooltip.ui-widget {
  box-shadow: 20px 20px 60px rgba(0, 0, 0, .2);
}

[dir="rtl"] .ui-tooltip.ui-widget {
  box-shadow: -20px 20px 60px rgba(0, 0, 0, .2);
}

.ui-tooltip.ui-widget hr {
  margin: var(--gin-spacing-xs) 0;
}

.webform-details-toggle-state {
  color: var(--gin-color-primary);
}

.webform-ui-elements-table tr.webform-ui-element-type-webform_actions td {
  border-block: none;
  background: none;
}

.webform-tabs.ui-tabs .ui-tabs-nav {
  border-block-end: 0 none;
}

.webform-tabs.ui-tabs .ui-tabs-nav .ui-tabs-active.ui-state-active a {
  border: 2px solid var(--gin-color-primary);
  border-radius: var(--gin-border-m);
}

.webform-bulk-form[data-drupal-selector*=-bulk-form] > .container-inline {
  margin-block-start: calc(var(--gin-spacing-xxs) * -1);
  margin-block-end: var(--gin-spacing-l);
}

.webform-bulk-form[data-drupal-selector*=-bulk-form] td:first-child > .form-type-checkbox {
  margin-block: 0;
}

.webform-ajax-messages {
  inset-inline-start: var(--gin-offset-x);
  inset-block-end: var(--gin-spacing-s);
  margin-inline-start: var(--gin-spacing-m);
}

.webform-ajax-messages .messages--info,
.webform-ajax-messages .messages--status,
.webform-ajax-messages .messages--warning,
.webform-ajax-messages .messages--error {
  display: inline-block;
}

.webform-edit-form .tabledrag-toggle-weight-wrapper {
  float: end;
  margin-block-start: calc(var(--gin-spacing-s) * -1);
}

.webform-edit-form .tabledrag-toggle-weight-wrapper button {
  position: static;
}

