/*
Theme Name: Landing Page Theme Comet
Theme URI: http://localhost/comet/
Author: Your Name
Author URI: http://localhost/comet/
Description: A custom landing page theme for WordPress
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: landing-page-theme
*/
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Recruitment Form Container */
.recruitment-form-container {
  display: flex;
  justify-content: center;
  background-color: #fff;
  overflow: hidden;
  padding: 0 10px; /* Add padding for smaller screens */
}
.recruitment-form-content {
  display: flex;
  gap: 20px;
  width: 100%;
  justify-content: center;
}

/* Form Column */
.form-column {
  display: flex;
  flex-direction: column;
  width: 100%; /* Full width on smaller screens */
  box-sizing: border-box;
  padding: 20px; /* Adjust padding for small screens */
  border-right: var(--textfield-standard-input-small-pt, 1px) solid var(--grey-300, #DFE3E8);
}
.form-wrapper {
  border-right: none; /* Remove border for small screens */
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
  padding: 20px; /* Adjust padding */
  box-sizing: border-box;
}
.form-inner {
  display: flex;
  width: 100%;
  flex-direction: column;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 64px;
}
.logo {
  aspect-ratio: 1.75;
  object-fit: contain;
  width: 140px;
}
.logo-secondary {
  aspect-ratio: 1.85;
  object-fit: contain;
  width: 242px;
}
.form-header {
  display: flex;
  width: 100%;
  flex-direction: column;
  font-family: Public Sans, sans-serif;
}
.header-logo {
  aspect-ratio: 1.15;
  object-fit: contain;
  width: 150px;
  max-height: 130px;
  max-width: 100%;
}
.header-text {
  margin-top: 16px;
}
.header-title {
  color: #212b36;
  font-size: 24px;
  font-weight: 700;
  text-align: left;
}
.header-description {
  color: #637381;
  font-size: 14px;
  margin-top: 16px;
  text-align: left;
}
/* .form-fields { display: flex; margin-top: 40px; width: 100%; flex-direction: column; } */
/* .form-field { display: flex; width: 100%; flex-direction: column; font-family: Public Sans, sans-serif; margin-top: 20px; } */
/* .form-field:first-child { margin-top: 0; } */
/* .field-wrapper { border-radius: 8px; position: relative; display: flex; min-height: 54px; width: 100%; align-items: center; padding: 0 14px; border: 1px solid rgba(145, 158, 171, 0.2); } */
/* .field-input { color: #212b36; font-size: 14px; width: 100%; border: none; background: transparent; } */
/* .field-label { position: absolute; z-index: 1; font-size: 12px; color: #637381; font-weight: 600; left: 14px; top: -9px; padding: 0 2px; background-color: #fff; } */
/* .file-upload { border-radius: 8px; background-color: #fafafa; display: flex; min-height: 100px; width: 100%; align-items: center; justify-content: center; padding: 22px 40px; border: 1px dashed rgba(145, 158, 171, 0.2); } */
/* .file-upload-icon { aspect-ratio: 3.72; object-fit: contain; width: 208px; } */
.file-upload-text {
  color: #637381;
  margin-top: 6px;
  font-size: 12px;
}
/* .checkbox-group { display: flex; margin-top: 20px; width: 100%; align-items: start; gap: 10px; flex-wrap: wrap; } */
/* .checkbox { width: 20px; height: 20px; border-radius: 4px; border: 2px solid #1057c8; } */
/* .checkbox-label { color: #637381; font: 400 14px Inter, sans-serif; } */
/* .submit-button { border-radius: 8px; background-color: #1057c8; display: flex; min-height: 48px; width: 100%; align-items: center; justify-content: center; gap: 8px; color: #fff; padding: 0 16px; font: 700 15px/26px Public Sans, -apple-system, Roboto, Helvetica, sans-serif; border: none; cursor: pointer; margin-top: 20px; } */
/* .submit-icon { aspect-ratio: 1; object-fit: contain; width: 24px; } */
/* .form-footer { color: #637381; margin-top: 20px; font-size: 10px; font-family: Public Sans, sans-serif; } */
.image-column {
  display: flex;
  flex-direction: column;
  width: 100%; /* Full width for small screens */
  align-items: center;
  justify-content: center;
}
.image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0; /* Remove padding */
}
.main-image {
  width: 100%;
  height: auto;
  max-width: 666.4px;
  max-height: 1003.103px;
  margin-top: auto;
  margin-bottom: auto;
}

@media (max-width: 450px) {
  .recruitment-form-container {
    padding: 0 15px; /* Add padding for smaller screens */
  }

  .recruitment-form-content {
    flex-direction: column; /* Stack columns vertically */
    gap: 10px;
  }

  .form-column,
  .image-column {
    width: 100%; /* Full width for all columns */
  }

  .form-wrapper {
    padding: 15px; /* Reduce padding */
  }

  .main-image {
    max-width: 300px; /* Scale down the image */
  }

  .form-header .header-title {
    font-size: 20px; /* Adjust font size */
  }

  .form-header .header-description {
    font-size: 12px; /* Adjust font size */
  }
}

@media (max-width: 991px) {
  /* .recruitment-form-content {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  } */
  .form-column,
  .image-column {
    width: 100%;
  }

  .auth-form {
    max-width: 100%;
    margin-top: 40px;
  }
  .form-header,
  .form-fields,
  .checkbox-group,
  .submit-button,
  .form-footer {
    max-width: 100%;
  }
  .file-upload {
    max-width: 100%;
    padding: 0 20px;
  }
}

/* Container for Gravity Form */
.gform_wrapper .recruitment-form-container {
  display: flex;
  justify-content: center;
  background-color: #fff;
  overflow: hidden;
}
.gform_wrapper .gfield_required {
  color: red; /* or any color you prefer */
  display: inline; /* make sure it's not hidden */
  font-weight: bold;
  margin-left: 4px;
}

.gform_wrapper .recruitment-form-content {
  display: flex;
  gap: 20px;
}

.gform_wrapper .form-column {
  display: flex;
  flex-direction: column;
  width: 41%;
}

.gform_wrapper .form-wrapper {
  border-right: 1px solid #dfe3e8;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
  padding: 68px 64px;
}

.gform_wrapper .form-inner {
  display: flex;
  width: 100%;
  flex-direction: column;
}

/* Logo styles */
.gform_wrapper .logo-container {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 64px;
}

.gform_wrapper .logo {
  aspect-ratio: 1.75;
  object-fit: contain;
  width: 140px;
}

.gform_wrapper .logo-secondary {
  aspect-ratio: 1.85;
  object-fit: contain;
  width: 242px;
}

/* Form styles */
.gform_wrapper .auth-form {
  display: flex;
  margin-top: 64px;
  min-height: 932px;
  width: 100%;
  flex-direction: column;
}

.gform_wrapper .gform_heading {
  display: flex;
  width: 100%;
  flex-direction: column;
  font-family: Public Sans, sans-serif;
}

.gform_wrapper .header-logo {
  aspect-ratio: 1.15;
  object-fit: contain;
  width: 150px;
  max-width: 100%;
}

.gform_wrapper .header-text {
  margin-top: 16px;
}

.gform_wrapper .header-title {
  color: #212b36;
  font-size: 24px;
  font-weight: 700;
}

.gform_wrapper .header-description {
  color: #637381;
  font-size: 14px;
  margin-top: 16px;
}

/* Form field styles */
.gform_wrapper .gform_body {
  display: flex;
  margin-top: 15px;
  width: 100%;
  flex-direction: column;
}

.gform_wrapper .gfield {
  display: flex;
  width: 100%;
  flex-direction: column;
  font-family: Public Sans, sans-serif;
}

.gform_wrapper .gfield span {
  font-size: 12px;
}

.gform_wrapper .gfield + fieldset {
  border: none !important;
  font-size: 14px;
  color: #637381;
  font-family: "Public Sans", sans-serif;
}

.gform_wrapper .gfield .gfield_consent_description {
  border: none !important;
  font-size: 10px;
  font-family: "Public Sans", sans-serif;
  color: #637381;
  text-align: left;
  margin-top: 20px;
}

.gform_wrapper .gfield + .gfield--type-honeypot {
  display: none;
}

.gform_wrapper .gform_required_legend {
  display: none;
}

.gform_wrapper .gfield:first-child {
  margin-top: 0;
}

.gform_wrapper .ginput_container {
  border-radius: 8px;
  position: relative;
  display: flex;
  min-height: 54px;
  width: 100%;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(145, 158, 171, 0.2);
  gap: 5px;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper textarea {
  color: #212b36;
  font-size: 14px;
  text-align: left;
  width: 100%;
  border: none;
  background: transparent;
}

.gform_wrapper .gfield_label {
  position: relative;
  z-index: 1;
  font-size: 12px;
  color: #637381;
  font-weight: 600;
  left: 14px;
  padding: 0 2px;
  background-color: #fff;
}

/* File upload styles */
.gform_wrapper .ginput_container_fileupload {
  border-radius: 8px;
  background-color: #fafafa;
  display: flex;
  min-height: 100px;
  width: 100%;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(145, 158, 171, 0.2);
}

.gform_wrapper .file-upload-icon {
  aspect-ratio: 3.72;
  object-fit: contain;
  width: 208px;
}

.gform_wrapper .file-upload-text {
  color: #637381;
  margin-top: 6px;
  font-size: 12px;
}

/* Checkbox styles */
.gform_wrapper .gfield_checkbox {
  display: flex;
  margin-top: 20px;
  width: 100%;
  align-items: start;
  gap: 10px;
  flex-wrap: wrap;
}

.gform_wrapper .gfield_checkbox input[type="checkbox"] {
  border-radius: 4px !important;
  border: 2px solid #1057c8 !important;
}

/* .gform_wrapper input[type="checkbox"] label {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #1057c8;
  } */

.gform_wrapper .gfield_checkbox label {
  color: #637381;
  font: 400 14px Inter, sans-serif;
}

/* Submit button */
.gform_wrapper .gform_footer .gform_button {
  border-radius: 8px;
  background-color: #1057c8;
  display: flex;
  min-height: 48px;
  width: 100% !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  padding: 0 16px;
  font: 700 15px/26px Public Sans, -apple-system, Roboto, Helvetica, sans-serif;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.gform_wrapper .submit-icon {
  aspect-ratio: 1;
  object-fit: contain;
  width: 24px;
}

/* Footer */
.gform_wrapper .form-footer {
  color: #637381;
  margin-top: 20px;
  font-size: 10px;
  font-family: Public Sans, sans-serif;
}

/* Image column */
.gform_wrapper .image-column {
  display: flex;
  flex-direction: column;
  width: 59%;
}

.gform_wrapper .image-wrapper {
  background-color: #fff;
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 97px 80px;
}

.gform_wrapper .main-image {
  aspect-ratio: 0.65;
  object-fit: contain;
  width: 666px;
  max-width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
  .gform_wrapper .recruitment-form-content {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .gform_wrapper .form-column,
  .gform_wrapper .image-column {
    width: 100%;
  }

  .gform_wrapper .form-wrapper {
    max-width: 100%;
    padding: 0 20px;
  }

  .gform_wrapper .auth-form {
    max-width: 100%;
    margin-top: 40px;
  }

  .gform_wrapper .gform_heading,
  .gform_wrapper .gform_body,
  .gform_wrapper .gform_footer {
    max-width: 100%;
  }

  .gform_wrapper .file-upload {
    max-width: 100%;
    padding: 0 20px;
  }
}
@media (max-width: 1280px) {
  .image-wrapper {
    max-width: 100%;
    padding: 0px;
  }
  .recruitment-form-content {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .form-wrapper {
    max-width: 100%;
    padding: 0 20px;
  }
  .form-column {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}
