/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.sticky {
  position: sticky;
  top: 2rem;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Overlay styles */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  display: none; /* Hidden by default */
  z-index: 999;
  align-items: center;
  justify-content: center;
}

/* Popup styles */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  z-index: 1000;
  width: 80%;
  max-width: 600px;
}

/* Optional: Animation for showing popup */
@keyframes showPopup {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.popup.show {
  animation: showPopup 0.5s ease-in-out;
}

#trialForm {
  height: 390px !important;
  max-width: 450px;
  overflow-y: auto;
  background: #e6f4f2;
}

@media (max-width: 500px) {
  .open-form-wrapper {
    display: none; /* Use the full width on smaller screens */
  }
}

form {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 32px 16px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#trialForm input,
#trialForm select {
  font-size: 1rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background-color: white !important;
  color: #000;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

#trialForm input:-internal-autofill-selected {
}

/* CSS */
.button-5 {
  align-items: center;
  background-clip: padding-box;
  background-color: #ffe500;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  font-family: system-ui, -apple-system, system-ui, "Helvetica Neue", Helvetica,
    Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 3rem;
  padding: calc(0.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: 100%;
}

.button-5:hover,
.button-5:focus {
  background-color: #ffe500;
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
}

.button-5:hover {
  transform: translateY(-1px);
}

.button-5:active {
  background-color: #ffe500;
  box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;
  transform: translateY(0);
}

input:focus,
select:focus,
button:focus {
  /* border-color: #007bff; */
  outline: none;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.25);
}

button {
  background-color: #ffe500;
  /* color: #fff; */
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #ffe500;
}

.additional-fields {
  display: none;
  margin-top: 10px;
}

.additional-fields.show {
  display: block;
  opacity: 1;
}

.input-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.job-details {
  display: none;
}

/* Disable autofill background color and border for inputs */
input:-webkit-autofill {
  background-color: transparent !important; /* Remove background */
  border: 1px solid #ccc !important; /* Normal border */
}

input:-webkit-autofill:focus {
  background-color: transparent !important;
  border: 1px solid #4d90fe !important; /* Focused input border */
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  transition: background-color 5000s ease-in-out 0s !important; /* Remove transition effect */
}

input:-webkit-autofill::first-line {
  color: black !important; /* Prevent autofill text color change */
}

input:-webkit-autofill::placeholder {
  color: #999 !important; /* Placeholder text color */
}

/* Firefox specific */
input:-moz-autofill {
  background-color: transparent !important;
  border: 1px solid #ccc !important;
}
