.section-form .form-wrapper {--gap: 30px;display: flex;/* gap: var(--gap); */background: white;/* padding: 20px; */box-shadow: var(--shadow-card)}
.section-form .form-wrapper > * {/* width: calc(50% - var(--gap)); */}
.section-form .form-wrapper:After {align-self: stretch;width: 1px;background: linear-gradient(92deg,transparent, #00000026, transparent);order: 2;}
.section-form .form-info {order: 1;background: #FFF;box-shadow: 3px 0 11.7px 0 rgba(0, 0, 0, 0.04) inset;padding: 20px;width: 40%;}
.section-form .form-elements {order: 3;padding: 20px;flex: 1;}
.section-form .form-title {margin-bottom: 4px;color: var(--primary-color);}
.section-form .form-control  :is(input, textarea) {width: 100%;border: 1px solid var(--extra-light-gray);outline: unset;font-size: var(--font-size-body-sm);padding: 8px;height: 100%;}
.section-form .form-info .section-social {padding: 0;margin-top: 30px;padding-bottom: 20px;}
.section-form .form-control  :is(input, textarea):focus {border-color: var(--primary-color) !important;}
.section-form .location-wrapper {margin-top: 20px;height: 300px;overflow: hidden;}
.section-form .location-wrapper img {width:100%;}
.section-form .form-elements form > * + * {margin-top: 14px;}
.section-form .form-control > input[type="tel"]::placeholder {text-align:end;}
.section-form .form-control > :is(input, textarea)::placeholder {color: var(--gray-light);font-size:12px;}
.section-form .form-control > textarea {min-height:100px;}
.section-form .form-control .submit-button {font-size: var(--font-size-body-md);padding: 8px;background-color: var(--primary-color);color: white;width: fit-content;margin: 0 auto;display: block;min-width: 120px;cursor: pointer;transition: .4s;}
.section-form .form-control .submit-button:hover {background-color: hsl(from var(--primary-color) h s 40%);}
.section-form .social-list {list-style: none;display: flex;flex-direction: column;gap:8px;margin-top: 20px;}
.section-form .social-item {display: flex;align-items: center;gap: 10px;}
.section-form .social-item > span[class*="icon"] {width: 35px;aspect-ratio: 1;display: flex;align-items: center;justify-content: center;border: 1px solid var(--primary-color);border-radius: 50%;color: var(--primary-color);}
.section-form .social-item__text {text-decoration: none;color: inherit;}
.section-form .social-item a.social-item__text {transition: color 0.3s;}
.section-form .social-item a.social-item__text:hover {color: var(--primary-color);}
.section-form .form-control-label {font-size: clamp(1.1rem, 2.5vw, 1.7rem);margin-bottom: 4px;display: block;}
.section-form .label-required[for="mobile"] {text-align: end;display: block;}
html[dir="ltr"] .section-form .label-required[for="mobile"] {text-align: start;display: block;}

/* Intl-Tel-Input Library Styles */
.section-form .iti {width: 100%;}
.section-form .iti--allow-dropdown .iti__country-container {right: unset !important;left: unset !important;inset-inline-start: 0px !important;}
.section-form .iti--allow-dropdown input.iti__tel-input,
.section-form .iti--allow-dropdown input.iti__tel-input[type=text],
.section-form .iti--allow-dropdown input.iti__tel-input[type=tel] {
  padding: 8px !important;
  margin-inline-start: calc(90px + 8px) !important;
  position: revert !important;
}
.section-form .iti--allow-dropdown input.iti__tel-input:focus {
  border-color: var(--primary-color) !important;
}
.section-form .iti.iti--allow-dropdown.iti--show-flags.iti--inline-dropdown {
  width: 100%;
  font-family: inherit;
  display: flex;
  gap: 8px;
}
.section-form .iti__arrow {margin: 0 !important;margin-inline-start: 4px !important;}
.section-form .iti__country-container {
  border: 1px solid var(--primary-color);
  z-index: 1;
}
.section-form .iti__selected-country {
  background-color: white;
  padding: 8px;
}
.section-form .iti__selected-country:hover,
.section-form .iti__selected-country:focus {
  background-color: #f5f5f5;
}

/* Flash Message Styles */
.jax-flash-message {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 300px;
  max-width: 500px;
  padding: 16px 45px 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  animation: slideInRight 0.3s ease-out;
  font-size: 14px;
  line-height: 1.5;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.jax-flash-message.error {
  background-color: #fee;
  border-left: 4px solid #dc3545;
  color: #721c24;
}

.jax-flash-message.success {
  background-color: #d4edda;
  border-left: 4px solid #28a745;
  color: #155724;
}

.jax-flash-message.info {
  background-color: #d1ecf1;
  border-left: 4px solid #17a2b8;
  color: #0c5460;
}

.jax-flash-message.warning {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  color: #856404;
}

.jax-flash-message .flash-message {
  display: block;
  font-weight: 500;
}

.jax-flash-message .flash-close {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.jax-flash-message .flash-close:hover {
  opacity: 1;
}

.jax-flash-message .flash-close::before,
.jax-flash-message .flash-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background-color: currentColor;
}

.jax-flash-message .flash-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.jax-flash-message .flash-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Success Message Style */
.form-success {
  padding: 16px;
  margin-top: 20px;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  color: #155724;
  font-size: 14px;
  text-align: center;
}

/* reCAPTCHA v2 Styles */
.section-form .g-recaptcha {
  display: flex;
  justify-content: center;
  transform-origin: center;
}

@media (max-width: 768px) {
  .section-form .g-recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
  }

  .section-form .form-wrapper {
    flex-direction: column;
  }

  .section-form .form-info {
    width: auto;
  }

  .section-form input#mobile {
    width: -webkit-fill-available;
  }
}
