.wpforms-admin-empty-state-container {
  color: #50575e;
  font-style: normal;
  padding: 30px;
  text-align: center;
}

.wpforms-admin-empty-state-container .waving-hand-emoji {
  background-image: url(../images/empty-states/waving-hand-emoji.png);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  display: inline-block;
  padding-left: 34px;
}

.wpforms-admin-empty-state-container h2 {
  color: #1d2327;
  font-family: inherit;
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
  margin: 0 0 10px;
}

.wpforms-admin-empty-state-container h4 {
  color: #32373c;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-block: 0;
}

.wpforms-admin-empty-state-container img {
  max-width: 428px;
  width: 100%;
  margin: 30px auto;
}

.wpforms-admin-empty-state-container p {
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  margin-block: 0;
  text-align: center;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-forms p:first-of-type {
  font-weight: 600;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-forms .wpforms-btn, .wpforms-admin-empty-state-container.wpforms-admin-no-forms .wpforms-btn:active {
  border: none;
  border-radius: 3px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: #ffffff;
  padding: 15px 30px;
  margin: 0;
  text-decoration: none;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-forms .wpforms-btn:hover, .wpforms-admin-empty-state-container.wpforms-admin-no-forms .wpforms-btn:active:hover {
  text-decoration: none;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-forms .wpforms-btn:focus, .wpforms-admin-empty-state-container.wpforms-admin-no-forms .wpforms-btn:active:focus {
  outline: none;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-forms .wpforms-admin-no-forms-footer {
  margin-top: 30px;
  font-size: 14px;
  line-height: 16px;
}

.wpforms-admin-empty-state-container.wpforms-elementor-no-forms {
  font-family: 'Helvetica Neue', sans-serif;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid #71d7d7;
  box-sizing: border-box;
  padding: 20px;
}

.wpforms-admin-empty-state-container.wpforms-elementor-no-forms img {
  max-width: 240px;
  width: 100%;
  margin: 0 auto;
}

.wpforms-admin-empty-state-container.wpforms-elementor-no-forms p {
  font-family: inherit;
  font-weight: normal;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  color: #495157;
  max-width: 450px;
  margin: 20px auto 0;
}

.wpforms-admin-empty-state-container.wpforms-elementor-no-forms a {
  color: inherit;
  text-decoration: underline;
  position: relative;
}

.wpforms-admin-empty-state-container.wpforms-elementor-no-forms a:hover {
  text-decoration: none;
}

.wpforms-admin-empty-state-container.wpforms-elementor-no-forms .wpforms-btn {
  background: #525962;
  border: none;
  border-radius: 3px;
  font-family: inherit;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  padding: 7px 17px;
  margin: 20px 0 0;
  text-decoration: none;
}

.wpforms-admin-empty-state-container.wpforms-elementor-no-forms .wpforms-btn:hover {
  text-decoration: none;
  background: #2b2c31;
}

.wpforms-admin-empty-state-container.wpforms-elementor-no-forms .wpforms-btn:focus {
  outline: none;
}

.wpforms-admin-empty-state-container.wpforms-elementor-no-forms .wpforms-admin-no-forms-footer {
  font-size: 12px;
  line-height: 1.5;
  color: #6d7882;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-entries img {
  max-width: 413px;
  display: block;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-payments {
  max-width: 600px;
  margin: 0 auto;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-payments img {
  display: block;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-payments .wpforms-btn-lg {
  border-radius: 4px;
  padding: 14px 20px;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-payments a:not([class]) {
  color: #056aab;
  text-decoration: underline;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-payments a:not([class]):hover {
  text-decoration: none;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-payments .wpforms-admin-no-forms-footer {
  margin-top: 30px;
  font-size: 14px;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-user-templates h2, .wpforms-admin-empty-state-container.wpforms-admin-no-user-templates h4 {
  font-weight: 500;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-user-templates p {
  font-size: 14px;
  color: #777777;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-user-templates p.wpforms-admin-no-forms-footer {
  color: #50575e;
}

.wpforms-admin-empty-state-container.wpforms-admin-no-user-templates img {
  max-width: 560px;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

#wpforms-panel-setup .wpforms-panel-content {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
}

#wpforms-setup-form-name {
  align-items: center;
  background-color: #f8f8f8;
  border-bottom: 1px solid #dddddd;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px;
}

#wpforms-setup-form-name label {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  min-width: 200px;
  padding: 0;
}

#wpforms-setup-name {
  display: inline-block;
  font-size: 20px;
  height: 50px;
  margin-inline-start: 30px;
  padding: 13px 10px;
  width: calc( 100% - 290px);
}

.wpforms-setup-title {
  font-size: 20px;
  font-weight: 600;
  margin: 30px 30px 0 30px;
  color: #444444;
}

.wpforms-setup-title .count {
  color: #bbbbbb;
}

.wpforms-setup-desc {
  margin: 10px 30px 30px 30px;
  color: #777777;
}

.wpforms-setup-desc a {
  color: #777777;
}

.wpforms-setup-desc a:hover {
  color: #444444;
}

.wpforms-setup-templates {
  align-items: stretch;
  border-top: 1px solid #dddddd;
  display: flex;
  flex-grow: 2;
  justify-content: space-between;
  margin: 0 30px;
  padding: 0 0 30px 0;
}

.wpforms-setup-templates-sidebar {
  border-inline-end: 1px solid #dddddd;
  padding-inline-end: 30px;
  padding-top: 30px;
  width: 224px;
  box-sizing: content-box;
}

#wpforms-setup-template-search {
  font-size: 16px;
  font-weight: 400;
  height: 40px;
  line-height: 20px;
  padding-inline-start: 35px;
  width: 100%;
  color: #444444;
  border: 1px solid #cccccc;
  border-radius: 4px;
  box-shadow: none;
}

#wpforms-setup-template-search::placeholder {
  color: #bbbbbb;
  font-weight: 400;
}

#wpforms-setup-template-search:focus {
  border-color: #036aab;
  box-shadow: 0 0 0 1px #036aab;
}

.wpforms-setup-templates-search-wrap {
  position: relative;
}

.wpforms-setup-templates-search-wrap i.fa {
  color: #bbbbbb;
  display: block;
  font-size: 16px;
  inset-inline-start: 10px;
  position: absolute;
  top: 12px;
  width: 16px;
}

.wpforms-setup-templates-categories {
  margin-top: 30px;
  width: 224px;
  box-sizing: content-box;
}

.wpforms-setup-templates-categories > li {
  color: #444444;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  margin: 0;
}

.wpforms-setup-templates-categories > li div {
  border-radius: 4px;
  padding: 10px;
}

.wpforms-setup-templates-categories > li div:hover {
  color: #444444;
  text-decoration: underline;
}

.wpforms-setup-templates-categories > li div > span {
  float: inline-end;
  color: #777777;
  opacity: 0.5;
  font-weight: 400;
}

.wpforms-setup-templates-categories > li.divider {
  border-bottom: 1px solid #dddddd;
  margin: 30px 0;
  padding: 0;
}

.wpforms-setup-templates-categories > li.active div {
  background: #ebf3fc;
  color: #0399ed;
  position: relative;
}

.wpforms-setup-templates-categories > li.active div span {
  color: #0399ed;
  opacity: 1;
  font-weight: 600;
}

.wpforms-setup-templates-categories > li.active div:hover {
  text-decoration: none;
}

.wpforms-setup-templates-categories > li.active.opened .wpforms-setup-templates-subcategories {
  display: block;
}

.wpforms-setup-templates-categories > li.active .chevron {
  color: #0399ed;
}

.wpforms-setup-templates-categories > li i.chevron {
  display: none;
}

.wpforms-setup-templates-categories > li:has(ul) i.chevron {
  display: inline-block;
  position: relative;
  top: -1px;
  padding: 0 5px;
  font-size: 12px;
  color: #777777;
}

.wpforms-setup-templates-categories > li.opened i.chevron {
  transform: rotate(180deg);
}

.wpforms-setup-templates-categories > li.opened ul.wpforms-setup-templates-subcategories {
  display: block;
}

.wpforms-setup-templates-subcategories {
  display: none;
}

.wpforms-setup-templates-subcategories li {
  display: flex;
  justify-content: space-between;
  color: #777777;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  margin: 0;
  padding-block: 5px;
  padding-inline-end: 10px;
  padding-inline-start: 20px;
  position: relative;
}

.wpforms-setup-templates-subcategories li:hover span:first-child {
  text-decoration: underline;
}

.wpforms-setup-templates-subcategories li.active {
  color: #0399ed;
  font-weight: 400;
}

.wpforms-setup-templates-subcategories li.active span:last-child {
  color: #0399ed;
  font-weight: 400;
  opacity: 1;
}

.wpforms-setup-templates-subcategories li i {
  color: #999999;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-start: 10px;
}

.wpforms-setup-templates-subcategories li span:first-child {
  flex-grow: 1;
  padding-inline-end: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wpforms-setup-templates-subcategories li span:last-child {
  min-width: 32px;
  color: #777777;
  opacity: 0.5;
  font-weight: 400;
  text-align: end;
}

#wpforms-setup-templates-list {
  padding-top: 30px;
  width: calc( 100% - 250px);
}

#wpforms-setup-templates-list .wpforms-admin-empty-state-container .waving-hand-emoji {
  background-image: url(../../images/empty-states/waving-hand-emoji.png);
}

#wpforms-setup-templates-list .list {
  display: grid;
  grid-gap: 30px;
  grid-template-columns: repeat(auto-fill, minmax(Max(200px, 260px), 1fr));
  padding-inline-start: 30px;
}

#wpforms-setup-templates-list .wpforms-template {
  border-radius: 6px;
  height: 100%;
  overflow: hidden;
  padding: 0 0 15px;
  position: relative;
  box-shadow: 0 0 0 1px #cccccc;
  transition: box-shadow 0.15s ease-in-out;
}

#wpforms-setup-templates-list .wpforms-template:hover, #wpforms-setup-templates-list .wpforms-template.active {
  box-shadow: 0 0 0 2px #777777, 0 3px 4px rgba(0, 0, 0, 0.15);
  outline: none;
}

#wpforms-setup-templates-list .wpforms-template:hover .wpforms-template-buttons,
#wpforms-setup-templates-list .wpforms-template:hover .wpforms-template-favorite,
#wpforms-setup-templates-list .wpforms-template:hover .wpforms-template-remove, #wpforms-setup-templates-list .wpforms-template.active .wpforms-template-buttons,
#wpforms-setup-templates-list .wpforms-template.active .wpforms-template-favorite,
#wpforms-setup-templates-list .wpforms-template.active .wpforms-template-remove {
  opacity: 1;
}

#wpforms-setup-templates-list .wpforms-template:hover .wpforms-badge, #wpforms-setup-templates-list .wpforms-template.active .wpforms-badge {
  opacity: 0;
}

#wpforms-setup-templates-list .wpforms-template.badge h3 {
  padding-inline-end: 45px;
}

#wpforms-setup-templates-list .wpforms-template.selected {
  box-shadow: 0 0 0 2px #e27730, 0 3px 4px rgba(0, 0, 0, 0.15);
}

#wpforms-setup-templates-list .wpforms-template .wpforms-template-thumbnail {
  background-color: #F5F9FD;
  border-bottom: 1px solid #EBEEF1;
  overflow: hidden;
  padding: 20px 54px 0;
}

#wpforms-setup-templates-list .wpforms-template .wpforms-template-thumbnail > img {
  border-radius: 2px 2px 0 0;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

#wpforms-setup-templates-list .wpforms-template .wpforms-template-thumbnail .wpforms-template-thumbnail-placeholder {
  align-items: center;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 2px 2px 0 0;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 350px;
  min-height: 100%;
  width: 100%;
}

#wpforms-setup-templates-list .wpforms-template h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  padding: 20px 20px 2px;
  margin: 0;
  overflow: hidden;
  position: relative;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #444444;
}

#wpforms-setup-templates-list .wpforms-template .wpforms-template-favorite,
#wpforms-setup-templates-list .wpforms-template .wpforms-template-remove {
  display: block;
  position: absolute;
  inset-inline-end: 10px;
  top: 10px;
  font-size: 18px;
  line-height: 18px;
  opacity: 0;
  color: #aaaaaa;
  transition-property: all;
  transition-duration: 0.15s;
  transition-timing-function: ease-out;
}

#wpforms-setup-templates-list .wpforms-template .wpforms-template-favorite:hover,
#wpforms-setup-templates-list .wpforms-template .wpforms-template-remove:hover {
  color: #d63637;
  cursor: pointer;
  transition-property: all;
  transition-duration: 0.05s;
  transition-timing-function: ease-out;
}

#wpforms-setup-templates-list .wpforms-template .wpforms-template-favorite .fa-heart,
#wpforms-setup-templates-list .wpforms-template .wpforms-template-remove .fa-heart {
  color: #d63638;
}

#wpforms-setup-templates-list .wpforms-template.selected h3 {
  padding-inline-end: 60px;
}

#wpforms-setup-templates-list .wpforms-template.pro h3 {
  padding-inline-end: 40px;
}

#wpforms-setup-templates-list .wpforms-template p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: #777777;
  font-size: 14px;
  line-height: 18px;
  margin: 10px 0 0;
  max-height: 55px;
  min-height: 45px;
  padding: 0 20px;
}

#wpforms-setup-templates-list .wpforms-template-upgrade-banner {
  background: rgba(226, 119, 48, 0.08);
  border-radius: 6px;
  display: flex;
  flex-direction: row;
  grid-column: 1 / -1;
  justify-content: space-between;
  align-items: center;
  padding-inline-end: 20px;
}

#wpforms-setup-templates-list .wpforms-template-upgrade-banner .wpforms-template-content {
  padding: 20px;
  width: 80%;
  color: #444444;
}

#wpforms-setup-templates-list .wpforms-template-upgrade-banner .wpforms-template-content h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 18px;
  margin-top: 0;
  margin-bottom: 5px;
}

#wpforms-setup-templates-list .wpforms-template-upgrade-banner .wpforms-template-content p {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  margin: 0;
}

#wpforms-setup-templates-list .wpforms-template-upgrade-banner .wpforms-template-upgrade-button {
  width: 20%;
  text-align: end;
}

#wpforms-setup-templates-list .wpforms-template-upgrade-banner .wpforms-template-upgrade-button a {
  min-height: 13px;
}

@media screen and (max-width: 1279px) {
  #wpforms-setup-templates-list .wpforms-template-upgrade-banner .wpforms-template-upgrade-button a {
    box-sizing: border-box;
    width: 100%;
  }
}

#wpforms-setup-templates-list .wpforms-templates-no-results {
  display: none;
  margin-inline-start: 30px;
}

#wpforms-setup-templates-list .wpforms-templates-no-results p {
  font-size: 16px;
  line-height: 40px;
  margin: 0;
  color: #444444;
}

.rtl #wpforms-setup-templates-list .wpforms-badge {
  border-radius: 0 0 3px 0;
  left: 0;
  right: auto;
}

.wpforms-template-buttons {
  background-color: #ffffff;
  border-radius: 6px;
  display: flex;
  opacity: 0;
  padding: 15px 15px 0;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
  position: absolute;
  bottom: 15px;
  transition-property: all;
  transition-duration: 0.15s;
  transition-timing-function: ease-out;
}

.wpforms-template-buttons .wpforms-btn {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  padding: 11px 10px;
}

.wpforms-template-buttons .visible {
  opacity: 1;
}

@media (max-width: 1439px) {
  #wpforms-setup-name {
    width: calc( 100% - 250px);
  }
}

@media (max-width: 1369px) {
  #wpforms-setup-templates-list .list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1279px) {
  #wpforms-setup-templates-list .list {
    grid-template-columns: 1fr;
  }
  #wpforms-setup-templates-list .list .wpforms-template .wpforms-template-buttons {
    position: relative;
    bottom: 0;
    margin: 10px 0 0 0;
    opacity: 1;
    padding: 0 20px;
  }
  #wpforms-setup-templates-list .list .wpforms-template p {
    min-height: auto;
  }
  #wpforms-setup-templates-list .list .wpforms-template-upgrade-banner {
    flex-direction: column;
    padding: 20px;
  }
  #wpforms-setup-templates-list .list .wpforms-template-upgrade-banner .wpforms-template-content,
  #wpforms-setup-templates-list .list .wpforms-template-upgrade-banner .wpforms-template-upgrade-button {
    width: 100%;
  }
  #wpforms-setup-templates-list .list .wpforms-template-upgrade-banner .wpforms-template-content {
    padding: 0;
  }
  #wpforms-setup-templates-list .list .wpforms-template-upgrade-banner .wpforms-template-upgrade-button {
    text-align: center;
    margin-top: 20px;
  }
}

#wpforms-panel-settings .wpforms-panel-sidebar-section {
  height: auto;
}

#wpforms-panel-settings .wpforms-builder-settings-block {
  border: 1px solid #cccccc;
  margin: 0 0 20px 0;
}

#wpforms-panel-settings .wpforms-builder-settings-block .wpforms-panel-field,
#wpforms-panel-settings .wpforms-builder-settings-block .wpforms-field-map-table {
  padding: 0 20px;
}

#wpforms-panel-settings .wpforms-builder-settings-block .wpforms-panel-field:last-child {
  padding-bottom: 20px;
}

#wpforms-panel-settings .wpforms-builder-settings-block-header {
  background-color: #f8f8f8;
  border-bottom: 1px solid #cccccc;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  margin: 0 0 -1px 0;
  padding: 15px 20px;
}

#wpforms-panel-settings .wpforms-builder-settings-block-header .wpforms-builder-settings-block-name-holder {
  display: block;
  margin-inline-end: 130px;
}

#wpforms-panel-settings .wpforms-builder-settings-block-header .wpforms-builder-settings-block-name-edit {
  display: none;
  margin-bottom: -7px;
  margin-top: -6px;
  width: calc(100% - 65px);
}

#wpforms-panel-settings .wpforms-builder-settings-block-header .wpforms-builder-settings-block-name-edit.active {
  display: inline-block;
}

#wpforms-panel-settings .wpforms-builder-settings-block-header .wpforms-builder-settings-block-name-edit input {
  width: 100%;
}

#wpforms-panel-settings .wpforms-builder-settings-block-header .wpforms-builder-settings-block-actions {
  display: inline-block;
  float: inline-end;
  text-align: end;
  width: 150px;
}

#wpforms-panel-settings .wpforms-builder-settings-block-header .wpforms-builder-settings-block-actions .wpforms-builder-settings-block-status {
  position: relative;
  top: -3px;
  margin-inline-end: 10px;
  border-radius: 3px;
}

#wpforms-panel-settings .wpforms-builder-settings-block-header button {
  background-color: transparent;
  border: none;
  color: #999999;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  margin-inline-end: 10px;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

#wpforms-panel-settings .wpforms-builder-settings-block-header button:hover {
  color: #777777;
}

#wpforms-panel-settings .wpforms-builder-settings-block-header button.wpforms-builder-settings-block-delete {
  color: #d63638;
}

#wpforms-panel-settings .wpforms-builder-settings-block-header button.wpforms-builder-settings-block-delete:hover {
  color: #b32d2e;
}

#wpforms-panel-settings .wpforms-builder-settings-block-header button:last-of-type {
  margin-inline-end: 0;
}

#wpforms-panel-settings .wpforms-builder-settings-block-header .wpforms-builder-settings-block-edit {
  margin-inline-start: 6px;
}

#wpforms-panel-settings .wpforms-builder-settings-block-content {
  margin-top: 20px;
  padding-bottom: 0;
}

#wpforms-panel-settings .wpforms-builder-settings-block-default .wpforms-builder-settings-block-toggle {
  padding-inline-end: 0;
}

#wpforms-panel-settings .wpforms-builder-settings-block-default .wpforms-builder-settings-block-delete {
  display: none;
}

#wpforms-panel-settings .wpforms-builder-settings-block-default.wpforms-confirmation .wpforms-conditional-block-panel {
  display: none;
}

#wpforms-panel-settings .wpforms-panel-field-radio .row > label {
  margin-bottom: 0;
}

#wpforms-panel-settings .toggle-unfoldable-cont,
#wpforms-panel-settings .unfoldable-cont {
  margin-inline-end: 0;
}

#wpforms-panel-settings .toggle-unfoldable-cont i {
  color: #bbbbbb;
  margin-inline-end: 6px;
}

#wpforms-panel-settings .toggle-unfoldable-cont span {
  color: #777777;
}

#wpforms-panel-settings .wpforms-panel-field-tinymce > label {
  margin-bottom: -20px;
  margin-inline-end: 100px;
  position: relative;
  z-index: 2;
}

#wpforms-panel-settings .wpforms-panel-field-tinymce .toggle-smart-tag-display {
  float: none;
  margin-top: 10px;
  display: inline-block;
}

#wpforms-panel-settings .wpforms-panel-field-tinymce .smart-tags-list-display {
  margin-top: 10px;
}

#wpforms-panel-settings .wpforms-panel-field-tinymce .wp-editor-wrap .quicktags-toolbar {
  border: none;
  border-bottom: 1px solid #dcdcde;
}

#wpforms-panel-settings .wpforms-panel-field-tinymce .wp-editor-wrap textarea {
  border: none;
}

#wpforms-panel-settings .wpforms-panel-field-tinymce .wp-editor-wrap textarea:focus {
  border: none;
  box-shadow: none;
}

#wpforms-panel-settings .wpforms-panel-field-tinymce .quicktags-toolbar {
  border: 1px solid #dcdcde;
  z-index: 2;
}

#wpforms-panel-settings .wpforms-panel-field-tinymce textarea {
  border-radius: 0;
  border-top: 0;
}

#wpforms-panel-settings .wpforms-panel-field-tinymce textarea:focus {
  border: 1px solid #dcdcde;
  border-top: 0;
  box-shadow: none;
}

#wpforms-panel-settings .wpforms-panel-field-warning label,
#wpforms-panel-settings .wpforms-panel-field-warning input,
#wpforms-panel-settings .wpforms-panel-field-warning .wpforms-alert,
#wpforms-panel-settings .wpforms-panel-field-warning .smart-tags-list-display {
  max-width: 410px;
}

#wpforms-panel-settings .wpforms-panel-field-warning .wpforms-alert-warning-wide {
  max-width: 100%;
}

#wpforms-panel-settings .wpforms-panel-field-warning label {
  position: relative;
}

#wpforms-panel-settings .wpforms-panel-field-warning label:after {
  color: #ffb900;
  content: "\f071";
  font-family: FontAwesome;
  font-size: 16px;
  position: absolute;
  inset-inline-end: -26px;
  top: 35px;
}

#wpforms-panel-settings .wpforms-panel-field-warning .wpforms-alert {
  margin-top: 20px;
}

#wpforms-panel-settings .wpforms-panel-field-confirmations-page-choicesjs-unflippable .is-flipped .choices__list--dropdown {
  top: 100%;
  bottom: auto;
  margin-top: -1px;
  margin-bottom: 0;
}

#wpforms-panel-settings .wpforms-panel-content-also-available {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  /* Magic numbers below are to compensate for 1px box-shadow used to draw a "dynamic" border. */
  gap: 32px;
  margin: 0 0 -19px 1px;
  padding-top: 1px;
}

#wpforms-panel-settings .wpforms-panel-content-also-available-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 20px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 0 0 1px #cccccc;
  transition: box-shadow 0.15s ease-in-out;
}

#wpforms-panel-settings .wpforms-panel-content-also-available-item:hover {
  box-shadow: 0 0 0 2px #777777, 0 3px 4px rgba(0, 0, 0, 0.15);
}

#wpforms-panel-settings .wpforms-panel-content-also-available-item-logo {
  margin: 0 0 20px 0;
}

#wpforms-panel-settings .wpforms-panel-content-also-available-item-logo img {
  display: flex;
  height: 68px;
  width: 68px;
  padding: 10px 10px;
  border-radius: 4px;
  border: 1px solid #dddddd;
}

#wpforms-panel-settings .wpforms-panel-content-also-available-item-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

#wpforms-panel-settings .wpforms-panel-content-also-available-item-info h3 {
  margin: 0;
  color: #444444;
  font-size: 16px;
  line-height: 16px;
  font-weight: 500;
}

#wpforms-panel-settings .wpforms-panel-content-also-available-item-info p {
  font-size: 13px;
  line-height: 18px;
  text-align: center;
  color: #777777;
  margin: 10px 0;
}

#wpforms-panel-settings .wpforms-panel-content-also-available-item-info a {
  display: block;
  margin: auto 0 0 0;
  font-size: 14px;
  line-height: 21px;
  text-decoration: none;
}

#wpforms-panel-settings .wpforms-panel-content-also-available-item-info a:hover {
  color: #215d8f;
  text-decoration: underline;
}

#wpforms-panel-settings .wpforms-panel-content-also-available-item-info a.wpforms-panel-content-also-available-item-upgrade-to-pro {
  color: #e27730;
}

#wpforms-panel-settings .wpforms-panel-content-also-available-item-info a.wpforms-panel-content-also-available-item-upgrade-to-pro:hover {
  color: #cd6622;
}

#wpforms-panel-settings .wpforms-panel-field-country-filter-body {
  max-width: 100%;
}

#wpforms-panel-settings .wpforms-panel-field-keyword-filter-body > p {
  margin: 0 0 20px;
}

#wpforms-panel-settings .wpforms-panel-field-keyword-filter-body .note {
  margin: 0 0 10px;
  font-size: 12px;
}

#wpforms-panel-settings .wpforms-panel-field-keyword-filter-body .wpforms-panel-field-keyword-filter-message {
  margin-top: 20px;
}

#wpforms-panel-settings .wpforms-panel-field-keyword-filter-keywords-container {
  display: none;
}

#wpforms-panel-settings .wpforms-panel-field-keyword-filter-keywords-container .wpforms-panel-field {
  margin-bottom: 10px;
}

#wpforms-panel-settings .wpforms-panel-field-keyword-filter-keywords-container .wpforms-panel-field textarea {
  height: 200px;
}

#wpforms-panel-settings .wpforms-panel-field-country-filter-block-row {
  display: flex;
  margin-top: 10px;
  align-items: start;
  margin-bottom: 20px;
}

#wpforms-panel-settings .wpforms-panel-field-country-filter-block-row-action {
  max-width: 125px;
  width: 100%;
  margin: 0;
}

#wpforms-panel-settings .wpforms-panel-field-country-filter-block-row-separator {
  max-width: 95px;
  width: 100%;
  margin: 0;
  text-align: center;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  line-height: 32px;
  color: #777777;
  white-space: nowrap;
  display: block;
}

#wpforms-panel-settings .wpforms-panel-field-country-filter-block-row-countries {
  min-width: 230px;
  max-width: 100%;
}

#wpforms-panel-settings .wpforms-panel-field-keyword-filter-body .wpforms-alert {
  max-width: 450px;
  margin: 0 0 10px;
}

#wpforms-panel-settings .wpforms-panel-content-section-themes {
  position: fixed;
  bottom: 60px;
  top: calc(76px + 60px + var(--wpforms-admin-bar-height));
  right: 60px;
  left: calc(495px + 60px);
}

#wpforms-panel-settings .wpforms-panel-content-section-themes-inner p {
  margin: 0;
  margin-bottom: 30px;
}

#wpforms-panel-settings .wpforms-panel-content-section-themes-inner .wpforms-panel-content-section-video iframe {
  border-radius: 6px;
  border-width: 0;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
}

#wpforms-panel-settings .wpforms-panel-content-section-themes-inner .wpforms-panel-content-section-themes-bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
}

#wpforms-panel-settings .wpforms-panel-content-section-themes-inner .wpforms-panel-content-section-themes-bottom .wpforms-alert.wpforms-alert-info.wpforms-bottom {
  margin-top: 30px;
}

#wpforms-panel-settings .wpforms-panel-content-section-themes-inner .wpforms-panel-content-section-themes-bottom .wpforms-alert.wpforms-alert-info.wpforms-bottom .wpforms-aside-left .wpforms-alert-heading {
  font-size: 14px;
}

@media (max-height: 864px) {
  #wpforms-panel-settings .wpforms-panel-content-section-themes {
    position: unset;
  }
  #wpforms-panel-settings .wpforms-panel-content-section-themes .wpforms-panel-content-section-themes-inner {
    height: auto;
    display: block;
  }
  #wpforms-panel-settings .wpforms-panel-content-section-themes .wpforms-panel-content-section-themes-inner .wpforms-panel-content-section-themes-bottom {
    position: unset;
  }
}

@media (max-width: 1082px) {
  #wpforms-panel-settings .wpforms-panel-field-warning input {
    padding-inline-end: 36px;
  }
  #wpforms-panel-settings .wpforms-panel-field-warning label:after {
    inset-inline-end: 11px;
  }
}

.wpforms_page_wpforms-builder .jconfirm-box-container .wpforms-modal-content-box.jconfirm-box .jconfirm-content-pane {
  margin-bottom: 15px;
  max-height: Min(calc(100vh - 135px), 544px);
  overflow-y: hidden;
}

.wpforms-modal-content-box .jconfirm-content {
  height: 100%;
}

.wpforms-modal-content-box .jconfirm-content > div {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.wpforms-modal-content-box .wpforms-modal-content {
  background-color: #f8f8f8;
  border-radius: 4px;
  overflow-y: auto;
  padding: 20px;
}

.wpforms-modal-content-box .wpforms-modal-content::-webkit-scrollbar {
  width: 3px;
}

.wpforms-modal-content-box .wpforms-modal-content::-webkit-scrollbar-thumb {
  background-color: #666666;
}

.wpforms-modal-header {
  padding-bottom: 30px;
  padding-top: 5px;
  line-height: 22px;
}

.wpforms-modal-header h1 {
  font-weight: 500;
  margin-bottom: 15px;
  margin-top: 0;
}

.wpforms-email-template-modal-content {
  gap: 15px;
}

.wpforms-email-template-modal-content .wpforms-card-image-overlay {
  aspect-ratio: 31/36;
  background-position: center;
  background-size: contain;
  border: 1px solid #c3c4c7;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  order: -1;
  position: relative;
  transition: box-shadow .15s ease-in-out, border .15s ease-in-out;
  width: 100%;
  padding: 12px;
}

.wpforms-email-template-modal-content .wpforms-card-image-overlay:before {
  background-color: #ffffff;
  content: "";
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
  border-radius: inherit;
  transition: opacity .15s ease-in-out;
}

.wpforms-email-template-modal-content .wpforms-card-image-overlay .wpforms-btn {
  opacity: 0;
  transition: all .05s ease-in-out, opacity .15s ease-in-out;
  width: 100%;
  z-index: 2;
}

.wpforms-email-template-modal-content .wpforms-card-image-group .wpforms-setting-field label {
  align-items: center;
  color: #50575e;
  display: flex;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 12px 10px;
  justify-content: center;
  text-align: center;
}

.wpforms-email-template-modal-content .wpforms-card-image-group .wpforms-setting-field label:hover .wpforms-card-image-overlay {
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #50575e, 0 2px 4px 2px rgba(0, 0, 0, 0.07);
}

.wpforms-email-template-modal-content .wpforms-card-image-group .wpforms-setting-field label:hover .wpforms-card-image-overlay:before {
  opacity: .7;
}

.wpforms-email-template-modal-content .wpforms-card-image-group .wpforms-setting-field label:hover .wpforms-card-image-overlay .wpforms-btn {
  opacity: 1;
}

.wpforms-email-template-modal-content .wpforms-card-image-group .wpforms-setting-field input[type=radio] {
  display: none;
}

.wpforms-email-template-modal-content .wpforms-card-image-group .wpforms-setting-field input[type=radio]:checked + label {
  font-weight: 500;
  color: #2c3338;
}

.wpforms-email-template-modal-content .wpforms-card-image-group .wpforms-setting-field input[type=radio]:checked + label .wpforms-card-image-overlay {
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #e27730, 0 2px 4px 2px rgba(0, 0, 0, 0.07);
}

.wpforms-email-template-modal-content .wpforms-btn {
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  margin: 0;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  box-shadow: none;
  transition-property: all;
  transition-duration: 0.05s;
  transition-timing-function: ease-in;
  align-items: center;
  justify-content: center;
}

.wpforms-email-template-modal-content .wpforms-btn {
  display: flex;
}

.wpforms-email-template-modal-content .wpforms-btn-md {
  font-size: 13px;
  font-weight: 600;
  line-height: 13px;
  min-height: 35px;
  padding: 5px 15px;
}

.wpforms-email-template-modal-content .wpforms-btn-orange {
  background-color: #e27730;
  border-color: #e27730;
  color: #ffffff;
}

.wpforms-email-template-modal-content .wpforms-btn-orange:hover {
  background-color: #cd6622;
  border-color: #cd6622;
  color: #ffffff;
}

.wpforms-email-template-modal-content .wpforms-btn-light-grey {
  background-color: #f8f8f8;
  border-color: #cccccc;
  color: #777777;
}

.wpforms-email-template-modal-content .wpforms-btn-light-grey:hover {
  background-color: #eeeeee;
  border-color: #cccccc;
  color: #444444;
}

.wpforms-email-template-modal-content .wpforms-card-image-group .wpforms-setting-field {
  display: grid;
  gap: 20px 17px;
  grid-template-columns: repeat(5, 1fr);
}

.wpforms-email-template-modal-content .wpforms-card-image {
  position: relative;
}

.wpforms-email-template-modal-content .wpforms-card-image:nth-child(5n+1):before {
  background: url(../../images/email/template-placeholder.svg) space;
  background-size: calc(20% - 13.5px);
  content: "";
  height: 100%;
  inset-inline-start: 0;
  opacity: .5;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: calc(500% + 68px);
}

.wpforms-card-image-overlay {
  padding: 10px;
}

.option-default .wpforms-card-image-overlay {
  background-image: url(../../images/email/template-classic.svg);
}

.option-classic .wpforms-card-image-overlay {
  background-image: url(../../images/email/template-classic.svg);
}

.option-compact .wpforms-card-image-overlay {
  background-image: url(../../images/email/template-compact.svg);
}

.option-modern .wpforms-card-image-overlay {
  background-image: url(../../images/email/template-modern.svg);
}

.option-elegant .wpforms-card-image-overlay {
  background-image: url(../../images/email/template-elegant.svg);
}

.option-tech .wpforms-card-image-overlay {
  background-image: url(../../images/email/template-tech.svg);
}

.option-none .wpforms-card-image-overlay {
  background-image: url(../../images/email/template-plaintext.svg);
}

.wpforms-builder-provider .wpforms-builder-provider-title {
  justify-content: flex-start;
  gap: 20px;
  min-height: 68px;
}

.wpforms-builder-provider .wpforms-builder-provider-title button {
  margin-inline-start: auto;
}

.wpforms-builder-provider .wpforms-builder-provider-title-spinner {
  color: #777777;
  display: none;
  font-size: 20px;
  line-height: 20px;
}

.wpforms-builder-provider .wpforms-builder-provider-connections > :last-child {
  margin-bottom: 0;
}

.wpforms-builder-provider .wpforms-builder-provider-connection {
  border: 1px solid #cccccc;
  margin: 0 0 20px 0;
}

.wpforms-builder-provider .wpforms-builder-provider-connection > :last-child {
  margin-bottom: 20px;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-title {
  background-color: #f8f8f8;
  border-bottom: 1px solid #cccccc;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  margin: 0 0 -1px 0;
  padding: 15px 20px 14px 20px;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-delete {
  background-color: transparent;
  border: none;
  color: #d63638;
  cursor: pointer;
  float: inline-end;
  font-size: 16px;
  line-height: 1;
  margin-top: -2px;
  appearance: none;
  -webkit-appearance: none;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-block {
  margin: 20px 0 0 0;
  padding: 0 20px;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-block h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 10px;
  margin-inline-start: 1px;
  margin-top: 0;
  padding: 0;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-block p.description {
  color: #777777;
  font-size: 13px;
  line-height: 18px;
  margin: 5px 0 0 0;
  max-width: 450px;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-block p.description.before {
  margin: 0 0 10px 0;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-block:last-child {
  margin-bottom: 20px;
}

.wpforms-builder-provider input[type=text],
.wpforms-builder-provider input[type=url],
.wpforms-builder-provider select,
.wpforms-builder-provider textarea,
.wpforms-builder-provider .wpforms-builder-provider-connection-block .choices {
  max-width: 450px;
  width: 100%;
}

.wpforms-builder-provider input[type=checkbox] + label,
.wpforms-builder-provider input[type=radio] + label {
  display: inline-block;
  margin: 0;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-setting {
  margin: 20px 0 0 0;
  max-width: 450px;
  padding: 0;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-setting label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  margin-bottom: 10px;
  margin-inline-start: 1px;
  padding: 0;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-setting label.wpforms-toggle-control-icon, .wpforms-builder-provider .wpforms-builder-provider-connection-setting label.wpforms-toggle-control-label {
  display: inline-block;
  margin: 0;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-setting .text-btn-inlined {
  display: table;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-setting .text-btn-inlined > .text-btn-inlined-text {
  display: table-cell;
  padding-inline-end: 10px;
  vertical-align: middle;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-setting .text-btn-inlined > .text-btn-inlined-btn {
  display: table-cell;
  vertical-align: middle;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-setting .wpforms-panel-field:only-child {
  margin-bottom: 20px !important;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-setting .choices {
  margin-bottom: 0;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-setting .choices[data-type*="select-multiple"] .choices__input:focus {
  border: none !important;
  box-shadow: none !important;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-fields-table {
  border: 1px solid #cccccc;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-fields-table thead {
  background-color: #f8f8f8;
  color: #777777;
  font-size: 14px;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-fields-table thead th {
  font-weight: 400;
  padding: 8px 10px;
  text-align: start;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-fields-table td {
  width: 50%;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-fields-table td.add button, .wpforms-builder-provider .wpforms-builder-provider-connection-fields-table td.delete button {
  background: none;
  border: none;
  box-shadow: none;
  color: #036aab;
  height: auto;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-fields-table td.add button i, .wpforms-builder-provider .wpforms-builder-provider-connection-fields-table td.delete button i {
  font-size: 16px;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-fields-table td.add button:hover, .wpforms-builder-provider .wpforms-builder-provider-connection-fields-table td.delete button:hover {
  color: #215d8f;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-fields-table td.delete button {
  color: #d63638;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-fields-table td.delete button:hover {
  color: #b32d2e;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-fields-table tbody td {
  border-top: 1px solid #cccccc;
  padding-block: 10px;
  padding-inline-start: 10px;
  padding-inline-end: 0;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-fields-table tbody td:last-of-type {
  padding-inline-end: 10px;
}

.wpforms-builder-provider .wpforms-builder-provider-connection-fields-table + p.description {
  max-width: 100%;
}

.wpforms-builder-provider .required {
  color: #d63638;
  font-weight: 700;
  margin-inline-start: 5px;
}

.wpforms-builder-provider .wpforms-conditional-block {
  margin: 20px 0 0 0;
  padding: 0 20px;
}

.wpforms-builder-provider .wpforms-builder-provider-connections-error {
  color: #d63638;
  font-size: 16px;
}

.wpforms-builder-provider.loading .wpforms-builder-provider-title .wpforms-builder-provider-title-spinner {
  display: inline;
}

.wpforms-builder-provider.loading .wpforms-builder-provider-connections {
  opacity: .5;
  pointer-events: none;
}

.wpforms-builder-provider-connections-default {
  padding: 30px 50px 50px 50px;
  position: relative;
  text-align: center;
}

.wpforms-builder-provider-title:has(button) + .wpforms-builder-provider-connections-default::before {
  background: url("../../images/builder/default-arrow.svg") no-repeat 0 0;
  background-size: 97px 81px;
  content: "";
  height: 83px;
  position: absolute;
  inset-inline-end: 60px;
  top: 20px;
  transform: rotate(90deg);
  width: 97px;
}

.wpforms-builder-provider-connections-default img {
  border: 1px solid #cccccc;
  border-radius: 4px;
  height: 140px;
  margin: 0 0 30px 0;
  width: 140px;
}

.wpforms-builder-provider-connections-default h2:first-child {
  margin-top: 0;
}

.wpforms-builder-provider-connections-default p {
  font-size: 16px;
  line-height: 24px;
  max-width: 615px;
  margin: 0 auto 20px;
}

.wpforms-provider-connections > :last-child {
  margin-bottom: 0;
}

.wpforms-provider-connections-header {
  background-color: #f8f8f8;
  padding: 10px 20px;
}

.wpforms-provider-connections-header h5 {
  float: inline-start;
  font-size: 18px;
  margin: 0;
  padding: 5px 0 0 0;
}

.wpforms-provider-connection {
  border: 1px solid #cccccc;
  margin: 0 0 20px 0;
}

.wpforms-provider-connection .wpforms-provider-connection-header {
  background-color: #f8f8f8;
  border-bottom: 1px solid #cccccc;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  margin: 0 0 -1px 0;
  padding: 15px 20px 14px 20px;
}

.wpforms-provider-connection .wpforms-provider-connection-delete {
  background-color: transparent;
  border: none;
  color: #d63638;
  cursor: pointer;
  float: inline-end;
  font-size: 16px;
  line-height: 1;
  margin-top: -2px;
  appearance: none;
  -webkit-appearance: none;
}

.wpforms-provider-connection .wpforms-provider-account-add input[type=text] {
  margin: 0 0 10px 0;
  display: block;
}

.wpforms-provider-connection .wpforms-provider-account-add button {
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  margin: 0;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  box-shadow: none;
  transition-property: all;
  transition-duration: 0.05s;
  transition-timing-function: ease-in;
  font-size: 14px;
  font-weight: 500;
  padding: 0 10px;
  height: 32px;
  line-height: 30px;
  background-color: #036aab;
  border-color: #036aab;
  color: #ffffff;
  display: block;
}

.wpforms-provider-connection .wpforms-provider-account-add button:hover {
  background-color: #215d8f;
  border-color: #215d8f;
  color: #ffffff;
}

.wpforms-provider-connection input[type=text],
.wpforms-provider-connection select {
  max-width: 450px;
  width: 100%;
}

.wpforms-provider-connection input[type=text]::before,
.wpforms-provider-connection select::before {
  content: "";
  display: block;
  width: 100%;
}

.wpforms-provider-connection .wpforms-connection-block {
  margin: 20px 0 0 0;
  padding: 0 20px;
}

.wpforms-provider-connection .wpforms-connection-block h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 10px;
  margin-inline-start: 1px;
  margin-top: 0;
  padding: 0;
}

.wpforms-provider-connection .wpforms-connection-block:last-child {
  margin-bottom: 20px;
}

.wpforms-provider-connection .wpforms-connection-block .wpforms-loading-spinner.wpforms-loading-inline {
  margin-inline-start: 20px;
  vertical-align: middle;
}

.wpforms-provider-connection .wpforms-provider-groups-list p {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.wpforms-provider-connection .wpforms-provider-groups-list span {
  display: block;
  font-size: 13px;
  margin-bottom: 4 5px;
}

.wpforms-provider-connection .wpforms-provider-groups-list input {
  margin-inline-end: 10px;
}

.wpforms-provider-connection .wpforms-provider-fields table {
  border: 1px solid #cccccc;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

.wpforms-provider-connection .wpforms-provider-fields table select {
  width: 100%;
}

.wpforms-provider-connection .wpforms-provider-fields table thead {
  background-color: #f8f8f8;
  color: #777777;
  font-size: 14px;
}

.wpforms-provider-connection .wpforms-provider-fields table thead th {
  font-weight: 400;
  padding: 8px 10px;
  text-align: start;
}

.wpforms-provider-connection .wpforms-provider-fields table tbody td {
  border-top: 1px solid #cccccc;
  padding: 10px;
}

.wpforms-provider-connection .required {
  color: #d63638;
  font-weight: 700;
  margin-inline-start: 5px;
}

.wpforms-provider-connection .wpforms-conditional-block {
  margin: 20px 0;
  padding: 0 20px;
}

.wpforms-provider-connection .wpforms-conditional-block .value input:disabled,
.wpforms-provider-connection .wpforms-conditional-block .value select:disabled {
  background-color: #f1f1f1;
  cursor: not-allowed;
}

.wpforms-provider-connection .wpforms-provider-options label.block {
  display: block;
  margin: 0 0 5px 0;
}

.wpforms-provider-connection .wpforms-provider-options input[type=text] {
  width: 100%;
}

.wpforms-panel-content-section-mailerlite .wpforms-builder-provider-connection-block:has(h4:first-child:last-child) {
  display: none;
}

.rtl .wpforms-builder-provider-title:has(button) + .wpforms-builder-provider-connections-default::before {
  transform: scale(-1, 1) rotate(90deg);
}

.rtl .wpforms-builder-provider .choices.is-open .choices__inner,
.rtl .wpforms-builder-provider .choices .choices__inner {
  background-position: left 5px top 55%;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-title {
  margin-bottom: 20px;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content h2 {
  margin: 20px 0;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content img {
  border: 1px solid #cccccc;
  border-radius: 4px;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content select:disabled {
  cursor: default;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content .wpforms-panel-field-text input:disabled {
  background-color: #ffffff;
  opacity: 0.5;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content .wpforms-alert-dismissible {
  margin-top: 0;
  margin-right: 0;
  margin-left: 0;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content .wpforms-builder-payment-settings-alert-icon {
  width: 140px;
  height: 140px;
  margin: 30px auto 0 auto;
  display: block;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content .wpforms-builder-payment-settings-default-content {
  display: block;
  margin: 30px auto 0 auto;
  width: 100%;
  text-align: center;
  color: #444444;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content .wpforms-builder-payment-settings-default-content p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 10px;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content .wpforms-builder-payment-settings-default-content p a.secondary-text {
  font-size: 16px;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content .wpforms-builder-payment-settings-default-content .wpforms-builder-payment-settings-learn-more {
  margin-bottom: 20px;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content .wpforms-builder-payment-settings-default-content .wpforms-builder-payment-settings-learn-more a.secondary-text {
  font-size: 14px;
}

#wpforms-builder #wpforms-panel-payments #wpforms-stripe-credit-card-alert {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  border: none;
}

#wpforms-builder #wpforms-panel-payments .wpforms-stripe-notice-info {
  color: #444444;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-payment {
  position: relative;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-payment + .wpforms-panel-content-section-payment {
  padding-top: 20px;
  margin: 20px 0;
  border-top: 1px solid #d6d6d6;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-payment-subtitle {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  text-align: start;
  margin-top: 0 !important;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-payment-content {
  display: none;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-payment.wpforms-panel-content-section-payment-open .wpforms-panel-content-section-payment-button {
  display: inline-block;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-payment-button {
  background: #036aab;
  display: none;
  padding: 10px 20px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  position: absolute;
  inset-inline-end: 0;
  top: 20px;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-payment-button:hover {
  background-color: #215d8f;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-payment-plan {
  border: 1px solid #d6d6d6;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-payment-plan-head {
  background-color: #f8f8f8;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-align: start;
  display: flex;
  justify-content: space-between;
  white-space: nowrap;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-payment-plan-head-title {
  width: 80%;
  min-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-payment-plan-head-buttons {
  font-weight: 400;
  color: #999999;
  display: flex;
  align-items: center;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-payment-plan-head-buttons .fa {
  margin-inline-start: 10px;
  cursor: pointer;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-payment-plan-head-buttons .fa-trash-o {
  margin-inline-start: 10px;
  color: #dc3232;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-payment-plan-body {
  border-top: 1px solid #d6d6d6;
  padding: 20px;
}

#wpforms-builder #wpforms-panel-payments .wpforms-panel-content-section-payment-plan + .wpforms-panel-content-section-payment-plan {
  margin-top: 20px;
}

.wpforms-panels-toggle .wpforms-panel-revisions-button-spacer {
  margin-top: auto;
}

.wpforms-panels-toggle .wpforms-panel-revisions-button {
  position: relative;
  width: 55px;
  height: 44px;
  margin: 20px auto;
  background-color: #333333;
  border: 1px solid #444444;
  border-radius: 4px;
}

.wpforms-panels-toggle .wpforms-panel-revisions-button:hover {
  background-color: #444444;
}

.wpforms-panels-toggle .wpforms-panel-revisions-button:hover .fa {
  color: #ffffff;
  transition: color ease-in 0.05s;
}

.wpforms-panels-toggle .wpforms-panel-revisions-button.active {
  background-color: #e27730;
  border-color: #e27730;
}

.wpforms-panels-toggle .wpforms-panel-revisions-button .fa {
  margin-top: -2px;
  font-size: 24px;
  line-height: 24px;
}

.wpforms-panels-toggle .wpforms-panel-revisions-button .badge-exclamation {
  position: absolute;
  top: -5px;
  inset-inline-end: -5px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background: #d63638;
  box-shadow: 0 0 0 2px #2d2d2d;
  display: flex;
  align-items: center;
  justify-content: center;
}

#wpforms-panel-revisions .wpforms-revisions-header {
  margin: 20px;
  border-bottom: 1px solid #ced7e0;
}

#wpforms-panel-revisions .wpforms-revisions-header h3 {
  font-weight: 600;
  font-size: 15px;
  line-height: 18px;
  color: #444444;
  margin: 20px 0 5px 0;
}

#wpforms-panel-revisions .wpforms-revisions-header p {
  font-weight: normal;
  font-size: 12px;
  line-height: 16px;
  color: #86919e;
  margin: 5px 0 20px 0;
}

#wpforms-panel-revisions .wpforms-revisions-notice {
  margin: 20px;
  padding: 10px;
  background-color: #ffffff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
}

#wpforms-panel-revisions .wpforms-revisions-notice h2 {
  margin: 0;
  color: #444444;
  font-size: 14px;
  line-height: 17px;
}

#wpforms-panel-revisions .wpforms-revisions-notice p {
  margin: 5px 0 10px 0;
  color: #777777;
  font-size: 14px;
  line-height: 18px;
}

#wpforms-panel-revisions .wpforms-revisions-notice.wpforms-revisions-notice-error {
  border-inline-start: 4px solid #d63638;
}

#wpforms-panel-revisions .wpforms-revisions-notice.wpforms-revisions-notice-warning {
  border-inline-start: 4px solid #ffb900;
}

#wpforms-panel-revisions .wpforms-revisions-content {
  margin: 20px;
}

#wpforms-panel-revisions .wpforms-revision-current-version a,
#wpforms-panel-revisions .wpforms-revision a {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: #e0e8f0;
  border: 2px solid #e0e8f0;
  border-radius: 4px;
  text-decoration: none;
}

#wpforms-panel-revisions .wpforms-revision-current-version a:hover,
#wpforms-panel-revisions .wpforms-revision a:hover {
  background-color: #ced7e0;
  border-color: #ced7e0;
}

#wpforms-panel-revisions .wpforms-revision-current-version.active a,
#wpforms-panel-revisions .wpforms-revision.active a {
  background-color: #ffffff;
  border: 2px solid #e27730;
}

#wpforms-panel-revisions .wpforms-revision {
  margin: 0 0 0 10px;
  padding-top: 20px;
  padding-inline-end: 0;
  padding-inline-start: 10px;
  border-inline-start: 2px solid #e0e8f0;
  position: relative;
}

#wpforms-panel-revisions .wpforms-revision.active a:before {
  content: "";
  position: absolute;
  top: calc( 50% + 5px);
  inset-inline-start: -6px;
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid #e27730;
  border-radius: 5px;
  background-color: #ffffff;
}

#wpforms-panel-revisions .wpforms-revision.active a:after {
  content: "";
  position: absolute;
  top: calc( 50% + 9px);
  inset-inline-start: 4px;
  display: block;
  width: 6px;
  height: 2px;
  background-color: #e27730;
}

#wpforms-panel-revisions .wpforms-revision-gravatar {
  width: 40px;
  height: 40px;
  margin-inline-end: 15px;
  border-radius: 20px;
  overflow: hidden;
}

#wpforms-panel-revisions .wpforms-revision-details p {
  margin: 3px 0;
  line-height: 16px;
}

#wpforms-panel-revisions .wpforms-revision-created {
  font-size: 12px;
  color: #6b6d6f;
}

#wpforms-panel-revisions .wpforms-revision-created strong {
  font-weight: 600;
  font-size: 14px;
  color: #444444;
}

#wpforms-panel-revisions .wpforms-revision-author {
  font-size: 13px;
  color: #86919e;
}

#wpforms-panel-revisions .wpforms-preview * {
  pointer-events: none;
}

.wpforms-is-revision .wpforms-revision-notice {
  position: fixed;
  z-index: 10;
  top: calc( 76px + var( --wpforms-admin-bar-height ));
  inset-inline-start: 95px;
  inset-inline-end: 0;
  height: 40px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #fdf6e7;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
  text-align: center;
  font-size: 14px;
  line-height: 16px;
  color: #444444;
  transition-property: top;
  transition-duration: 0.25s;
  transition-timing-function: ease-out;
}

.wpforms-is-revision .wpforms-revision-notice p {
  margin: 0;
}

.wpforms-is-revision .wpforms-revision-notice a {
  color: #444444;
}

.wpforms-is-revision .wpforms-revision-notice a:hover {
  color: #e27730;
}

.wpforms-is-revision .wpforms-revision-notice .fa {
  margin: 0 10px;
  font-size: 16px;
  opacity: .35;
}

.wpforms-is-revision .wpforms-panel-sidebar-content .wpforms-panel-sidebar,
.wpforms-is-revision .wpforms-panel-sidebar-content .wpforms-panel-content-wrap,
.wpforms-is-revision .wpforms-panel-full-content .wpforms-panel-content-wrap,
.wpforms-is-revision #wpforms-panel-fields .wpforms-tabs {
  top: calc( 76px + var( --wpforms-admin-bar-height ) + 40px);
}

.wpforms-is-revision #wpforms-panel-fields .wpforms-panel-sidebar,
.wpforms-is-revision .wpforms-field-option-group-toggle {
  top: calc( 124px + var( --wpforms-admin-bar-height ) + 40px);
}

.wpforms-is-revision #wpforms-field-options:before {
  top: calc( 125px + var( --wpforms-admin-bar-height ) + 40px);
}


/* Focus Management Styles - WCAG 2.1 Compliance */
/* Added for keyboard accessibility and screen reader support */

/* Button Focus Styles */
.hvac-button:focus,
.hvac-content .button:focus,
.hvac-content button:focus,
.hvac-content input[type="submit"]:focus,
.hvac-email-submit:focus,
.hvac-filter-submit:focus,
.hvac-certificate-actions button:focus,
.hvac-certificate-actions a:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
    border-radius: 4px;
}

/* Input Focus Styles */
.hvac-form-input:focus,
.hvac-content input[type="text"]:focus,
.hvac-content input[type="email"]:focus,
.hvac-content input[type="password"]:focus,
.hvac-content input[type="url"]:focus,
.hvac-content textarea:focus,
.hvac-content select:focus,
.hvac-email-form-row input:focus,
.hvac-email-form-row textarea:focus,
.hvac-filter-group input:focus,
.hvac-filter-group select:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    border-color: #005fcc;
    box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
}

/* Link Focus Styles */
.hvac-content a:focus,
.hvac-event-link:focus,
.hvac-certificate-link:focus,
.hvac-attendee-profile-icon:focus,
.hvac-dashboard-nav a:focus,
.hvac-email-navigation a:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    text-decoration: underline;
    background-color: rgba(0, 95, 204, 0.1);
    border-radius: 2px;
}

/* Interactive Element Focus Styles */
.hvac-attendee-checkbox:focus,
.hvac-select-all-container input[type="checkbox"]:focus,
.hvac-modal-close:focus,
.hvac-certificate-table tr:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hvac-content *:focus {
        outline: 3px solid #000000;
        outline-offset: 2px;
        background-color: #ffff00;
        color: #000000;
    }
}

/* Focus-visible polyfill support */

/* Reset focus for mouse users while preserving keyboard accessibility */
.js-focus-visible :focus:not(.focus-visible) {
    outline: none;
    box-shadow: none;
}

/* Ensure focus is visible for keyboard users */
.js-focus-visible .focus-visible {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}
