/*! AlphaWeb Elementor Toolkit - Custom Form Widget Styles */
@charset "UTF-8";

/* Form Widget Core Styles */
.elementor-hidden,
.elementor-button.elementor-hidden,
.e-form__buttons.elementor-hidden,
.e-form__buttons__wrapper.elementor-hidden {
  display: none !important;
}

.elementor-form-fields-wrapper.elementor-labels-inline .elementor-field-group>label.elementor-field-label {
  flex: 3;
  min-width: 30%;
}

.elementor-form-fields-wrapper.elementor-labels-inline .elementor-field-group>.elementor-field,
.elementor-form-fields-wrapper.elementor-labels-inline .elementor-field-group>.elementor-field-subgroup {
  flex: 7;
}

.elementor-form-fields-wrapper>.elementor-field-group>.elementor-message {
  flex: 10;
  flex-basis: 100%;
}

.elementor-form-fields-wrapper.elementor-labels-inline>.elementor-field-group:not(.elementor-field-type-recaptcha)>.elementor-message {
  padding-left: calc(30% - 10px);
}

/* Fix checkboxes in third party themes. */
.elementor-widget-awet_custom_form .elementor-field-type-checkbox .elementor-field-subgroup .elementor-field-option input,
.elementor-widget-awet_custom_form .elementor-field-type-checkbox .elementor-field-subgroup .elementor-field-option label,
.elementor-widget-awet_custom_form .elementor-field-type-radio .elementor-field-subgroup .elementor-field-option input,
.elementor-widget-awet_custom_form .elementor-field-type-radio .elementor-field-subgroup .elementor-field-option label,
.elementor-widget-awet_custom_form .elementor-field-type-acceptance .elementor-field-subgroup .elementor-field-option input,
.elementor-widget-awet_custom_form .elementor-field-type-acceptance .elementor-field-subgroup .elementor-field-option label {
  display: inline-block;
}

.elementor-form button.elementor-button:hover {
  cursor: pointer;
}


.elementor-widget-awet_custom_form .elementor-field-type-custom_button .elementor-button-wrapper {
  width: 100%;
}

.elementor-widget-awet_custom_form .elementor-field-type-custom_button .elementor-button.elementor-size-sm {
  padding: 12px 24px;
}

/* This is an ugly trick to make the input stay visible when an error message appeared. */
.elementor-widget-awet_custom_form .elementor-field-type-upload input[type=file] {
  border: 1px solid transparent;
}

/* Form widget acceptance field styles */
.elementor-widget-awet_custom_form .elementor-field-type-acceptance.elementor-mark-required .elementor-field-subgroup label {
  display: inline-flex;
}

.elementor-widget-awet_custom_form .elementor-field-type-acceptance.elementor-mark-required .elementor-field-subgroup label:after {
  content: "*";
  color: red;
  padding-inline-start: .2em;
}

.elementor-widget-awet_custom_form .elementor-field-type-acceptance.elementor-mark-required>label+.elementor-field-subgroup label:after {
  display: none;
}

/* Form Field Base Styles */
.elementor-form {
  width: 100%;
}

.elementor-form-fields-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.elementor-field-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  padding: 0 10px;
  box-sizing: border-box;
}

.elementor-field-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.elementor-field {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  font-family: inherit;
}

.elementor-field:focus {
  outline: none;
  border-color: #007cba;
}

/* Field Types */
.elementor-field-textual {
  background-color: #fff;
}

.elementor-field-type-textarea .elementor-field {
  resize: vertical;
  min-height: 80px;
}

.elementor-select-wrapper {
  position: relative;
}

.elementor-select-wrapper select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23666' d='m0 0 2 2 2-2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 8px;
  padding-right: 30px;
}

/* Checkbox and Radio Styles */
.elementor-field-subgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.elementor-field-option {
  display: flex;
  align-items: center;
  gap: 5px;
}

.elementor-field-option input[type="checkbox"],
.elementor-field-option input[type="radio"] {
  width: auto;
  margin: 0;
  padding: 0;
}

.elementor-field-option label {
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}

/* Inline List Style */
.elementor-subgroup-inline {
  flex-direction: row;
}

/* Button Styles */
.elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  font-weight: 500;
  line-height: 1;
  min-height: 40px;
  box-sizing: border-box;
}

/* Ensure widget button styling is properly applied */
.elementor-widget-awet_custom_form .elementor-button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  box-sizing: border-box !important;
}

/* Prevent font-size flicker during editor updates */
.elementor-editor-active .elementor-widget-awet_custom_form .elementor-button-text {
  transition: none !important;
}

.elementor-button-content-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.elementor-button-icon {
  display: flex;
  align-items: center;
}

.elementor-button-text {
  flex-grow: 1;
}

/* Icon positioning - Before/After controls */
.elementor-align-icon-left .elementor-button-icon {
  order: 1;
}

.elementor-align-icon-left .elementor-button-text {
  order: 2;
}

.elementor-align-icon-right .elementor-button-icon {
  order: 2;
}

.elementor-align-icon-right .elementor-button-text {
  order: 1;
}

/* Button Sizes - Default padding, can be overridden by Text Padding control */
.elementor-widget-awet_custom_form .elementor-button.elementor-size-xs {
  padding: 8px 16px;
  font-size: 12px !important;
  min-height: 32px !important;
}

.elementor-widget-awet_custom_form .elementor-button.elementor-size-sm {
  padding: 10px 20px;
  font-size: 14px !important;
  min-height: 36px !important;
}

.elementor-widget-awet_custom_form .elementor-button.elementor-size-md {
  padding: 12px 24px;
  font-size: 16px !important;
  min-height: 40px !important;
}

.elementor-widget-awet_custom_form .elementor-button.elementor-size-lg {
  padding: 14px 28px;
  font-size: 18px !important;
  min-height: 46px !important;
}

.elementor-widget-awet_custom_form .elementor-button.elementor-size-xl {
  padding: 16px 32px;
  font-size: 20px !important;
  min-height: 52px !important;
}

/* Messages */
.elementor-message {
  padding: 10px;
  margin-top: 10px;
  border-radius: 3px;
  font-size: 14px;
}

.elementor-message-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.elementor-message-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.elementor-message-warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

/* Required Field Indicator */
.elementor-mark-required .elementor-field-label:after {
  content: "*";
  color: #e74c3c;
  margin-left: 3px;
}

/* Form Title and Description */
.elementor-form-title {
  margin: 0 0 10px 0;
}

.elementor-form-title-description-wrapper {
  margin-bottom: 20px;
}

.elementor-form-text-after-description-wrapper {
  margin-top: 15px;
}

/* Responsive Column Widths */
.elementor-col-100 {
  width: 100%;
}

.elementor-col-80 {
  width: 80%;
}

.elementor-col-75 {
  width: 75%;
}

.elementor-col-70 {
  width: 70%;
}

.elementor-col-66 {
  width: 66.666%;
}

.elementor-col-60 {
  width: 60%;
}

.elementor-col-50 {
  width: 50%;
}

.elementor-col-40 {
  width: 40%;
}

.elementor-col-33 {
  width: 33.333%;
}

.elementor-col-30 {
  width: 30%;
}

.elementor-col-25 {
  width: 25%;
}

.elementor-col-20 {
  width: 20%;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .elementor-md-100 {
    width: 100% !important;
  }

  .elementor-md-80 {
    width: 80% !important;
  }

  .elementor-md-75 {
    width: 75% !important;
  }

  .elementor-md-70 {
    width: 70% !important;
  }

  .elementor-md-66 {
    width: 66.666% !important;
  }

  .elementor-md-60 {
    width: 60% !important;
  }

  .elementor-md-50 {
    width: 50% !important;
  }

  .elementor-md-40 {
    width: 40% !important;
  }

  .elementor-md-33 {
    width: 33.333% !important;
  }

  .elementor-md-30 {
    width: 30% !important;
  }

  .elementor-md-25 {
    width: 25% !important;
  }

  .elementor-md-20 {
    width: 20% !important;
  }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .elementor-sm-100 {
    width: 100% !important;
  }

  .elementor-sm-80 {
    width: 80% !important;
  }

  .elementor-sm-75 {
    width: 75% !important;
  }

  .elementor-sm-70 {
    width: 70% !important;
  }

  .elementor-sm-66 {
    width: 66.666% !important;
  }

  .elementor-sm-60 {
    width: 60% !important;
  }

  .elementor-sm-50 {
    width: 50% !important;
  }

  .elementor-sm-40 {
    width: 40% !important;
  }

  .elementor-sm-33 {
    width: 33.333% !important;
  }

  .elementor-sm-30 {
    width: 30% !important;
  }

  .elementor-sm-25 {
    width: 25% !important;
  }

  .elementor-sm-20 {
    width: 20% !important;
  }

  .elementor-form-fields-wrapper.elementor-labels-inline .elementor-field-group {
    flex-direction: column;
  }

  .elementor-form-fields-wrapper.elementor-labels-inline .elementor-field-group>label.elementor-field-label {
    flex: none;
    margin-bottom: 5px;
  }

  .elementor-form-fields-wrapper.elementor-labels-inline .elementor-field-group>.elementor-field,
  .elementor-form-fields-wrapper.elementor-labels-inline .elementor-field-group>.elementor-field-subgroup {
    flex: none;
  }

  .elementor-form-fields-wrapper.elementor-labels-inline>.elementor-field-group:not(.elementor-field-type-recaptcha)>.elementor-message {
    padding-left: 0;
  }
}

/* Button Alignments */
.elementor-widget-awet_custom_form.elementor-button-align-start .elementor-field-type-submit {
  display: flex !important;
  align-items: flex-start !important;
}

.elementor-widget-awet_custom_form.elementor-button-align-center .elementor-field-type-submit {
  display: flex !important;
  align-items: center !important;
}

.elementor-widget-awet_custom_form.elementor-button-align-end .elementor-field-type-submit {
  display: flex !important;
  align-items: flex-end !important;
}

.elementor-widget-awet_custom_form.elementor-button-align-stretch .elementor-field-type-submit {
  display: flex !important;
  align-items: stretch !important;
}

.elementor-widget-awet_custom_form.elementor-button-align-stretch .elementor-field-type-submit .elementor-button {
  width: 100% !important;
  flex: 1 !important;
}

/* Screen Reader Only */
.elementor-screen-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Upload Field Styles */
.elementor-field-type-upload .elementor-field {
  padding: 8px;
  cursor: pointer;
}

.elementor-field-type-upload .elementor-field:hover {
  border-color: #007cba;
}

/* Steps Styles (for multi-step forms) */
.e-form__indicators {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.e-form__indicators__indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  padding: 10px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: #666;
  font-weight: bold;
}

.e-form__indicators__indicator--active {
  background-color: #007cba;
  color: #fff;
}

.e-form__indicators__indicator--completed {
  background-color: #28a745;
  color: #fff;
}

/* Loading Spinner */
.elementor-form-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007cba;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .elementor-field {
    border-width: 2px;
  }

  .elementor-button {
    border: 2px solid currentColor;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

  .elementor-button,
  .elementor-field {
    transition: none;
  }

  .elementor-form-spinner {
    animation: none;
  }
}