/* Start custom CSS for elementskit-wp-forms, class: .elementor-element-a466ba1 *//* ===========================================
   GlobalEd — Europe Education Fair Form
   Modern, clean, mobile-safe (no overflow)
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---- Overflow + box-sizing guard ---- */
#wpforms-32398,
#wpforms-32398 * {
  box-sizing: border-box;
}

/* ---- Form Card ---- */
#wpforms-32398 {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(34, 73, 182, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
  border: 1px solid #eef1f6;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  overflow: visible;            /* keep visible so phone dropdown isn't clipped */
}

/* ---- Field spacing ---- */
#wpforms-32398 .wpforms-field {
  margin-bottom: 20px !important;
  padding: 0 !important;
}

/* ---- Labels ---- */
#wpforms-32398 .wpforms-field-label {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}
#wpforms-32398 .wpforms-required-label {
  color: #18cf74;
}

/* ---- Inputs / selects (unified height) ---- */
#wpforms-32398 input[type="text"],
#wpforms-32398 input[type="tel"],
#wpforms-32398 select,
#wpforms-32398 .choices__inner {
  height: 56px !important;
  min-height: 56px !important;
  border-radius: 14px !important;
  border: 1.5px solid #e5e9f0 !important;
  background: #f9fafb !important;
  padding: 0 16px !important;
  font-size: 15px !important;
  font-weight: 500;
  color: #1f2937 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

/* native select arrow */
#wpforms-32398 select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236b7280' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-right: 44px !important;
}

/* choices.js modern select inner alignment */
#wpforms-32398 .choices__inner {
  display: flex !important;
  align-items: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#wpforms-32398 .choices__list--single {
  padding: 0 !important;
}

/* ---- Focus state ---- */
#wpforms-32398 input[type="text"]:focus,
#wpforms-32398 input[type="tel"]:focus,
#wpforms-32398 select:focus,
#wpforms-32398 .is-focused .choices__inner {
  border-color: #18cf74 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(24, 207, 116, 0.12) !important;
  outline: none !important;
}

/* ---- Placeholder ---- */
#wpforms-32398 input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* ===========================================
   PHONE FIELD (intl-tel-input)
   =========================================== */
#wpforms-32398 .iti {
  width: 100% !important;
  display: block !important;
}
#wpforms-32398 input[type="tel"] {
  padding-left: 88px !important;
}
#wpforms-32398 .iti__selected-flag {
  border-radius: 14px 0 0 14px;
  padding: 0 12px !important;
  background: transparent !important;
}

/* phone country dropdown — constrained so it never causes page overflow */
#wpforms-32398 .iti__country-list,
#wpforms-32398 .iti__dropdown-content {
  width: 280px !important;
  max-width: calc(100vw - 48px) !important;   /* never wider than viewport */
  border: 1px solid #eef1f6 !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
#wpforms-32398 .iti__country {
  padding: 10px 14px !important;
}
#wpforms-32398 .iti__country-name {
  white-space: normal !important;
  font-size: 14px;
}
#wpforms-32398 .iti__dial-code {
  margin-left: 6px;
  color: #6b7280;
}

/* ===========================================
   CHOICES.JS DROPDOWN (Choose Country)
   =========================================== */
#wpforms-32398 .choices__list--dropdown {
  border-radius: 14px !important;
  border: 1px solid #eef1f6 !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08) !important;
  max-width: 100% !important;
}
#wpforms-32398 .choices__list--dropdown .choices__item {
  font-size: 15px;
  padding: 11px 16px;
}
#wpforms-32398 .choices__list--dropdown .choices__item.is-highlighted {
  background: rgba(24, 207, 116, 0.10) !important;
  color: #1f2937 !important;
}

/* ===========================================
   SUBMIT BUTTON
   =========================================== */
#wpforms-submit-32398 {
  width: 100% !important;
  height: 60px;
  border: none !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #2249b6 0%, #18cf74 130%) !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px;
  margin-top: 8px !important;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 26px rgba(34, 73, 182, 0.25);
}
#wpforms-submit-32398:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(24, 207, 116, 0.30);
}

/* ===========================================
   MOBILE
   =========================================== */
@media (max-width: 768px) {
  #wpforms-32398 {
    padding: 24px 18px;
    border-radius: 18px;
  }
  #wpforms-32398 input[type="text"],
  #wpforms-32398 input[type="tel"],
  #wpforms-32398 select,
  #wpforms-32398 .choices__inner {
    height: 52px !important;
    min-height: 52px !important;
    font-size: 15px !important;
  }
  #wpforms-32398 input[type="tel"] {
    padding-left: 84px !important;
  }
  #wpforms-submit-32398 {
    height: 56px;
    font-size: 16px !important;
  }
  #wpforms-32398 .iti__country-list,
  #wpforms-32398 .iti__dropdown-content {
    width: calc(100vw - 60px) !important;
    max-width: calc(100vw - 60px) !important;
  }
}/* End custom CSS */