/* =========================================
   MODAL BACKDROP
========================================= */

.enquiry_modal_backdrop {
  background-color: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(3px);
}


/* =========================================
   MODAL WRAPPER
========================================= */

.enquiry_modal_dialog {
  max-width: 505px;
  width: calc(100% - 30px);
  margin: 30px auto;
}

.enquiry_modal_content {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}


/* =========================================
   MODAL
========================================= */

.enquiry_modal {
  position: relative;
  background: #ffffff;
  padding: 34px 32px 42px;
  overflow: hidden;
}


/* =========================================
   HEADER
========================================= */

.enquiry_modal_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

.enquiry_modal_header h2 {
  margin: 0;
  color: #111111;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 1.1px;
  line-height: 1.4;
}


/* =========================================
   CLOSE BUTTON
========================================= */

.enquiry_close_btn {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.enquiry_close_btn span {
  position: absolute;
  top: 13px;
  left: 1px;
  width: 27px;
  height: 1.5px;
  background: #111111;
  transition: transform 0.3s ease, background 0.3s ease;
}

.enquiry_close_btn span:first-child {
  transform: rotate(45deg);
}

.enquiry_close_btn span:last-child {
  transform: rotate(-45deg);
}

.enquiry_close_btn:hover span:first-child {
  transform: rotate(135deg);
}

.enquiry_close_btn:hover span:last-child {
  transform: rotate(-135deg);
}


/* =========================================
   FORM
========================================= */

.enquiry_form {
  width: 100%;
}

.enquiry_field {
  margin-bottom: 18px;
}


/* =========================================
   INPUT
========================================= */

.enquiry_input {
  width: 100%;
  height: 45px !important;
  border: 1px solid #d3d3d3 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #111111 !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 400;
  box-shadow: none !important;
  transition: border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.enquiry_input::placeholder {
  color: #555555;
  opacity: 1;
}

.enquiry_input:focus {
  border-color: #111111 !important;
  box-shadow: 0 0 0 1px #111111 !important;
}


/* =========================================
   PHONE
========================================= */

.enquiry_phone_row {
  margin: 0 -4px 18px;
  align-items: center;
}

.enquiry_phone_row > div {
  padding-left: 4px;
  padding-right: 4px;
}

.enquiry_phone_col {
  display: flex;
}

.enquiry_country_code {
  width: 100%;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d3d3d3;
  background: #fff;
  color: #222;
  font-size: 14px;
}

.enquiry_country_code:first-child {
  font-size: 19px;
}


/* =========================================
   REGION
========================================= */

.enquiry_region {
  margin-bottom: 16px;
}


/* =========================================
   CONSENT
========================================= */

.enquiry_consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 20px;
}

.enquiry_consent .form-check {
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.enquiry_consent .form-check-input {
  position: relative;
  float: none;
  margin: 0;
  width: 20px;
  height: 20px;
  border-radius: 0;
  border: 1px solid #111111;
  background-color: #111111;
  box-shadow: none !important;
  cursor: pointer;
}

.enquiry_consent .form-check-input:checked {
  background-color: #111111;
  border-color: #111111;
}

.enquiry_consent label {
  color: #666666;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.2px;
  cursor: pointer;
}


/* =========================================
   SUBMIT BUTTON
========================================= */

.enquiry_submit_btn {
  position: relative;
  min-width: 141px;
  height: 48px;
  padding: 0 28px;
  border: 1px solid #111111 !important;
  border-radius: 0 !important;
  background: #111111 !important;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  overflow: hidden;
  transition: color 0.35s ease,
    background 0.35s ease;
  z-index: 1;
}

.enquiry_submit_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform: translateX(-101%);
  transition: transform 0.35s ease;
  z-index: -1;
}

.enquiry_submit_btn:hover {
  color: #111111 !important;
  background: #111111 !important;
}

.enquiry_submit_btn:hover::before {
  transform: translateX(0);
}


/* =========================================
   REACT SELECT
========================================= */

.enquiry_form .css-13cymwt-control {
  border-radius: 0;
}


/* =========================================
   MODAL ANIMATION
========================================= */

.modal.fade .enquiry_modal_dialog {
  transform: translateY(35px) scale(0.97);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.modal.show .enquiry_modal_dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 575px) {
  .enquiry_modal_dialog {
    width: calc(100% - 20px);
    margin: 20px auto;
  }

  .enquiry_modal {
    padding: 28px 20px 32px;
  }

  .enquiry_modal_header {
    margin-bottom: 28px;
  }

  .enquiry_modal_header h2 {
    font-size: 15px;
    letter-spacing: 0.8px;
  }

  .enquiry_field {
    margin-bottom: 15px;
  }

  .enquiry_phone_row {
    margin-bottom: 15px;
  }

  .enquiry_consent label {
    font-size: 12px;
  }

  .desktop_break {
    display: none;
  }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {
  .enquiry_modal {
    padding: 24px 15px 28px;
  }

  .enquiry_modal_header h2 {
    font-size: 14px;
  }

  .enquiry_close_btn {
    width: 24px;
  }

  .enquiry_close_btn span {
    width: 23px;
  }

  .enquiry_submit_btn {
    width: 100%;
  }
}