.weblabs-form-2style{
  --wf2s-header-gap: 34px;
  --wf2s-panel-gap: 26px;
  --wf2s-title-desc-gap: 18px;
  --wf2s-tabs-wrap-gap: 22px;
  --wf2s-note-gap: 18px;

  --wf2s-header-title: #0d3943;
  --wf2s-header-desc: #0d3943;
  --wf2s-header-line: #0d3943;
  --wf2s-header-accent: #c9b16a;

  --wf2s-panel-bg: #f1f1ef;
  --wf2s-panel-border: rgba(0,0,0,0);
  --wf2s-panel-title: #2c2c2c;
  --wf2s-panel-desc: #3a3a3a;

  --wf2s-tabs-shell-bg: #c8d0d4;
  --wf2s-tab-bg: #ffffff;
  --wf2s-tab-color: #0d3943;
  --wf2s-tab-border: #ffffff;
  --wf2s-tab-active-bg: #0d3943;
  --wf2s-tab-active-color: #ffffff;
  --wf2s-tab-active-border: #0d3943;
  --wf2s-tab-diamond-bg: #ffffff;
  --wf2s-tab-check: #c9b16a;
  --wf2s-tab-height: 58px;
  --wf2s-tabs-gap: 10px;

  --wf2s-field-bg: #ffffff;
  --wf2s-field-text: #0d3943;
  --wf2s-placeholder: #8c8c8c;
  --wf2s-field-border: #e3e3e3;
  --wf2s-field-focus: #0d3943;
  --wf2s-field-label: #0d3943;
  --wf2s-field-icon: #3b3b3b;
  --wf2s-field-height: 62px;
  --wf2s-textarea-height: 100px;
  --wf2s-fields-gap: 18px;
  --wf2s-select-arrow: #1f1f1f;

  --wf2s-choice-wrap-bg: #c8d0d4;
  --wf2s-choice-bg: #ffffff;
  --wf2s-choice-color: #0d3943;
  --wf2s-choice-border: #ffffff;
  --wf2s-choice-active-bg: #0d3943;
  --wf2s-choice-active-color: #ffffff;
  --wf2s-choice-active-border: #0d3943;
  --wf2s-choice-diamond-bg: #ffffff;
  --wf2s-choice-check: #c9b16a;
  --wf2s-choice-height: 58px;
  --wf2s-choice-gap: 10px;

  --wf2s-submit-bg: #c9b16a;
  --wf2s-submit-color: #ffffff;
  --wf2s-submit-border: #c9b16a;
  --wf2s-submit-diamond-bg: #ffffff;
  --wf2s-submit-arrow: #c9b16a;
  --wf2s-submit-bg-hover: #0d3943;
  --wf2s-submit-color-hover: #ffffff;
  --wf2s-submit-border-hover: #0d3943;
  --wf2s-submit-diamond-bg-hover: #ffffff;
  --wf2s-submit-arrow-hover: #c9b16a;
  --wf2s-submit-height: 64px;
  --wf2s-submit-min-width: 142px;
  --wf2s-submit-diamond-size: 34px;
  --wf2s-submit-arrow-size: 16px;
  --wf2s-submit-diamond-left: 22px;

  --wf2s-note-color: #0d3943;

  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.weblabs-form-2style *,
.weblabs-form-2style *::before,
.weblabs-form-2style *::after{
  box-sizing: border-box;
}

.weblabs-form-2style__header{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: var(--wf2s-header-gap);
  flex-direction: row-reverse;
}

.weblabs-form-2style__header-accent-wrap{
display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
}

.weblabs-form-2style__header-accent{
  width: 100px;
  height: 16px;
  background: var(--wf2s-header-accent);
  display: inline-block;
  flex-shrink: 0;
}

.weblabs-form-2style__section-description{
  margin: 0;
  color: var(--wf2s-header-desc);
  line-height: 1.8;
  text-align: right;
}

.weblabs-form-2style__header-main{
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.weblabs-form-2style__section-title{
  margin: 0;
  color: var(--wf2s-header-title);
  line-height: 1.2;
  text-align: right;
}

.weblabs-form-2style__header-line{
  width: 32px;
  height: 2px;
  background: var(--wf2s-header-line);
  display: block;
}

.weblabs-form-2style__panel{
  width: 100%;
  margin: 0 auto;
  background: var(--wf2s-panel-bg);
  border: 1px solid var(--wf2s-panel-border);
  text-align: center;
}

.weblabs-form-2style__panel-title{
  margin: 0 0 var(--wf2s-title-desc-gap);
  color: var(--wf2s-panel-title);
  line-height: 1.35;
}

.weblabs-form-2style__panel-description{
  margin: 0 auto var(--wf2s-panel-gap);
  color: var(--wf2s-panel-desc);
  line-height: 1.95;
  text-align: center;
}

.weblabs-form-2style__forms-wrap{
  width: 100%;
}

.weblabs-form-2style__tab-panel{
  width: 100%;
}

.weblabs-form-2style__tab-panel[hidden]{
  display: none !important;
}

.weblabs-form-2style__tabs-wrap{
  margin-top: var(--wf2s-tabs-wrap-gap);
  display: flex;
}

.weblabs-form-2style__tabs-shell{
  background: var(--wf2s-tabs-shell-bg);
  padding: 10px;
  display: inline-flex;
  align-items: center;
  gap: var(--wf2s-tabs-gap);
  flex-wrap: wrap;
}

.weblabs-form-2style__tab{
  min-height: var(--wf2s-tab-height);
  background: var(--wf2s-tab-bg);
  color: var(--wf2s-tab-color);
  border: 1px solid var(--wf2s-tab-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: .25s ease;
  position: relative;
  white-space: nowrap;
}

.weblabs-form-2style__tab:hover{
  transform: translateY(-1px);
}

.weblabs-form-2style__tab.is-active{
  background: var(--wf2s-tab-active-bg);
  color: var(--wf2s-tab-active-color);
  border-color: var(--wf2s-tab-active-border);
}

.weblabs-form-2style__tab-check{
  width: 28px;
  height: 28px;
  position: relative;
  display: none;
  flex-shrink: 0;
}

.weblabs-form-2style__tab.is-active .weblabs-form-2style__tab-check{
  display: inline-block;
}

.weblabs-form-2style__tab-check::before{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wf2s-tab-diamond-bg);
  transform: rotate(45deg);
}

.weblabs-form-2style__tab-check::after{
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 14px;
  height: 10px;
  border-left: 3px solid var(--wf2s-tab-check);
  border-bottom: 3px solid var(--wf2s-tab-check);
  transform: rotate(-45deg);
}

.weblabs-form-2style__tab-text{
  line-height: 1.4;
}

.weblabs-form-2style__form-scope{
  width: 100%;
}

.weblabs-form-2style__empty{
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wf2s-field-bg);
  border: 1px solid var(--wf2s-field-border);
  color: var(--wf2s-field-text);
  text-align: center;
  padding: 20px;
}

/* Elementor form layout */
.weblabs-form-2style__form-scope .elementor-form{
  width: 100%;
}

.weblabs-form-2style__form-scope .elementor-form-fields-wrapper{
  display: flex;
  flex-wrap: wrap;
  gap: var(--wf2s-fields-gap);
  width: 100%;
  direction: rtl;
}

.weblabs-form-2style__form-scope .elementor-field-group{
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-width: 0;
}

.weblabs-form-2style__form-scope .elementor-field-group.elementor-col-50{
  width: calc(50% - (var(--wf2s-fields-gap) / 2));
}

.weblabs-form-2style__form-scope .elementor-field-group.elementor-col-33{
  width: calc(33.333% - ((var(--wf2s-fields-gap) * 2) / 3));
}

.weblabs-form-2style__form-scope .elementor-field-group.elementor-col-66{
  width: calc(66.666% - (var(--wf2s-fields-gap) / 3));
}

.weblabs-form-2style__form-scope .elementor-field-label{
  display: block;
  margin-bottom: 8px;
  text-align: right;
  color: var(--wf2s-field-label);
  line-height: 1.6;
}

.weblabs-form-2style__form-scope input.elementor-field:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.weblabs-form-2style__form-scope textarea.elementor-field,
.weblabs-form-2style__form-scope select.elementor-field{
  width: 100%;
  background: var(--wf2s-field-bg);
  border: 1px solid var(--wf2s-field-border);
  color: var(--wf2s-field-text);
  box-shadow: none;
  outline: none;
}

.weblabs-form-2style__form-scope input.elementor-field:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.weblabs-form-2style__form-scope select.elementor-field{
  min-height: var(--wf2s-field-height);
  height: var(--wf2s-field-height);
}

.weblabs-form-2style__form-scope textarea.elementor-field{
  min-height: var(--wf2s-textarea-height);
  resize: vertical;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.weblabs-form-2style__form-scope input.elementor-field:not([type="checkbox"]):not([type="radio"]):not([type="file"])::placeholder,
.weblabs-form-2style__form-scope textarea.elementor-field::placeholder{
  color: var(--wf2s-placeholder);
  opacity: 1;
}

.weblabs-form-2style__form-scope input.elementor-field:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.weblabs-form-2style__form-scope textarea.elementor-field:focus,
.weblabs-form-2style__form-scope select.elementor-field:focus{
  border-color: var(--wf2s-field-focus);
}

/* select */
.weblabs-form-2style__form-scope .elementor-field-type-select .elementor-select-wrapper{
  position: relative;
}

.weblabs-form-2style__form-scope .elementor-field-type-select .elementor-select-wrapper::before,
.weblabs-form-2style__form-scope .elementor-field-type-select .select-caret-down-wrapper{
  display: none !important;
}

.weblabs-form-2style__form-scope .elementor-field-type-select .elementor-select-wrapper::after{
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-left: 2px solid var(--wf2s-select-arrow);
  border-bottom: 2px solid var(--wf2s-select-arrow);
  transform: translateY(-70%) rotate(-45deg);
  pointer-events: none;
}

.weblabs-form-2style__form-scope .elementor-field-type-select select.elementor-field{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none !important;
  padding-left: 42px !important;
}

/* checkbox / radio */
.weblabs-form-2style__form-scope .elementor-field-type-checkbox .elementor-field-subgroup,
.weblabs-form-2style__form-scope .elementor-field-type-radio .elementor-field-subgroup{

  width: 100%;
  display: inline-flex;
  align-items: stretch;
  gap: var(--wf2s-choice-gap);
  flex-wrap: wrap;
  background: var(--wf2s-choice-wrap-bg);
  padding: 10px;
      flex-direction: row;
    flex-wrap: nowrap;
}

.weblabs-form-2style__form-scope .elementor-field-option{
  position: relative;
  flex: 0 0 auto;
}

.weblabs-form-2style__form-scope .elementor-field-option input[type="checkbox"],
.weblabs-form-2style__form-scope .elementor-field-option input[type="radio"]{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.weblabs-form-2style__choice-label,
.weblabs-form-2style__form-scope .elementor-field-option label{
  min-height: var(--wf2s-choice-height);
  background: var(--wf2s-choice-bg);
  color: var(--wf2s-choice-color);
  border: 1px solid var(--wf2s-choice-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  line-height: 1.4;
  cursor: pointer;
  transition: .25s ease;
  white-space: nowrap;
}

.weblabs-form-2style__form-scope .elementor-field-option label::before{
  content: "";
  width: 28px;
  height: 28px;
  position: relative;
  display: none;
  flex-shrink: 0;
}

.weblabs-form-2style__form-scope .elementor-field-option label::after{
  content: "";
  position: absolute;
    right: 28px;
    top: 50%;
  width: 14px;
  height: 10px;
  border-left: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transform: translateY(-56%) rotate(-45deg);
  opacity: 0;
}

.weblabs-form-2style__form-scope .elementor-field-option input[type="checkbox"]:checked + label,
.weblabs-form-2style__form-scope .elementor-field-option input[type="radio"]:checked + label{
  background: var(--wf2s-choice-active-bg);
  color: var(--wf2s-choice-active-color);
  border-color: var(--wf2s-choice-active-border);
  
  display: flex;
    background: #0d3943;
    padding: 10px 20px;
}

.weblabs-form-2style__form-scope .elementor-field-option input[type="checkbox"]:checked + label::before,
.weblabs-form-2style__form-scope .elementor-field-option input[type="radio"]:checked + label::before{
  display: inline-block;
  background: var(--wf2s-choice-diamond-bg);
  transform: rotate(45deg);
}

.weblabs-form-2style__form-scope .elementor-field-option input[type="checkbox"]:checked + label::after,
.weblabs-form-2style__form-scope .elementor-field-option input[type="radio"]:checked + label::after{
  border-left-color: var(--wf2s-choice-check);
  border-bottom-color: var(--wf2s-choice-check);
  opacity: 1;
}

/* submit button */
.weblabs-form-2style__form-scope .elementor-field-type-submit{
  width: 100% !important;
  display: flex;
  justify-content: flex-start;
  direction: ltr;
}

.weblabs-form-2style__form-scope .elementor-button{
  min-width: var(--wf2s-submit-min-width);
  min-height: var(--wf2s-submit-height);
  height: var(--wf2s-submit-height);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wf2s-submit-bg);
  color: var(--wf2s-submit-color);
  border: 1px solid var(--wf2s-submit-border);
  box-shadow: none;
  overflow: hidden;
  transition: .25s ease;
}

.weblabs-form-2style__form-scope .elementor-button:hover,
.weblabs-form-2style__form-scope .elementor-button:focus{
  background: var(--wf2s-submit-bg-hover);
  color: var(--wf2s-submit-color-hover);
  border-color: var(--wf2s-submit-border-hover);
}

.weblabs-form-2style__form-scope .elementor-button .elementor-button-icon{
  display: none !important;
}

.weblabs-form-2style__form-scope .elementor-button::before{
  content: "";
  position: absolute;
  left: var(--wf2s-submit-diamond-left);
  top: 50%;
  width: var(--wf2s-submit-diamond-size);
  height: var(--wf2s-submit-diamond-size);
  background: var(--wf2s-submit-diamond-bg);
  transform: translateY(-50%) rotate(45deg);
  transition: .25s ease;
}

.weblabs-form-2style__form-scope .elementor-button::after{
  content: "";
  position: absolute;
  left: calc(var(--wf2s-submit-diamond-left) + ((var(--wf2s-submit-diamond-size) - var(--wf2s-submit-arrow-size)) / 2));
  top: 50%;
  width: var(--wf2s-submit-arrow-size);
  height: var(--wf2s-submit-arrow-size);
  background: var(--wf2s-submit-arrow);
  transform: translateY(-50%);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M20 11H8.4l4.3-4.3-1.4-1.4L4.6 12l6.7 6.7 1.4-1.4L8.4 13H20z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M20 11H8.4l4.3-4.3-1.4-1.4L4.6 12l6.7 6.7 1.4-1.4L8.4 13H20z'/></svg>") center / contain no-repeat;
  transition: .25s ease;
}

.weblabs-form-2style__form-scope .elementor-button:hover::before,
.weblabs-form-2style__form-scope .elementor-button:focus::before{
  background: var(--wf2s-submit-diamond-bg-hover);
}

.weblabs-form-2style__form-scope .elementor-button:hover::after,
.weblabs-form-2style__form-scope .elementor-button:focus::after{
  background: var(--wf2s-submit-arrow-hover);
}

/* feedback */
.weblabs-form-2style__form-scope .elementor-message,
.weblabs-form-2style__form-scope .elementor-error{
  margin-top: 12px;
  text-align: right;
  line-height: 1.8;
}

.weblabs-form-2style__note{
  margin-top: var(--wf2s-note-gap);
  color: var(--wf2s-note-color);
  line-height: 1.95;
}

@media (max-width: 1024px){
  .weblabs-form-2style__header{
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .weblabs-form-2style__header-accent-wrap{
    justify-content: flex-start;
  }
}

@media (max-width: 767px){
  .weblabs-form-2style__header-line{
    width: 70px;
  }

  .weblabs-form-2style__panel{
    padding: 34px 20px !important;
  }

  .weblabs-form-2style__form-scope .elementor-field-group.elementor-col-50,
  .weblabs-form-2style__form-scope .elementor-field-group.elementor-col-33,
  .weblabs-form-2style__form-scope .elementor-field-group.elementor-col-66{
    width: 100%;
  }
  
  .weblabs-form-2style__form-scope .elementor-field-type-checkbox .elementor-field-subgroup, .weblabs-form-2style__form-scope .elementor-field-type-radio .elementor-field-subgroup {
    width: 100%;
    display: inline-flex;
    align-items: stretch;
    gap: var(--wf2s-choice-gap);
    flex-wrap: wrap;
    background: var(--wf2s-choice-wrap-bg);
    padding: 10px;
    flex-direction: column;
    flex-wrap: nowrap;
    padding-top: 50px;
}

.weblabs-form-2style__form-scope .elementor-field-option input[type="checkbox"]:checked + label, .weblabs-form-2style__form-scope .elementor-field-option input[type="radio"]:checked + label {
    justify-content: space-between;
}

.elementor-field-subgroup.elementor-subgroup-inline::after {
    content: ": انتخاب پلت فرم برقراری تماس ";
    position: absolute;
    left: 20px;
    top: 10px;
    font-family: "Estedad", Sans-serif;
    text-align: center;
}

  .weblabs-form-2style__tabs-wrap{
    justify-content: center;
  }

  .weblabs-form-2style__tabs-shell{
    width: 100%;
    justify-content: center;
  }

  .weblabs-form-2style__tab{
    flex: 1 1 100%;
  }

  .weblabs-form-2style__form-scope .elementor-field-type-submit{
    justify-content: center;
  }

  .weblabs-form-2style__form-scope .elementor-button{
    width: 100%;
    max-width: 100%;
  }

  .weblabs-form-2style__form-scope .elementor-field-type-checkbox .elementor-field-subgroup,
  .weblabs-form-2style__form-scope .elementor-field-type-radio .elementor-field-subgroup{
    justify-content: stretch;
  }

  .weblabs-form-2style__form-scope .elementor-field-option{
    width: 100%;
  }

  .weblabs-form-2style__form-scope .elementor-field-option label{
    width: 100%;
  }

  .weblabs-form-2style__panel-description{
    text-align: center;
  }
}