/* =============================================================================
   Pro-QCP Onboarding – quick_start_form.css
   Matches the two-column landing layout shown in the design mockup.
   ============================================================================= */

/* --------------------------------------------------------------------------
   1. Google Font import (Poppins – clean, modern, close to the mockup)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* --------------------------------------------------------------------------
   2. CSS custom properties
   -------------------------------------------------------------------------- */
:root {
  --qcp-bg: rgb(227, 244, 255);
  /* light blue page background          */
  --qcp-orange: #F27300;
  /* brand orange (hero text + button)   */
  --qcp-navy: #1a2e4a;
  /* dark navy headings                  */
  --qcp-green: #3cb371;
  /* feature-list check marks            */
  --qcp-grey: #545659;
  /* body / sub copy                     */
  --qcp-border: #d1d5db;
  /* input borders                       */
  --qcp-focus: #f07c2a;
  /* input focus ring                    */
  --qcp-white: #ffffff;
  --qcp-card-radius: 18px;
  --qcp-input-radius: 10px;
  --qcp-font: 'Poppins', sans-serif;
}

/* --------------------------------------------------------------------------
   3. Page-level reset & base
   -------------------------------------------------------------------------- */

   body.is-guest-user.path-start-pro-qcp .carepoint-header .cart-wrapper {
  display: none!important;
}

/* Drupal wraps forms in a <form> – reset its styling */
form#qcp-onboarding-onboarding,
form[id^='qcp-onboarding'] {
  /* background: transparent; */
  background: var(--qcp-bg);
  margin-bottom: 100px;
  padding-bottom: 40px;
}

.qcp-onboarding-onboarding .section-heading h1 {
  font-family: Raleway;
  font-weight: 800;
  font-style: ExtraBold;
  font-size: 58px;
  line-height: 48px;
  letter-spacing: 0%;
  color: #004E90;
  margin-bottom: 15px;
  max-width: 311px;
  max-width: 100%;
    line-height: 1.17;
    margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   4. Outer page wrapper – flex column, centred
   -------------------------------------------------------------------------- */
.qcp-page-wrapper {
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 0;
  background: var(--qcp-bg);
  max-width: 1068px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 0px;
  padding-top: 71px;
}

/* --------------------------------------------------------------------------
   5. Hero – full-width top section
   -------------------------------------------------------------------------- */
.qcp-hero-top {
  width: 100%;
  text-align: left;
}

.qcp-hero-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--qcp-navy);
  margin-bottom: 12px;
}

.qcp-brand {
  color: var(--qcp-orange);
}

/* Dual underline accent (navy + orange) matching the mockup */
.qcp-hero-underline {
  width: 80px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--qcp-navy) 50%, var(--qcp-orange) 50%);
  margin-bottom: 20px;
}

.qcp-hero-sub {
  line-height: 1.65;
  max-width: 460px;
  font-family: Figtree;
  font-weight: 700;
  font-style: Regular;
  font-size: 26px;
  leading-trim: NONE;
  line-height: 36px;
  letter-spacing: 0%;
  color: rgb(0, 78, 144);
  max-width: 321px;
  text-align: left;
}

/* --------------------------------------------------------------------------
   6. Two-column row (below hero)
   -------------------------------------------------------------------------- */
.qcp-columns-row {
  display: flex;
  align-items: flex-start;
  gap: 148px;
  gap:55px;
  width: 100%;
  margin-bottom: -130px;
}

.qcp-left-col,
.qcp-right-col {
  flex: 1;
}

/* --------------------------------------------------------------------------
   7. Left column – features list
   -------------------------------------------------------------------------- */
.qcp-left-col {
  padding-top: 12px;
  padding-top: 80px;
}

/* Feature list */
.qcp-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
  gap: 10px;
  margin-top: 20px;
}

.qcp-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--qcp-navy);
  font-family: Figtree;
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 1%;
  color: #545659;
  position: relative;
}

.qcp-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-image: url(../assets/Verified\ Account.png);
  background-size: cover;
  color: var(--qcp-white);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. Right column – card
   -------------------------------------------------------------------------- */
.qcp-right-col {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.qcp-form-card {
  background: var(--qcp-white);
  border-radius: var(--qcp-card-radius);
  padding: 40px 80px 36px;
  width: 100%;
  border-radius: 30px;
  width: 580px;
  border: 1px solid #545659;
  box-shadow: 5px 5px 4px 0px #00000040;
}

/* --------------------------------------------------------------------------
   8. Form fields – Drupal renders label + input inside .form-item wrappers
   -------------------------------------------------------------------------- */

/* Drupal form-item container */
.qcp-form-card .form-item,
.qcp-form-card .js-form-item {
  margin-bottom: 20px;
}

/* Labels */
.qcp-form-card label,
.qcp-form-card .form-item label {
  display: block;
  /* font-family: Figtree; */
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 36px;
  letter-spacing: 0%;
  color: #545659;
  margin-bottom: 6px;
  letter-spacing: .01em;
}

/* Required asterisk */
.qcp-form-card label .form-required,
.qcp-form-card .form-required {
  color: var(--qcp-orange);
  margin-left: 2px;
}

/* Text / email inputs */
.qcp-form-card input[type="text"],
.qcp-form-card input[type="email"],
.qcp-form-card .qcp-input,
.qcp-form-card .form-text,
.qcp-form-card .form-email {
  display: block;
    width: 100%;
    padding: 21px 16px;
    border: 1.5px solid var(--qcp-border);
    border-radius: var(--qcp-input-radius);
    font-family: var(--qcp-font);
    font-size: 18px;
    color: var(--qcp-navy);
    background: var(--qcp-white);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    height: 65px;
    width: 420px;
    border-radius: 10px;
    border: 0.5px solid #545659;
    background: #FFFFFF;
    margin-top: 8px;
    padding: 22px;
}

.qcp-form-card input[type="text"]::placeholder,
.qcp-form-card input[type="email"]::placeholder {
  color: #DADEE0;
}

.qcp-form-card input[type="text"]:focus,
.qcp-form-card input[type="email"]:focus {
  /* border-color: var(--qcp-focus);
  box-shadow: 0 0 0 3px rgba(240, 124, 42, .15); */
}

/* --------------------------------------------------------------------------
   9. Checkbox + terms
   -------------------------------------------------------------------------- */
.qcp-form-card .form-item--terms,
.qcp-form-card .js-form-type-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  margin-top: 31px;
}

.qcp-form-card input[type="checkbox"],
.qcp-form-card .qcp-checkbox {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--qcp-orange);
  cursor: pointer;
}

input[type="checkbox"]:checked {
  appearance: none;
  background-color: var(--qcp-orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' d='M3 8l4 4 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.qcp-form-card .js-form-type-checkbox label {
  font-family: Figtree;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: var(--qcp-grey);
  cursor: pointer;
  line-height: 1.5;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.qcp-form-card .js-form-type-checkbox label a {
  color: #004E90;
  text-decoration: none;
  font-weight: 600;
  font-family: Figtree;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;

}

.qcp-form-card .js-form-type-checkbox label a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   10. Submit button
   -------------------------------------------------------------------------- */
.qcp-form-card .form-actions,
.qcp-form-card .qcp-actions {
  margin-top: 39px;
}

.qcp-form-card input[type="submit"],
.qcp-form-card .qcp-submit-btn,
.qcp-form-card button[type="submit"] {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--qcp-orange);
  color: var(--qcp-white);
  font-family: var(--qcp-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  border: none;
  border-radius: 50px;
  /* pill shape like the mockup */
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
  text-transform: uppercase;
height: 65px;
    width: 420px;
    background: #F27300;
    border-radius: 50px;
    font-weight: 700;
    font-size: 20px !important;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 100%;
}
.qcp-form-card input{
  font-size: 18px;
}
.qcp-form-card input::placeholder{
  font-size: 18px;
}

.qcp-form-card input[type="submit"]:hover,
.qcp-form-card .qcp-submit-btn:hover {
  background: #8CAD06;
  transition: all 0.9s ease;
}

.qcp-form-card input[type="submit"]:active,
.qcp-form-card .qcp-submit-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   11. Drupal validation messages inside the card
   -------------------------------------------------------------------------- */
.qcp-form-card .form-item--error-message,
.qcp-form-card .form-item .error {
  display: block;
  margin-top: 5px;
  font-size: 18px;
  color: #e53e3e;
}

.qcp-form-card input.error {
  border-color: #e53e3e;
}

/* --------------------------------------------------------------------------
   12. Success / "Check your email" state
   -------------------------------------------------------------------------- */
.qcp-success-card {
  background: var(--qcp-white);
  border-radius: var(--qcp-card-radius);
  padding: 56px 48px;
  max-width: 480px;
  width: 100%;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, .04),
    0 12px 40px rgba(0, 0, 0, .10);
  margin-bottom: -150px;
}

.qcp-success-inner {
  text-align: center;
}

.qcp-success-icon {
  font-size: 56px;
  margin-bottom: 20px;
  display: block;
}

.qcp-success-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--qcp-navy);
  margin-bottom: 14px;
}

.qcp-success-text {
  font-size: 15px;
  color: var(--qcp-grey);
  line-height: 1.7;
  margin-bottom: 16px;
}

.qcp-success-sub {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 32px;
}

.qcp-back-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--qcp-green);
  text-decoration: none;
  transition: opacity .2s;
}

.qcp-back-link:hover {
  opacity: .75;
}

/* --------------------------------------------------------------------------
   13. Responsive breakpoints
   -------------------------------------------------------------------------- */
@media (max-width:1180px) {
.qcp-left-col {
    padding-top: 12px;
    }
    .qcp-columns-row {
        padding: 30px;
        gap: 48px;
    }

    .qcp-ms-body {
        padding: 20px !important;
    }

    .qcp-ms-hero {
        padding: 20px !important;
    }
}

@media (max-width:1024px) {

  .qcp-form-card {
    max-width: 100%;
    width: 100%;
    padding: 40px;
  }
  .qcp-columns-row {
    padding: 30px;
    gap: 48px;
  }

  .qcp-features-list{
    margin-top: 20px;
  }
}

@media (max-width: 992px) {
.qcp-left-col {
    padding-top: 12px;
    
}

    .carepoint-heading--h1 {
        font-size: 32px !important;
}
}


/* Tablet – stack columns */
@media (max-width: 820px) {

  .qcp-onboarding-onboarding .section-heading h1 {
    font-size: 40px;
    text-align: left;
    line-height: 44px;
  }

  .qcp-page-wrapper {
    padding: 40px 24px;
    align-items: stretch;
  }

  .qcp-hero-top {
    text-align: center;
    margin-bottom: 28px;
  }

  .qcp-hero-underline {
    margin: 0 auto 20px;
  }

  .qcp-hero-sub {
    max-width: 100%;
  }

  .qcp-columns-row {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding-top: 0px;
  }

  .qcp-left-col,
  .qcp-right-col {
    width: 100%;
    max-width: 520px;
  }

  .qcp-left-col {
    padding-top: 0;
  }

  .qcp-features-list {
    align-items: left;
  }

  .qcp-right-col {
    display: flex;
    justify-content: center;
  }

  .qcp-form-card {
    max-width: 100%;
    width: 100%;
  }

  
  .qcp-form-card input[type="text"], .qcp-form-card input[type="email"], .qcp-form-card .qcp-input, .qcp-form-card .form-text, .qcp-form-card .form-email
  {width: 100%;}

  .qcp-form-card input[type="submit"], .qcp-form-card .qcp-submit-btn, .qcp-form-card button[type="submit"]
     {width: 100%;}
  body.is-guest-user.path-start-pro-qcp .carepoint-header .cart-wrapper {
  display: none !important;
   opacity: 0;
}

    .path-start-pro-qcp .cart-wrapper {
        opacity: 0;
    }

}

@media (min-width: 600px) {
footer nav {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 20px 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
  .qcp-page-wrapper {
    padding: 28px 16px;
  }
  .qcp-form-card input::placeholder{
    font-size: 16px;
  }
  .qcp-hero-title {
    font-size: 26px;
  }

  .qcp-form-card {
    padding: 28px 20px 24px;
  }

  .qcp-form-card input[type="text"],
  .qcp-form-card input[type="email"] {
    padding: 12px 14px;
    font-size: 15px;
    /* prevents iOS zoom on focus */
  }

  .qcp-form-card input[type="submit"],
  .qcp-form-card .qcp-submit-btn {
    font-size: 15px;
    padding: 15px;
  }

  .qcp-success-card {
    padding: 36px 24px;
  }
}

/* Terms & Privacy Policy Section */
.js-form-type-checkbox.js-form-item-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  width: 100%;
}
 
.js-form-type-checkbox.js-form-item-terms input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px; /* prevents shrinking */
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--qcp-primary, #f97316); /* orange to match button */
  border: 1.5px solid #ccc;
  border-radius: 3px;
}
 
.js-form-type-checkbox.js-form-item-terms label.option {
  font-family: Figtree, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--qcp-grey);
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
 
.js-form-type-checkbox.js-form-item-terms label a {
  color: #1a73e8; /* blue link color matching screenshot */
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
 
.js-form-type-checkbox.js-form-item-terms label a:hover {
  text-decoration: underline;
}
 
/* Responsive: small phones */
@media (max-width: 375px) {
  .js-form-type-checkbox.js-form-item-terms label.option {
    font-size: 15px;
  }
 
  .js-form-type-checkbox.js-form-item-terms input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
  }
  .qcp-form-card input::placeholder{
    font-size: 16px;
}
    .qcp-columns-row {
   padding: 10px;
    }
  
    .qcp-form-card .js-form-type-checkbox label a {
   font-size: 14px;
    }
}


 
/* Responsive: tablets and up */
@media (min-width: 768px) {
  .js-form-type-checkbox.js-form-item-terms label.option {
    font-size: 16px;
  }
}

.qcp-link-button {
  background: none;
  border: none;
  padding: 0;
  color: #004e90; /* Match your brand blue */
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  display: inline;
}

.qcp-link-button:hover {
  color: #003366;
  text-decoration: none;
}

/* Ensure the modal content is scrollable */
.ui-dialog-content {
  max-height: 70vh !important;
  overflow-y: auto !important;
}

.section__inner p {
  margin: 1em 0;
}
