.refact-settings-wrap {
  margin-right: 0;
}

.refact-settings-header {
  background-color: #003233;
  padding: 14px 45px;
  display: flex;
  justify-content: space-between;
  border-radius: 0 0 2px 2px;
}

.refact-settings__logo a {
  display: flex;
  align-items: center;
}

.refact-settings-header__links a {
  color: #c6f0c2;
  text-decoration: none;
}
.components-tab-panel__tabs {
  gap: 32px;
  display: flex;
  align-items: center;
}
.refact-settings-tabs__menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 32px;
  z-index: 700;
  box-sizing: border-box;
  padding: 0 45px;
  background-color: #fff;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
}

.refact-tab__items {
  padding: 1em 0;
  font-size: 14px;
  line-height: 1;
  height: 70px;
  border-bottom: none;
  color: #798686;
  position: relative;
  transition: color 0.25s ease-in-out;
}
.refact-tab__items::after {
  content: "";
  height: 4px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  border-radius: 4px 4px 0px 0px;
  transition: background-color 0.25s ease-in-out;
}

.refact-active-tab.refact-active-tab {
  color: #002729;
}
.refact-tab__items.refact-active-tab::after {
  background-color: #2e9e62;
}
.refact-active-tab:hover {
  color: #002729;
}
.components-button:hover,
.components-button[aria-expanded="true"] {
  color: #002729;
}
.refact-tab__items:hover::after {
  background-color: #2e9e62;
}

.refact-settings-tabs__contents {
  margin: 45px;
}

.refact-select-item {
  padding: 1em;
  display: flex;
  align-items: center;
}
.refact-select-icon {
  width: 30px;
  display: flex;
  margin-right: 1em;
}

.refact-snackbar {
  margin-top: 1em;
  width: 100%;
  max-width: 100%;
}

.refact-snackbar-settings {
  margin-top: 1em;
  width: 100%;
  max-width: 100%;
}
.refact-snackbar-success {
  background-color: #2e9e62;
}
.refact-snackbar-error {
  background-color: #b32d2e;
}
#wpcontent {
  padding-left: 0;
}

.refact-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.refact-nav__item {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.28px;
  color: #ffffffcc;
  background-color: transparent;
  padding: 14px 16px;
  border-radius: 10px;
  text-transform: capitalize;
  outline: none;
  cursor: pointer;
  box-shadow: none;
  text-decoration: none;
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}
.refact-nav__item:hover,
.refact-nav__item:focus {
  background-color: #2e9e62;
  color: #fff;
  box-shadow: none;
}
.refact-nav__item.is-active {
  background-color: #2e9e62;
  color: #fff;
}
.refact-nav__item.has-refact-icon {
  gap: 8px;
}
.refact-icon {
  display: flex;
  align-items: center;
}
.refact-icon svg path {
  transition: fill 0.25s ease-in-out;
}
.refact-settings__wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.refact-link {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.28px;
  color: #fff;
  background-color: transparent;
  padding: 14px 16px;
  border-radius: 10px;
  text-transform: capitalize;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}
.refact-link:hover,
.refact-link:focus {
  background-color: #798686;
  color: #fff;
}
.components-button.refact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.28px;
  color: #fff;
  background-color: #2e9e62;
  padding: 14px 16px;
  border-radius: 12px;
  text-transform: capitalize;
  outline: none;
  min-width: 61px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}
.components-button.refact-btn.has-refact-icon {
  gap: 10px;
}
.components-button.refact-btn:hover:not(:disabled),
.components-button.refact-btn:hover,
.components-button.refact-btn:focus {
  background-color: #59cc51;
  color: #fff;
  box-shadow: none;
}
.components-button.refact-btn-danger.is-destructive {
  background-color: #fff;
  border: 1px solid #d83c2b;
  color: #002729 !important;
  box-shadow: none !important;
}
.components-button.refact-btn-danger.is-destructive:hover:not(:disabled) {
  background-color: #d83c2b;
  border: 1px solid #d83c2b;
  color: #fff !important;
  box-shadow: none !important;
}
.components-button.refact-btn:disabled {
  background-color: #798686;
  color: #fff;
  box-shadow: none;
  cursor: not-allowed;
}
.components-button.refact-btn.refact-btn--secondary {
  background-color: #fff;
  border: 1px solid #2e9e62;
  color: #002729;
  box-shadow: none;
}
.components-button.refact-btn.refact-btn--secondary:hover,
.components-button.refact-btn.refact-btn--secondary:focus {
  background-color: #e5f7e3;
  border: 1px solid #2e9e62;
  color: #002729;
  box-shadow: none;
}
.refact-btn-link {
  color: #002729;
  font-size: 11px;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.25s ease-in-out;
}
.refact-btn-link:hover {
  color: #2e9e62;
}

.refact-settings-box {
  background-color: #fff;
  margin: 0 0 16px;
}
.refact-tabs-headline {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border-bottom: 1px solid #d7dbdb;
}
.is-inline {
  padding: 0 0 24px;
  border-bottom: none;
}
.has-refact-tab {
  padding-bottom: 0;
}
.refact-tabs-headline h2 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0;
  color: #002729;
}
.refact-tabs-headline p {
  font-size: 14px;
  line-height: 1.4;
  font-weight: normal;
  color: #798686;
  margin: 0;
}
.refact-tabs__content {
  padding: 32px 32px 54px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.refact-tab-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
  width: 100%;
}
.refact-tab-fields.small-gap {
  gap: 8px;
}
.has-bigger-width {
  max-width: 800px;
}
.refact-tab-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.refact-snackbar-settings {
  margin-top: 1em;
  width: 100%;
  max-width: 100%;
}

.refact-settings-rules-items {
  width: 100%;
}

.refact-settings-rules-items > li {
  width: 100%;
  background-color: #fff;
  border-radius: 0;
  margin-bottom: 0;
  box-sizing: border-box;
  border: 0.5px solid #d7dbdb;
  transition: border-color 0.3s linear, background-color 0.3s linear;
  padding: 15px 12px;
}
.refact-settings-rules-items > li:hover {
  background-color: #e5f7e3;
  border-color: #2e9e62;
}
.refact-settings-rules-items > li.refact-settings-rules-items-heading {
  background-color: #2e9e62;
  margin-bottom: 0;
  border: 1px solid #d7dbdb;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  padding-left: 12px;
}
.refact-settings-rules-items li {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.refact-settings-rules-items li .handle {
  /* position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 18px; */
  width: 12px;
  height: 12px;
  background-color: #798686;
  border: none;
  padding: 0;
  border-radius: 0;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  text-indent: 500%;
  white-space: nowrap;
  overflow: hidden;
  -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgOSAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xLjUgMEMwLjY3MTU3MyAwIDAgMC42NzE1NzMgMCAxLjVDMCAyLjMyODQzIDAuNjcxNTczIDMgMS41IDNDMi4zMjg0MyAzIDMgMi4zMjg0MyAzIDEuNUMzIDAuNjcxNTczIDIuMzI4NDMgMCAxLjUgMFpNNyAwQzYuMTcxNTcgMCA1LjUgMC42NzE1NzMgNS41IDEuNUM1LjUgMi4zMjg0MyA2LjE3MTU3IDMgNyAzQzcuODI4NDMgMyA4LjUgMi4zMjg0MyA4LjUgMS41QzguNSAwLjY3MTU3MyA3LjgyODQzIDAgNyAwWk0wIDdDMCA2LjE3MTU3IDAuNjcxNTczIDUuNSAxLjUgNS41QzIuMzI4NDMgNS41IDMgNi4xNzE1NyAzIDdDMyA3LjgyODQzIDIuMzI4NDMgOC41IDEuNSA4LjVDMC42NzE1NzMgOC41IDAgNy44Mjg0MyAwIDdaTTcgNS41QzYuMTcxNTcgNS41IDUuNSA2LjE3MTU3IDUuNSA3QzUuNSA3LjgyODQzIDYuMTcxNTcgOC41IDcgOC41QzcuODI4NDMgOC41IDguNSA3LjgyODQzIDguNSA3QzguNSA2LjE3MTU3IDcuODI4NDMgNS41IDcgNS41Wk0wIDEyLjVDMCAxMS42NzE2IDAuNjcxNTczIDExIDEuNSAxMUMyLjMyODQzIDExIDMgMTEuNjcxNiAzIDEyLjVDMyAxMy4zMjg0IDIuMzI4NDMgMTQgMS41IDE0QzAuNjcxNTczIDE0IDAgMTMuMzI4NCAwIDEyLjVaTTcgMTFDNi4xNzE1NyAxMSA1LjUgMTEuNjcxNiA1LjUgMTIuNUM1LjUgMTMuMzI4NCA2LjE3MTU3IDE0IDcgMTRDNy44Mjg0MyAxNCA4LjUgMTMuMzI4NCA4LjUgMTIuNUM4LjUgMTEuNjcxNiA3LjgyODQzIDExIDcgMTFaIiBmaWxsPSIjMTAxODI4Ii8+Cjwvc3ZnPgo=);
  mask-image: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgOSAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xLjUgMEMwLjY3MTU3MyAwIDAgMC42NzE1NzMgMCAxLjVDMCAyLjMyODQzIDAuNjcxNTczIDMgMS41IDNDMi4zMjg0MyAzIDMgMi4zMjg0MyAzIDEuNUMzIDAuNjcxNTczIDIuMzI4NDMgMCAxLjUgMFpNNyAwQzYuMTcxNTcgMCA1LjUgMC42NzE1NzMgNS41IDEuNUM1LjUgMi4zMjg0MyA2LjE3MTU3IDMgNyAzQzcuODI4NDMgMyA4LjUgMi4zMjg0MyA4LjUgMS41QzguNSAwLjY3MTU3MyA3LjgyODQzIDAgNyAwWk0wIDdDMCA2LjE3MTU3IDAuNjcxNTczIDUuNSAxLjUgNS41QzIuMzI4NDMgNS41IDMgNi4xNzE1NyAzIDdDMyA3LjgyODQzIDIuMzI4NDMgOC41IDEuNSA4LjVDMC42NzE1NzMgOC41IDAgNy44Mjg0MyAwIDdaTTcgNS41QzYuMTcxNTcgNS41IDUuNSA2LjE3MTU3IDUuNSA3QzUuNSA3LjgyODQzIDYuMTcxNTcgOC41IDcgOC41QzcuODI4NDMgOC41IDguNSA3LjgyODQzIDguNSA3QzguNSA2LjE3MTU3IDcuODI4NDMgNS41IDcgNS41Wk0wIDEyLjVDMCAxMS42NzE2IDAuNjcxNTczIDExIDEuNSAxMUMyLjMyODQzIDExIDMgMTEuNjcxNiAzIDEyLjVDMyAxMy4zMjg0IDIuMzI4NDMgMTQgMS41IDE0QzAuNjcxNTczIDE0IDAgMTMuMzI4NCAwIDEyLjVaTTcgMTFDNi4xNzE1NyAxMSA1LjUgMTEuNjcxNiA1LjUgMTIuNUM1LjUgMTMuMzI4NCA2LjE3MTU3IDE0IDcgMTRDNy44Mjg0MyAxNCA4LjUgMTMuMzI4NCA4LjUgMTIuNUM4LjUgMTEuNjcxNiA3LjgyODQzIDExIDcgMTFaIiBmaWxsPSIjMTAxODI4Ii8+Cjwvc3ZnPgo=);
  cursor: grab;
  display: block;
}
.refact-settings-rules-items li:last-child {
  border-radius: 0 0 4px 4px;
}
/* .refact-settings-rules-items > li:hover .handle{
  display: block;
} */
.refact-settings-rules-items li .handle:active {
  cursor: grabbing;
}
/* .refact-settings-rules-items li > strong,
.refact-settings-rules-items li > span {
  width: 25%;
  text-align: left;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: #002729;
}
.refact-settings-rules-items li > strong:first-child,
.refact-settings-rules-items li > span:nth-child(2) {
  width: 40%;
}
.refact-settings-rules-items li > strong:nth-child(2),
.refact-settings-rules-items li > span:nth-child(3) {
  width: 10%;
} */
li.refact-settings-rules-items-heading strong {
  font-weight: 600;
  text-align: left;
  font-size: 14px;
  line-height: 1.3;
  color: #fff;
  padding: 15px 15px 15px 0;
}
li.refact-settings-rules-items-heading .refact-data__item{
  width: auto;
}

.refact-settings-rules-items li > strong:first-child,
.refact-settings-rules-items li > span:first-child {
  font-weight: bold;
}
.refact-settings-rules-items li > strong:nth-child(2),
.refact-settings-rules-items li > span:nth-child(2) {
  padding-left: 28px;
}
.refact-settings-rules-items li.loading .refact-settings-rules-item-delete {
  opacity: 0.5;
  pointer-events: none;
}
.refact-acfg-edit-link {
  color: #002729;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  text-transform: capitalize;
  transition: color 0.25s ease-in-out;
}
.refact-acfg-edit-link:hover {
  color: #2e9e62;
}
.refact-settings-rules-items > li.ui-state-highlight {
  height: 4em;
  background-color: transparent;
  border: 1px dashed #ccc;
}

.wp-core-ui .button.refact-settings-rules-item-delete {
  border-color: #b32d2e;
  color: #b32d2e;
}
.wp-core-ui .button.refact-settings-rules-item-delete:hover {
  background-color: #b32d2e;
  color: #fff;
}

.refact-settings-rules-items li.deleting {
  animation: deleting 0.5s linear;
}
@keyframes deleting {
  0% {
    opacity: 0.5;
    background-color: rgb(197, 139, 139);
  }
  100% {
    opacity: 0;
    background-color: #fff;
  }
}

.refact-settings-rules-items li > span:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: right;
  padding-right: 25px;
}
.refact-settings-rules-items-blocks {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.refact-settings-rules-items-blocks code {
  margin: 0;
  font-size: 10px;
  font-weight: 400;
  border-radius: 48px;
  background: #f2f3f3;
  text-align: center;
  padding: 2px 6px;
  transition: background 0.3s linear;
}
.refact-settings-rules-items
  > li:hover
  .refact-settings-rules-items-blocks
  code {
  background: #c6f0c2;
}

.refact-acfg-settings-rules {
  width: 100%;
}

.refact-acfg-settings-rulesets {
  margin-top: 1em;
  background-color: #fff;
  padding: 1em;
  display: flex;
  border-radius: 2px;
  flex-direction: column;
}

.refact-acfg-settings-rule .components-form-token-field > label {
  display: none;
}
/* .refact-acfg-settings-rules-actions .components-button {
  height: 30px;
} */
/* .refact-settings-rule-row .components-select-control__input {
  height: 36px !important;
  min-height: 36px !important;
} */
.refact-acfg-settings-rule {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 8px;
}
.refact-acfg-settings-rules-set {
  width: 100%;
}
.refact-acfg-settings-rule:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.refact-settings-rule-row > div {
  width: calc(100% / 2.6 - 140px);
  margin-bottom: 8px;
}

.refact-acfg-settings-rules-actions {
  width: 140px !important;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px !important;
  /* margin-left: auto; */
}
.refact-rule__text {
  display: block;
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 5px;
  color: #002729;
}

.refact-acfg-settings-rules-actions label {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
}
.refact-acfg-settings-rules-actions .refact-btn {
  text-transform: lowercase;
  justify-content: center;
  height: 48px;
  min-width: 73px;
}
.refact-acfg-settings-rules-actions
  .refact-btn.refact-btn-danger {
  min-width: 48px;
  width: 48px;
  justify-content: center;
  height: 48px;
}
.refact-acfg-settings-rules-actions
  .refact-btn.refact-btn-danger
  svg
  g {
  transition: fill 0.25s ease-in-out;
}
.refact-acfg-settings-rules-actions
  .refact-btn.refact-btn-danger:hover
  svg
  g {
  fill: #fff;
}
.components-button.refact-btn.is-btn-large {
  height: 49px;
  min-width: 117px;
  justify-content: center;
}
.refact-acfg-settings-actions {
  width: 100%;
}

.refact-settings-rule-row {
  display: flex;
  width: 100%;
  gap: 16px;
}

.refact-acfg-settings-rule-status.components-base-control {
  padding: 1em;
  margin: 0;
}

.refact-acfg-settings-rule-ands {
  width: 100%;
  box-sizing: border-box;
  /* border-left: 2px solid #949494;
  padding-left: 1em; */
}

.refact-acfg-settings-rules-delete {
  width: fit-content;
}

.refact-settings-navbar {
  display: flex;
  align-items: center;
  gap: 32px;
  background-color: #fff;
  padding: 18px 45px;
  margin-bottom: 1em;
}
.refact-settings-navbar .components-button.refact-btn {
  padding: 14px 12px;
}
.refact-settings-navbar__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: #002729;
  margin: 0;
}
.refact-settings-notice {
  margin: 0;
}
.refact-row {
  display: flex;
  align-items: center;
  gap: 34px;
  width: 100%;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d7dbdb;
}
.refact-acfg-settings-rules-cta {
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid #d7dbdb;
}
.refact-col-6 {
  width: 50%;
}
.refact-w-600 {
  width: 75%;
}

.components-combobox-control__suggestions-container {
  border: 1px solid #003233;
  border-radius: 8px;
  height: 48px;
}

.components-combobox-control__suggestions-container .components-flex {
  height: 48px;
  padding: 0 16px;
}
input.components-combobox-control__input[type="text"] {
  height: 44px;
  line-height: 1;
  font-size: 16px;
}
.components-base-control__field .components-flex {
  gap: 0;
}
.components-base-control__field label,
.components-form-token-field__label,
.components-base-control__label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #002729 !important;
  margin: 0 0 6px !important;
  text-transform: capitalize !important;
}
.components-form-token-field__suggestions-list {
  z-index: 2;
  border: 1px solid #2e9e62;
}
.components-form-token-field__suggestion.is-selected {
  background-color: #e5f7e3;
  color: #002729;
}
.components-input-control__container .components-input-control__input,
.components-text-control__input,
.css-5zmf54.css-5zmf54.css-5zmf54,
.components-select-control__input {
  height: 48px !important;
  padding: 13px 16px !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  box-shadow: none !important;
  border: 1px solid #003233 !important;
  transition: border-color 0.25s ease-in-out !important;
}
.components-input-control__input:active,
.components-input-control__input:focus,
.css-5zmf54.css-5zmf54.css-5zmf54:active,
.css-5zmf54.css-5zmf54.css-5zmf54:focus,
.components-select-control__input:active,
.components-select-control__input:focus,
.components-text-control__input:active,
.components-text-control__input:focus {
  border-color: #2e9e62 !important;
}

.components-input-control__suffix svg {
  width: 24px;
  height: 24px;
}
.components-input-control__backdrop {
  display: none;
}
.components-base-control__help {
  font-weight: 400;
  color: #798686 !important;
}
.refact-tab__wrapper {
  width: 100%;
}
.refact-settings__back {
  display: flex;
  align-items: center;
}
.refact-settings__back:hover svg {
  fill: #2e9e62;
}
.components-form-token-field__help {
  margin: 4px 0 0;
}
.mb-24 {
  margin-bottom: 24px;
}
.components-form-token-field__input-container:active,
.components-form-token-field__input-container:focus,
.components-form-token-field__input-container.is-active {
  border-color: #2e9e62;
  box-shadow: none;
}

.refact-form-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
}
.refact-form-toggle__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.refact-form-toggle__label h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #002729;
  margin: 0;
}
.refact-form-toggle__label p {
  margin: 0;
  color: #002729;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}
.refact-form-toggle .components-form-toggle {
  position: relative;
  top: 7px;
}
.refact-form-toggle .components-form-toggle .components-form-toggle__track {
  background-color: #798686;
  border-color: #798686;
  box-shadow: none !important;
  height: 24px;
  width: 42px;
  border-radius: 14px;
}
.refact-form-toggle
  .components-form-toggle.is-checked
  .components-form-toggle__track {
  background-color: #2e9e62;
  border: 9px solid #2e9e62;
}
.refact-form-toggle .components-form-toggle .components-form-toggle__thumb {
  background-color: #fff;
  border: 5px solid #fff;
  left: 6px;
  top: 6px;
}
.refact-form-toggle
  .components-form-toggle.is-checked
  .components-form-toggle__thumb {
  background-color: #fff;
  border: 5px solid #fff;
}
.refact-form-toggle .components-toggle-control__label {
  font-size: 18px !important;
}
.refact-form-toggle .components-base-control__field .components-flex {
  gap: 17px;
}
.refact-form-toggle .components-base-control__help {
  margin: 0;
  padding-left: 58px;
  font-size: 13px;
  font-weight: 400;
  color: #002729 !important;
}

/* Custom styles */
.components-form-token-field__input-container {
  background-color: #fff;
  border: 1px solid #003233;
  padding: 0;
  color: #003233;
  border-radius: 8px;
  font-size: 16px;
  box-shadow: none;
  outline: none;
  position: relative;
  transition: border-color 0.25s ease-in-out;
}

.components-form-token-field__input-container .components-flex {
  padding: 9px 8px;
}
.components-form-token-field__input-container
  .components-form-token-field__token {
  background-color: #e5f7e3;
  color: #2e9e62;
  border-radius: 6px;
  padding: 2px;
  margin-right: 4px;
  border: 1px solid #2e9e62;
}
.components-form-token-field__input-container
  .components-form-token-field__token-text {
  background-color: transparent;
  font-size: 13px;
  font-weight: 500;
  color: #2e9e62;
}
.components-form-token-field__input-container
  .components-form-token-field__suggestions-list {
  background-color: #fff;
  z-index: 2;
  position: absolute;
  width: 100%;
}
.components-form-token-field__input-container
  .components-form-token-field__suggestion {
  padding: 8px 16px;
}
.components-form-token-field__input-container
  .components-button.components-form-token-field__remove-token {
  background-color: transparent;
  color: #2e9e62;
}

.refact-data__title {
  display: none;
  color: #002729;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.refact-toggle-row {
  display: none;
}

.refact-list-main__name {
  display: flex;
  align-items: center;
  gap: 8px;
}
.refact-list-wrapper {
  display: flex;
  align-items: center;
  width: calc(100% - 33%);
}
.refact-list-items {
  display: flex;
  align-items: center;
  width: 60%;
}
.refact-settings-rules-items-heading .refact-list-items {
  width: 20%;
}
.refact-settings-rules-items-heading .refact-list-items:last-child {
  width: 40%;
}

.refact-list-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 40%;
}
.refact-list-main {
  width: 32%;
}
.refact-data__item {
  width: 33%;
}
.refact-settings-navbar__wrap {
  display: flex;
  align-items: center;
}
@media (max-width: 782px) {
  .auto-fold #wpcontent {
    padding-left: 0;
  }
  .refact-settings-header {
    padding: 14px 16px;
  }
  .refact-settings-navbar {
    padding: 16px;
  }
  .refact-settings-navbar__title {
    font-size: 20px;
  }
  .refact-settings-tabs__contents {
    margin: 16px;
  }
}
@media (max-width: 1100px) {
  .refact-settings-navbar {
    justify-content: space-between;
  }
  .refact-settings-rules-items > li.refact-settings-rules-items-heading {
    flex-direction: row;
    padding: 0 0 0 12px;
  }
  .refact-settings-rules-items li {
    padding: 12px;
    gap: 12px;
    flex-direction: column;
  }
  .refact-list-wrapper {
    display: flex;
    align-items: flex-start;
    flex-direction: column-reverse;
    width: 100%;
    gap: 10px;
  }
  .refact-list-items {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .refact-list-cta {
    width: 100%;
  }

  .refact-list-cta .components-button.refact-btn {
    height: 28px;
    border-radius: 8px;
  }
  .refact-data__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    width: 100%;
  }
  .refact-data__title {
    display: flex;
  }

  .refact-list-wrapper {
    display: flex;
  }

  .refact-list-wrapper:not(.refact-collapsed) {
    display: none;
  }

  .refact-list-main.active {
    /* Add styles for the active class here */
    background-color: #f0f0f0;
    /* Add other styles as needed */
  }

  .refact-list-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .refact-toggle-row {
    display: flex;
    align-items: center;
    background: transparent;
    outline: none;
    border: none;
    cursor: pointer;
  }
  .refact-toggle-row svg {
    transform-origin: center;
  }
  .refact-active .refact-toggle-row {
    transform: rotate(180deg);
  }
  .refact-tabs-headline {
    padding: 16px;
  }
  .refact-tabs__content {
    padding: 16px 16px 24px 16px;
  }
  .refact-row {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 21px;
    padding-bottom: 21px;
  }
  .refact-col-6 {
    width: 100%;
  }
  .refact-acfg-settings-rule-status.components-base-control {
    padding: 0;
  }
  .refact-settings-rule-row {
    flex-direction: column;
    gap: 0;
  }
  .refact-settings-rule-row > div {
    width: 100%;
  }
  .refact-acfg-settings-rules-actions {
    margin-left: auto;
    justify-content: flex-end;
  }
  .refact-acfg-settings-rule {
    gap: 16px;
  }
  .refact-acfg-settings-rules-cta
    .components-button.refact-btn.is-btn-large,
  .refact-acfg-settings-cta
    .components-button.refact-btn.is-btn-large,
  .refact-acfg-settings-cta {
    width: 100%;
  }
  .refact-acfg-settings-rules-cta {
    margin-top: 0;
  }
  .refact-acfg-settings-actions > div {
    grid-template-columns: auto;
  }
}
