
/* ========================================
   CONTACT PAGE LAYOUT
======================================== */

.weblodge-agency-contact-page-section {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.weblodge-agency-contact-page-section .contact-page-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.weblodge-agency-contact-page-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  min-width: 0;
  box-sizing: border-box;
  gap: 10px;
  align-items: flex-start;
}

.weblodge-agency-contact-page-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  min-width: 0;
  box-sizing: border-box;
  align-items: stretch;
}


/* ========================================
   CONTACT LINKS
======================================== */



.contact-page-link-container {
  display: flex;
  align-items: center;
  gap: 8px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  margin-left: 60px;
  text-decoration: none !important;
}

.contact-page-link-container *,
.contact-page-link-container:hover,
.contact-page-link-container:hover * {
  text-decoration: none !important;
}

.contact-page-link-icon-wrapper {
  width: 40px;
  height: 40px;
  position: relative;
  flex-shrink: 0;
}

.contact-page-link-icon-wrapper dotlottie-wc {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: opacity 0.35s ease;
}

.contact-page-link-hover {
  opacity: 0;
}

.contact-page-link-container:hover .contact-page-link-default {
  opacity: 0;
}

.contact-page-link-container:hover .contact-page-link-hover {
  opacity: 1;
}

.contact-page-link-container:hover .contact-page-link-text {
  color: #26c6f9;
}

.contact-page-link-text {
  display: inline-block;
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: color 0.35s ease;
}

.contact-page-link-container:focus,
.contact-page-link-container:active {
  text-decoration: none !important;
  outline: none;
  box-shadow: none;
}


/* ========================================
   CONTACT BADGE
======================================== */

.contact-page-badge-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 6px;
  align-self: center;
  box-sizing: border-box;
}

.contact-page-badge-wrap .wla-badge,
.contact-badge-wrap .weblodge-agency-top-center-common-badge {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-wrap: nowrap;
  margin-bottom: 0 !important;
}


/* ========================================
   CONTACT INTRO TEXT
======================================== */

/* Layout only - intro text style from global .wla-description-text */
.weblodge-agency-contact-page-right h2 {
  margin: 0 0 10px;
  text-align: center;
}


/* ========================================
   INPUT GLASS THEME
======================================== */



/* INPUT HEIGHTS */

#weblodge-agency-name,
#weblodge-agency-email,
#weblodge-agency-subject {
  width: 100%;
  padding: 0 18px;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #ffffff !important;
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  height: 52px;
}

/* MESSAGE */

#weblodge-agency-message {
  width: 100%;
  padding: 0 18px;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #ffffff !important;
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  min-height: 200px;
  height: auto;
  resize: none;
  overflow-y: hidden;
  padding-top: 15px;
}

/* PLACEHOLDER */

#weblodge-agency-name::placeholder,
#weblodge-agency-email::placeholder,
#weblodge-agency-subject::placeholder,
#weblodge-agency-message::placeholder {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* FOCUS */

#weblodge-agency-name:focus,
#weblodge-agency-email:focus,
#weblodge-agency-subject:focus,
#weblodge-agency-message:focus {
  background: rgba(38, 198, 249, 0.18) !important;
  border: 1px solid rgba(38, 198, 249, 0.55) !important;
  box-shadow: 0 0 25px rgba(38, 198, 249, 0.35);
  color: #ffffff !important;
}

/* SELECTION */

#weblodge-agency-name::selection,
#weblodge-agency-email::selection,
#weblodge-agency-subject::selection,
#weblodge-agency-message::selection {
  background: #ffffff !important;
  color: #170154 !important;
}


/* ========================================
   FORM ROWS
======================================== */

.weblodge-agency-contact-form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.weblodge-agency-contact-form-row.inline-fields {
  flex-direction: row;
  gap: 10px;
}

.weblodge-agency-contact-form-row.inline-fields .field-wrapper {
  flex:1;
  display:flex;
  flex-direction:column;
}

.weblodge-agency-contact-form-row.message-row {
  margin-bottom: 10px;
}

.weblodge-agency-contact-form-row.attach-row {
  margin-top:8px;
  margin-bottom:10px;
  gap:5px;
}


/* ========================================
   FILE UPLOAD BUTTON
======================================== */

.custom-file-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.upload-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Keep icon, button text and filename cyan */
.upload-btn .upload-icon,
.upload-btn .btn-text {
  color: #26c6f9 !important;
  transition: color 0.35s ease;
}

/* SVG icon: use currentColor */
.upload-btn .upload-icon path,
.upload-btn .upload-icon polyline {
  stroke: currentColor !important;
}

.upload-btn .file-name {
  color: #26c6f9 !important;
  transition: color 0.35s ease;
  max-width: 390px;
  font-size: 18px;
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: auto;
  text-align: center;
  display: inline-flex;
  align-items: center;
}

.upload-btn:hover {
  background: rgba(38, 198, 249, 0.18) !important;
  border: 1px solid rgba(38, 198, 249, 0.55) !important;
  box-shadow: 0 0 25px rgba(38, 198, 249, 0.35);
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Turn EVERYTHING white when hovering anywhere on the button */
.upload-btn:hover .btn-content,
.upload-btn:hover .upload-icon,
.upload-btn:hover .btn-text,
.upload-btn:hover .file-name,
.upload-btn:hover .upload-icon path,
.upload-btn:hover .upload-icon polyline {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Ensure the label and all its contents respond to hover */
/* v51 (2026-11-12): width is auto with a 170px minimum - at rest the
   button is exactly the Send button box (170x40), and when a file is
   chosen it expands to fit the file name, like the Career resume
   button (Mezbah asked for the expansion back; v54 had fixed it). */
.upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 170px;
  height: 40px;
  padding: 0 19px;
  box-sizing: border-box;
  border: 2px dashed rgba(38, 198, 249, 0.40);
  border-radius: 50px;
  background: rgba(38, 198, 249, 0.12) !important;
  font-size: 18px;
  transition: width 0.2s;
  color: #26c6f9 !important;
  cursor: pointer;
}

.upload-btn .btn-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  width: auto;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  cursor: pointer;
}

.upload-btn .btn-text {
  white-space: nowrap;
}

.upload-btn .file-name {
  min-width: 0;
}


/* ========================================
   FORM ERROR MESSAGE
======================================== */

.weblodge-agency-contact-error-msg {
  display: none;
  margin-top: 6px !important;
  margin-left: 18px;
  color: #ff0000;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  min-width: max-content;
}



/* =========================================
   CONTACT SUBMIT BUTTON
   USES GLOBAL WLA BUTTON COLORS
========================================= */

.weblodge-agency-contact-submit-btn {
    background: rgba(38, 198, 249, 0.12) !important;
    color: #26c6f9 !important;
    padding: 0 19px;
    border: 1px solid rgba(38, 198, 249, 0.40);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    height: 40px;
    width:170px;
    overflow: hidden;
    position: relative !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    pointer-events: none;
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease,
        color 0.35s ease;  
}


/* SAME HOVER COLOR AND GLOW AS GLOBAL BUTTON */

.weblodge-agency-contact-submit-btn:hover {
    background: rgba(38, 198, 249, 0.18) !important;
    border: 1px solid rgba(38, 198, 249, 0.55) !important;
    box-shadow: 0 0 25px rgba(38, 198, 249, 0.35);
    color: #ffffff !important;
}

/* SAME CLICK EFFECT AS GLOBAL BUTTON */

.weblodge-agency-contact-submit-btn:active {
    transform: scale(0.97);
}

.weblodge-agency-contact-button-text {
    transform: translate(-50%, -50%);
    pointer-events: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    padding: 0 19px;
    line-height: 1 !important;
    white-space: nowrap;
    animation: contactbuttonslideloop 6s linear infinite;
}

@keyframes contactbuttonslideloop {
    0%, 20%, 40%, 100% {
        transform: translate(-50%, -50%);
    }
    30% {
        transform: translate(calc(-50% - 150%), -50%);
    }
    30.01% {
        transform: translate(calc(-50% + 150%), -50%);
    }
}



/* ========================================
   SUBMIT ROW
======================================== */

.weblodge-agency-contact-form-row.send-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0;
    gap: 10px;
}


/* ========================================
   WEBLODGE CONTACT FORM PROCESSING LOTTIE
======================================== */


/* ========================================
   CONTACT FORM PROCESSING ANIMATION
======================================== */

.weblodge-agency-contact-processing-lottie {
  display: none;
  max-width: 300px;      /* control maximum size */
  max-height: auto;
  margin: 0 auto;        /* center horizontally */
}

/* (Removed: a lottie-player rule - this section uses dotlottie-wc,
   so the rule matched nothing.) */




/* ========================================
   WEBLODGE CONTACT FORM STATUS MESSAGE
======================================== */

#weblodge-agency-formMessage {
    margin-top: 5px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #ff0000;
    overflow-wrap: anywhere;
    transition: color 0.25s ease;
}

/* SUCCESS MESSAGE */
#weblodge-agency-formMessage.is-success {
    color: #22c55e !important;
}

/* ERROR MESSAGE */
#weblodge-agency-formMessage.is-error {
    color: #ff0000 !important;
}


/* ========================================
   DIRECT CALL TEXT
======================================== */

/* Layout only - text style from global .wla-description-text.
   Its span rule keeps the "Direct call" link text cyan. */
.weblodge-agency-contact-page-right h3 {
  text-align: center;
  color: #ffffff !important;
  margin-bottom: 0 !important;
}

.weblodge-agency-contact-page-right h3 a {
  color: #26c6f9;
  text-decoration-color: #26c6f9;
}

/* (Removed: the h3 span text rule - the global .wla-description-text
   span rule already colors it cyan, and size/weight now inherit.) */


/* ========================================
   TABLET
======================================== */

@media (max-width: 1024px) {
  .contact-page-link-icon-wrapper {
    width: 36px;
    height: 36px;
  }

  .contact-page-link-text {
    font-size: 19px;
  }

  .weblodge-agency-contact-page-section .contact-page-inner {
    flex-direction: row;
    gap: 25px;
  }

  .weblodge-agency-contact-page-left,
  .weblodge-agency-contact-page-right {
    width: 50%;
  }

  #weblodge-agency-name,
  #weblodge-agency-email,
  #weblodge-agency-subject,
  #weblodge-agency-message {
    font-size: 15px;
  }

  .weblodge-agency-contact-error-msg {
    font-size: 13px;
  }

  .upload-btn {
    font-size: 17px;
  }

  .upload-btn .btn-text {
    white-space: nowrap;
  }

  .upload-btn .btn-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    width: auto;
  }

  .upload-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
  }

  .upload-btn .file-name {
    max-width: 300px;
    font-size: 17px;
  }

  .weblodge-agency-contact-submit-btn {
    font-size: 17px;  
  }

  /* (Removed: an h2 rule - this section's HTML has no h2.) */

  .weblodge-agency-contact-page-right p {
    margin-bottom: 20px;
    text-align: center;
  }

  #weblodge-agency-formMessage {
    font-size: 15px;
}

  /* Intro and Direct-call text sizes now come from the global file */
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {
  .contact-page-link-icon-wrapper {
    width: 34px;
    height: 34px;
  }

  .contact-page-link-text {
    font-size: 18px;
  }

  .contact-page-link-container {
    gap: 6px;
  }

  .weblodge-agency-contact-page-section .contact-page-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .weblodge-agency-contact-page-left,
  .weblodge-agency-contact-page-right {
    width: 100%;
  }

  .contact-page-badge-wrap .wla-badge,
  .contact-badge-wrap .weblodge-agency-top-center-common-badge {
    font-size: 12px;
    padding: 8px 14px;
  }

  .weblodge-agency-contact-form-row.inline-fields {
    flex-direction: column;
    gap: 10px;
  }

  #weblodge-agency-name,
  #weblodge-agency-email,
  #weblodge-agency-subject,
  #weblodge-agency-message {
    font-size: 14px;
  }

  .weblodge-agency-contact-error-msg {
    font-size: 12px;
  }

  .upload-btn {
    font-size: 16px;
    width: auto;
    max-width: 100%;
  }

  .upload-btn .btn-content {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    width: auto;
  }

  .upload-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .upload-btn .file-name {
    max-width: 430px;
    font-size: 16px;
  }

  .weblodge-agency-contact-submit-btn {
    font-size: 16px;  
  }

  /* (Removed: an h2 rule - this section's HTML has no h2.) */

  .weblodge-agency-contact-page-right p {
    margin-bottom: 10px;
    text-align: center;
  }

  #weblodge-agency-formMessage {
    font-size: 14px;
}
}
