/* ===================================================
   Layout: Service page banner
   File:   template-parts/flexible/service_page_banner/service_page_banner.css
=================================================== */

.page-banner-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  justify-content: center;
}
.page-banner-content p {
  margin: 0 !important;
}

.right-img-container {
  width: 100%;
  height: 667px;
  overflow: hidden;
}

.right-img-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-page-banner .banner-btn-container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.right-img-container-wrap {
  position: relative;
}

.banner-float-box {
  background-color: var(--color-white);
  padding: 14px;
  border-radius: 10px;
  width: 275px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: absolute;
}

.banner-float-box-1 {
  top: 30%;
  left: -3%;
}

.banner-float-box-2 {
  bottom: 18%;
  right: -3%;
}

/* RWD  */
@media (max-width: 767px) {
  .service-page-banner {
    padding-top: 40px;
  }
  .service-page-banner .banner-btn-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .right-img-container {
    height: 474px;
    margin-top: 50px;
  }

  .banner-float-box {
    width: 200px;
  }

  .banner-float-box-1 {
    top: 0;
    left: 0;
  }

  .banner-float-box-2 {
    bottom: 0;
    right: 0;
  }
}

/* form popup  */
/* =========================================================
   JOB FORM POPUP
========================================================= */

.LCV_job_popup {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

/* =========================================================
   ACTIVE POPUP
========================================================= */

.LCV_job_popup.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   OVERLAY
========================================================= */

.LCV_job_popup_overlay {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.6);
}

/* =========================================================
   POPUP INNER
========================================================= */

.LCV_job_popup_inner {
  position: relative;
  z-index: 2;

  width: min(900px, calc(100% - 40px));

  max-height: calc(100vh - 40px);

  padding: 35px 50px 35px 50px;

  background: #ffffff;

  border-radius: 20px;

  overflow-y: auto;
  overflow-x: hidden;

  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;

  scrollbar-width: thin;
  scrollbar-color: rgba(40, 40, 40, 0.25) transparent;
}

.LCV_job_popup_inner::-webkit-scrollbar {
  width: 6px;
  display: block;
}

.LCV_job_popup_inner::-webkit-scrollbar-track {
  background: transparent;
}

.LCV_job_popup_inner::-webkit-scrollbar-thumb {
  background: rgba(40, 40, 40, 0.25);
  border-radius: 8px;
}

.LCV_job_popup_inner::-webkit-scrollbar-thumb:hover {
  background: var(--color-1, #ea5f37);
}

/* =========================================================
   CLOSE BUTTON
========================================================= */

.LCV_job_popup_close {
  position: absolute;
  top: 15px;
  right: 15px;

  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 0;
  background: transparent;

  font-size: 30px;
  line-height: 1;

  cursor: pointer;

  z-index: 3;
}

/* =========================================================
   POPUP CONTENT
========================================================= */

.LCV_job_popup_content {
  position: relative;
  z-index: 2;
}

/* =========================================================
   PREVENT PAGE SCROLL WHEN POPUP IS OPEN
========================================================= */

html.LCV_job_popup_open,
body.LCV_job_popup_open {
  overflow: hidden;
}

.find-job-heading {
  text-align: center;
}

/* =========================================================
   TABLET / LAPTOP - 1279px AND BELOW
========================================================= */

@media (max-width: 1279px) {
  .LCV_job_popup_inner {
    max-height: calc(100vh - 40px);

    overflow-y: auto;
    overflow-x: hidden;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .LCV_job_popup_inner::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .LCV_job_popup_inner {
    width: calc(100% - 24px);

    max-height: calc(100vh - 24px);

    padding: 30px 20px;

    border-radius: 16px;
  }

  .LCV_job_popup_close {
    top: 10px;
    right: 10px;

    width: 36px;
    height: 36px;

    font-size: 26px;
  }
  .find-job-heading {
    text-align: left;
  }
}

/* pop up two  */

/* =========================================================
   COPY CODE POPUP
========================================================= */

.LCV_copy_popup {
  position: fixed;
  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

/* =========================================================
   ACTIVE
========================================================= */

.LCV_copy_popup.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   OVERLAY
========================================================= */

.LCV_copy_popup_overlay {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.6);
}

/* =========================================================
   POPUP INNER
========================================================= */

.LCV_copy_popup_inner {
  position: relative;
  z-index: 2;

  width: min(600px, calc(100% - 40px));

  max-height: calc(100vh - 40px);

  padding: 40px;

  background: #ffffff;

  border-radius: 20px;

  overflow: visible;
}

/* =========================================================
   CLOSE BUTTON
========================================================= */

.LCV_copy_popup_close {
  position: absolute;

  top: 15px;
  right: 15px;

  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 0;
  background: transparent;

  font-size: 30px;
  line-height: 1;

  cursor: pointer;

  z-index: 3;
}

/* =========================================================
   CONTENT
========================================================= */

.LCV_copy_popup_content {
  position: relative;
  z-index: 2;
}

/* =========================================================
   PAGE SCROLL LOCK
========================================================= */

html.LCV_copy_popup_open,
body.LCV_copy_popup_open {
  overflow: hidden;
}

/* =========================================================
   1279px AND BELOW
========================================================= */

@media (max-width: 1279px) {
  .LCV_copy_popup_inner {
    max-height: calc(100vh - 40px);

    overflow-y: auto;
    overflow-x: hidden;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .LCV_copy_popup_inner::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .LCV_copy_popup_inner {
    width: calc(100% - 24px);

    max-height: calc(100vh - 24px);

    padding: 50px 20px 30px 20px;

    border-radius: 16px;
  }

  .LCV_copy_popup_close {
    top: 10px;
    right: 10px;

    width: 36px;
    height: 36px;

    font-size: 26px;
  }
}

/* copy paste  */
.LCV_copy_popup_container-header,
.ref-link-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.ref-link-container {
  padding-top: 24px;
}

.LCV_copy_popup_container-header p {
  margin: 0 !important;
}

.copy-paste-box {
  width: 80%;
  padding: 18px;
  text-align: center;
  background-color: #fcfcf6;
  border-radius: 10px;
  border: 1px solid #707070;
}

/* =========================================================
   COPY / PASTE BOX
========================================================= */

.copy-paste-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  cursor: pointer;

  transition: all 0.2s ease;
}

/* =========================================================
   REFERRAL LINK TEXT
========================================================= */

.copy-referral-text {
  display: block;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================================================
   COPY ICON
========================================================= */

.copy-referral-icon {
  flex-shrink: 0;

  transition: opacity 0.2s ease;
}

/* =========================================================
   COPIED STATE
========================================================= */

.copy-paste-box.is-copied .copy-referral-text {
  color: #282828;
}

/* =========================================================
   HOVER
========================================================= */

@media (hover: hover) {
  .copy-paste-box:hover .copy-referral-icon {
    opacity: 0.7;
  }
}

@media (max-width: 767px) {
  .LCV_copy_popup_container-header,
  .ref-link-container {
    text-align: left;
  }
  .copy-paste-box {
    width: 100%;
  }
  .LCV_copy_popup_container-header,
  .ref-link-container {
    align-items: flex-start;
  }
}
