@import "montserrat/stylesheet.css";
/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Montserrat, sans-serif;
  line-height: 1.6;
  color: #333;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding-top: 40px; /* Add some padding at the top */
  background-image: url("background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  align-items: center;
}

@media (max-width: 600px) {
  p.basic {
    font-size: 14px;
  }
}

.container {
  background-color: #fff;
  padding: 60px 60px 75px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 750px;
  overflow: hidden; /* Contain elements during transition */
}
@media (max-width: 1024px) {
  .container {
    margin: auto 60px 50px;
  }
}
@media (max-width: 600px) {
  .container {
    margin: auto 30px 20px;
    padding: 30px 45px 40px;
  }
}

/* Screen Styling & Transitions */
.screen {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.screen.hidden {
  opacity: 0;
  transform: translateY(20px);
  position: absolute; /* Take out of flow */
  left: -9999px; /* Move off-screen */
  /* We use position absolute + off-screen move instead of display:none */
  /* to allow transitions and maintain form state if needed. */
  /* We'll switch to display: none/block in JS for accessibility and flow */
}

.screen.visible {
  opacity: 1;
  transform: translateY(0);
  display: block; /* Ensure it takes space */
  position: static;
}

h1, h2 {
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

h2 {
  margin-bottom: 50px;
}
@media (max-width: 600px) {
  h2 {
    margin-bottom: 25px;
    font-size: 18px;
  }
}

#screen1 p {
  margin-bottom: 15px;
}

#screen1 button {
  margin-top: 45px;
}
@media (max-width: 600px) {
  #screen1 button {
    margin-top: 25px;
  }
}

/* Form Styling */
#nutritionist-form {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group p {
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 14px;
}
@media (max-width: 600px) {
  .form-group p {
    font-size: 12px;
  }
}

/* Style radio and checkbox labels for better layout */
.form-group label input[type=radio],
.form-group label input[type=checkbox] {
  margin-right: 8px;
}

/* Display radio/checkbox options one per line */
.form-group label {
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
}
@media (max-width: 600px) {
  .form-group label {
    margin-bottom: 2px;
    font-size: 12px;
  }
}

input[type=text],
input[type=email],
input[type=tel] {
  width: 100%;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: Montserrat, sans-serif;
  box-shadow: inset 20px 20px 0px 20px #ffffff;
}

input:focus-within, input:focus-visible {
  border: none;
  outline: none;
}

input:focus {
  outline: none;
  border: none;
}

/* Small text input next to radio/checkbox */
.inline-text-input {
  width: auto; /* Adjust width as needed */
  display: inline-block; /* Display next to label text */
  margin-left: 5px;
  padding: 5px 8px;
  font-size: 0.9rem;
}

/* Button Styling */
.btn, .submit-button {
  background-color: #333;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  height: 70px;
  width: 100%;
  max-width: 420px;
  font-family: Montserrat, sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  display: block;
  margin: 10px auto 0;
}
@media (max-width: 600px) {
  .btn, .submit-button {
    font-size: 14px;
  }
}

.btn:hover {
  background-color: #000;
}

/* Center button */
#screen1 {
  text-align: center;
}

/* Form submit button */
#nutritionist-form button[type=submit] {
  width: 100%;
  margin-top: 10px;
}

input:required:valid {
  border-color: #28a745;
}

/* Style for the phone format hint */
.form-group small {
  display: block;
  margin-top: 5px;
  font-size: 0.85em;
  color: #6c757d;
}

.logo {
  height: 111px;
  margin-bottom: 56px;
}
@media (max-width: 600px) {
  .logo {
    margin-bottom: 25px;
    height: 80px;
  }
  .logo img {
    height: 100%;
  }
}

.title {
  font-size: 21px;
  font-weight: bold;
}
@media (max-width: 600px) {
  .title {
    font-size: 17px;
  }
}

.sub-title {
  font-size: 18px;
  font-weight: 500;
}
@media (max-width: 600px) {
  .sub-title {
    font-size: 16px;
  }
}

.group--text {
  border-radius: 4px;
  border: 1px solid #D3D3D3;
  height: 70px;
  padding: 11px;
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  .group--text {
    height: auto;
  }
}
.group--text label {
  line-height: 1em;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.2s;
}
@media (max-width: 600px) {
  .group--text label {
    font-size: 12px;
  }
}
.group--text .custom-error-tooltip {
  right: 0;
  bottom: 0 !important;
  font-size: 12px !important;
  left: auto !important;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  padding: 2px 8px !important;
}

.group--selection {
  margin-bottom: 30px;
}
.group--selection label {
  font-weight: normal;
}

.group--short {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
@media (max-width: 600px) {
  .group--short {
    gap: 10px;
  }
}
.group--short p {
  flex-basis: 100%;
}

.group--radio .custom-error-tooltip {
  right: auto;
  bottom: auto !important;
  top: 18px !important;
  font-size: 12px !important;
  left: 0 !important;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  padding: 2px 8px !important;
}
.group--radio .circle {
  display: block;
  position: absolute;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid #D9D9D9;
  min-width: 25px;
  box-sizing: border-box;
  left: 0;
}
@media (max-width: 600px) {
  .group--radio .circle {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }
}
.group--radio .dot {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  background-color: #FFC8E5;
  border-radius: 50%;
  min-width: 17px;
  box-sizing: border-box;
  left: 4px;
  display: block;
  opacity: 0;
}
@media (max-width: 600px) {
  .group--radio .dot {
    width: 12px;
    height: 12px;
    min-width: 12px;
  }
}
.group--radio label {
  position: relative;
  padding-left: 40px;
  padding-right: 10px;
  margin: 0;
  display: flex;
  align-items: center;
}
@media (max-width: 600px) {
  .group--radio label {
    padding-left: 30px;
  }
}
.group--radio label input {
  display: none;
}
.group--radio input[type=radio]:checked + .dot {
  opacity: 1;
}
.group--radio input[type=radio]:checked + input {
  display: block;
}
.group--radio input[type=radio]:checked + input + .dot {
  opacity: 1;
}

.group--long p {
  margin-bottom: 20px;
}
.group--long label {
  margin-bottom: 15px;
}
@media (max-width: 600px) {
  .group--long label {
    margin-bottom: 10px;
  }
}

.group--checkbox {
  padding-top: 20px;
}
.group--checkbox .custom-error-tooltip {
  right: auto;
  bottom: auto !important;
  top: 64px !important;
  font-size: 12px !important;
  left: 0 !important;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  padding: 2px 8px !important;
}
.group--checkbox p {
  margin-bottom: 30px;
}
@media (max-width: 600px) {
  .group--checkbox p {
    margin-bottom: 20px;
  }
}
.group--checkbox label {
  margin-bottom: 15px;
  display: flex;
  gap: 10px;
  position: relative;
  align-items: center;
}
@media (max-width: 600px) {
  .group--checkbox label {
    margin-bottom: 10px;
  }
}
.group--checkbox input {
  display: none;
}
.group--checkbox .square {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 4px;
  border: 1px solid #D9D9D9;
  display: block;
}
.group--checkbox .tick {
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 1px;
  margin: auto;
  display: block;
  width: 14px;
  height: 10px;
  background-size: cover;
  background-repeat: no-repeat;
}
.group--checkbox input:checked + .tick {
  background-image: url("check.svg");
}
.group--checkbox input:checked + input + .tick {
  background-image: url("check.svg");
}
.group--checkbox input:checked + input {
  display: block;
}

.group--unique {
  margin-top: 30px;
}

input[name=work_format_other], input[name=factors_other] {
  border-bottom: 1px solid #D9D9D9;
  margin-left: 20px;
  border-radius: 0;
  height: 22px;
}

input[name=factors_other] {
  margin-left: 7px;
}

input:-internal-autofill-selected {
  background-color: transparent !important;
}

.group--selection--first {
  padding-top: 20px;
}
.group--selection--first .custom-error-tooltip {
  top: 40px !important;
}

/*# sourceMappingURL=style.css.map */
