@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&display=swap');

@import "nx/nx.css";
@import "nx/nx_buttons.css";

:root {
  /*Colors*/
  --primary: var(--p-primary-500);

  --p-primary-50:  #e6f5ff;
  --p-primary-100: #c2e5ff;
  --p-primary-200: #8eccff;
  --p-primary-300: #5ab3ff;
  --p-primary-400: #2d9eff;
  --p-primary-500: #00A0FF;
  --p-primary-600: #008ee6;
  --p-primary-700: #007abf;
  --p-primary-800: #006799;
  --p-primary-900: #00547d;
  --p-primary-950: #003d59;


  --accent: #80CE25;
  --cta: var(--p-primary-500);
  --cta-hover: #2E2BEB;

  --bg-dark: #2E2BEB;
  --bg-medium: var(--p-primary-50);
  --bg-light: #FBFAFB;

  --border-light: #E6E6E6;

  --text-dark: #000;
  --text-medium: #4d5b69;
  --text-light: #DDD;

  --body-text-font: 'Nunito', sans-serif;
  --body-text-color: var(--text-dark);
  --body-text-size: 16px;

  --text-header-font: 'Nunito', sans-serif;
  --text-header-size: clamp(24px, 4vw, 40px);
  --text-header-weight: 700;
  --text-header-color: var(--bg-dark);

  --text-subheader-size: clamp(19px, 2vw, 24px);
  --text-subheader-weight: 300;
  --text-subheader-font: var(--body-text-font);
  --text-subheader-color: #333;

  --container-max-width: 1330px;
  --header-bg: var(--body-bg);
  --header-color: var(--body-text-color);
  --header-padding-y: 16px;
  --header-mobile-padding-y: 10px;
  --header-fixed-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  --header-logo-height: 57px;
  --header-logo-xl-height: 70px;
  --header-main-links-xl-gap: 40px;
  --header-main-nav-text-size: 16px;
  --header-main-nav-underline-color: var(--primary);
  --header-active-color: var(--body-text-color);
  --header-mobile-size: 16px;
  --header-mobile-color: var(--body-text-color);
  --header-mobile-hover-color: var(--text-inverse);
  --header-mobile-hover-bg-color: var(--primary);
  --header-toggle-bg: var(--bg-dark);
  --header-toggle-bg-hover: var(--bg-dark);
  --header-join-now-height: 46px;
  --header-join-now-min-width: 117px;

  --footer-text-size: 16px;
  --footer-text-weight: 500;
  --footer-dso-logo-height: 70px;
  --footer-text-hover: var(--accent);
  --footer-nav-border-top-color: white;
  --footer-nav-bg: var(--bg-light);
  --footer-text-hover: var(--primary);

  --page-header-max-height: 436px;
  --page-header-border-radius: 30px;

  --home-main-banner-bg: var(--body-bg);
  --home-main-banner-height-lg: 79vh;
  --home-main-banner-height: 600px;
  --home-main-banner-img-position: center;
  --home-main-banner-img-overlay-color: white;
  --home-main-banner-copy-max-width: 40%;
  --home-main-banner-img-max-width: 60%;
  --home-main-banner-copy-lg-max-width: 50%;
  --home-main-banner-title-size: clamp(40px, 4vw, 65px);
  --home-main-banner-title-color: var(--primary);
  --home-main-banner-title-weight: 400;
  --home-main-banner-subtitle-color: var(--accent);
  --home-main-banner-subtitle-size: clamp(21px, 2vw, 40px);
  --home-main-banner-subtitle-weight: 700;
  --home-main-banner-subtitle-mt: 0;
  --home-main-banner-form-bg: rgba(0,160,255,0.8);
  --home-main-banner-form-padding-y: 35px;
  --home-main-banner-form-title-color: var(--text-inverse);
  --home-main-banner-form-title-weight: 700;
  --home-main-banner-form-title-size: 15px;
  --find-your-dentist-form-height: 60px;
  --find-your-dentist-form-border-radius: 8px;
  --find-your-dentist-form-btn-border-radius: 10px;
  --find-your-dentist-form-btn-text-size: 16px;
  --find-your-dentist-form-text-size: 16px;
  --find-your-dentist-form-btn-bg: var(--cta);
  --find-your-dentist-form-btn-hover-bg: var(--cta-hover);
  --home-subtitle-weight: 300;
  --home-subtitle-size: clamp(19px, 2vw, 24px);
  --home-subtitle-color: var(--text-subheader-color);
  --home-plans-plan-width: 455px;
  --home-plans-card-border-color: transparent;
  --home-plans-card-bottom-padding: 0;
  --home-plans-card-price-bg: var(--bg-dark);
  --home-plans-card-title-size: 30px;
  --home-plans-card-title-weight: 500;
  --home-plans-card-subtitle-size: 14px;
  --home-plans-card-icon-color: var(--bg-dark);
  --home-plans-card-icon-height: 87px;
  --home-plans-card-icon-mb: 48px;
  --home-plans-card-amount-size: 56px;
  --home-plans-card-amount-weight: 400;
  --home-plans-card-sign-size: 47px;
  --home-plans-card-sign-weight: 300;
  --home-plans-card-sign-mt: 0;
  --home-plans-card-note-size: 14px;
  --home-plans-perks-title-color: var(--primary);
  --home-plans-perks-title-size: 18px;
  --home-plans-perks-title-weight: 600;
  --home-plans-perks-list-color: var(--text-medium);
  --home-plans-perks-list-size: 18px;
  --home-plans-perks-list-check-color: var(--primary);
  --home-plans-perks-list-item-mt: 12px;
  --home-why-content-padding-y: 80px;
  --home-why-copy-justify-xl: flex-end;
  --home-why-img-max-width: auto;
  --home-why-img-max-height: 517px;
  --home-why-img-position: top;
  --home-why-title-color: var(--text-inverse);
  --home-why-list-mt: 48px;
  --home-why-img-accent: var(--bg-dark);
  --home-savings-note-size: 16px;
  --home-savings-note-weight: 500;
  --home-how-icon-color: var(--text-inverse);
  --home-how-icon-size: 130px;
  --home-how-icon-border-width: 0;
  --home-how-step-border-width: 0;
  --home-how-step-title-color: var(--accent);
  --home-how-step-title-size: clamp(25px, 2vw, 30px);
  --home-how-step-content-size: 17px;
  --home-questions-img-left-radius: 999px;
  --home-questions-img-left-radius: 999px;
  --home-questions-img-padding-left: 40px;
  --home-questions-img-accent: var(--bg-dark);

  --custom-table-padding-y: 21px;
  --custom-table-header-border-color: var(--border-light);
  --custom-table-header-color: var(--text-inverse);
  --custom-table-header-full-bg: var(--bg-dark);
  --custom-table-header-full-font: var(--body-text-font);
  --custom-table-header-full-weight: 700;
  --custom-table-header-full-size: clamp(18px, 2vw, 22px);
  --custom-table-header-font: var(--body-text-font);
  --custom-table-header-size: 20px;
  --custom-table-header-bg: var(--accent);
  --custom-table-body-size: clamp(16px, 2vw, 20px);
  --custom-table-row-full-text-align: left;
  --custom-table-row-full-size: clamp(16px, 2vw, 20px);
  --custom-table-row-full-bg: #E8F6CF;
  --custom-table-row-full-color: var(--body-text-color);
  --custom-table-footer-full-bg: var(--accent);

  --savings-summary-note-weight: 500;
  --savings-summary-note-color: var(--text-medium);


  --find-wrapper-bg: #3E4CC4;
  --find-form-search-btn-office-label-display: none;
  --find-steps-border-top-radius: 100px;
  --find-steps-border-top-mobile-radius: 40px;
  --find-steps-title-size: clamp(25px, 4vw, 40px);
  --find-steps-subtitle-size: clamp(19px, 2vw, 24px);
  --find-steps-subtitle-weight: 300;
  --find-steps-icon-size: 100px;
  --find-steps-completed-bg: transparent;
  --find-steps-number-size: 41px;
  --find-steps-number-text-color: #19305B;
  --find-steps-number-text-weight: 700;
  --find-steps-number-text-size: 20px;
  --find-steps-text-size: 20px;
  --find-steps-weight: 700;
  --find-form-label-display: none;
  --find-content-border-radius: 50px;
  --find-content-border-color: transparent;
  --find-content-border-mobile-radius: 10px;
  --find-content-bg: var(--bg-light);
  --find-office-select-btn-height: 42px;
  --find-office-select-btn-border-radius: 10px;
  --find-office-select-btn-font-size: 18px;
  --find-office-select-btn-font-weight: 400;
  --find-office-select-btn-min-width: 120px;
  --find-office-details-title-size: 20px;
  --find-office-details-title-weight: 800;
  --find-office-details-title-color: var(--text-header-color);
  --find-office-details-content-size: 16px;
  --find-office-details-content-color: var(--text-subheader-color);
  --find-office-details-content-weight: 600;
  --find-office-details-phone-color: var(--text-header-color);
  --find-results-title-size: 20px;
  --find-results-title-weight: 600;
  --find-results-title-font: var(--body-text-font);
  --find-map-border-color: var(--text-subheader-color);
  --find-map-border-width: 1px;
  --p-toggleswitch-checked-background: var(--cta);

  --faq-entry-border-color: transparent;
  --faq-entry-title-font: var(--body-text-font);
  --faq-entry-title-color: var(--text-header-color);
  --faq-entry-title-size: 20px;
  --faq-entry-title-weight: 400;
  --faq-open-icon-bg: var(--primary);
  --faq-close-icon-bg: var(--primary);
  --faq-answer-size: 18px;
  --faq-answer-weight: 600;
  --faq-answer-color: #666666;
  --faq-image-bg: var(--bg-dark);
  --faq-contact-max-height: 500px;
  --faq-contact-radius: 0;
  --faq-contact-info-title-color: var(--text-inverse);
  --faq-contact-info-title-size: clamp(22px, 4vw, 40px);
  --faq-contact-info-text-color: var(--text-inverse);
  --faq-contact-info-text-size: clamp(16px, 2vw, 21px);
  --faq-contact-margin-top: clamp(60px, 8vw, 160px);
  --faq-contact-info-btn-width: clamp(180px, 20vw, 300px);
  --faq-contact-image-object-position: top;
  --faq-padding-bottom: clamp(20px, 4vw, 80px);

  --support-page-bg: var(--bg-light);
  --support-wrapper-border-width: 0;
  --support-info-bg: var(--bg-dark);
  --support-info-title-size: 24px;
  --support-info-text-size: 14px;
  --support-info-text-weight: 600;
  --support-form-label-color: var(--text-header-color);
  --support-form-label-size: 12px;

  --signup-label-color: var(--body-text-color);
  --signup-content-bg: var(--bg-light);
  --join-now-title-font: var(--body-text-font);
  --join-now-title-text-align: center;
  --join-now-title-justify: center;
  --signup-title-weight: 400;
  --signup-title-size: 22px;
  --signup-summary-header-font: var(--body-text-font);
  --signup-summary-header-weight: 400;
  --signup-summary-title-size: 18px;
  --signup-summary-title-weight: 400;
  --signup-summary-title-font: var(--body-text-font);
  --signup-summary-body-entry-size: 17px;
  --signup-summary-body-entry-color: var(--text-medium);
  --signup-summary-body-entry-weight: 500;
  --signup-summary-disclaimer-entry-size: 14px;
  --signup-summary-fee-entry-weight: 500;
  --signup-summary-total-row-size: 16px;
  --signup-summary-totals-border-color: var(--bg-dark);
  --signup-summary-link-color: #375ADB;
  --signup-summary-annual-title-size: 18px;
  --signup-summary-annual-cost-weight: 500;
  --signup-summary-annual-cost-bg: #F7EBFF;
  --signup-summary-due-now-bg: var(--bg-dark);
  --signup-summary-due-now-color: var(--text-inverse);
  --signup-summary-due-now-weight: 500;

  --login-form-subtitle-display: block;
  --login-form-title-weight: 400;
  --login-form-subtitle-size: 14px;
  --login-form-label-size: 14px;
  --login-form-label-color: var(--text-header-color);
  --login-form-label-weight: 600;
  --login-forgot-link-color: var(--primary);

  --button-border-radius: 999px;
  --button-text-size: 16px;
  --button-height: 56px;
}

@layer components {
  /* CTA Button */
  .home-savings-btn,
  .start-btn,
  .find-your-dentist-form-btn,
  .find-select-office-btn,
  .find-form-search-btn,
  .home-how-join-btn,
  .home-plans-join-btn,
  .header-join-now-btn,
  .header-logout-btn,
  .savings-summary-btn,
  .checkout-success-btn,
  .login-btn,
  .submit-reset-btn,
  .login-forgot-submit-btn {
    color: var(--text-inverse);
    background-color: var(--cta);
    border-color: var(--cta);

    &:hover:not(:disabled) {
      background-color: var(--cta-hover);
      border-color: var(--cta-hover);
    }
  }

  /* Accent / BG Dark Button */
  .home-why-join-btn {
    color: #002854;
    background-color: var(--accent);

    &:hover:not(:disabled) {
      background-color: var(--bg-dark);
      color: var(--text-inverse);
    }
  }

  /* Bg-Dark Button */
  .support-send-btn {
    color: var(--text-inverse);
    background-color: var(--bg-dark);

    &:hover:not(:disabled) {
      background-color: var(--primary);
    }
  }

  /* Outlined Primary */
  .add-dependent-btn,
  .find-form-clear-btn,
  .find-clear-filters-btn,
  .scheduleButton,
  .login-go-back-btn {
    color: var(--primary);
    background-color: transparent;
    border-width: 1px;
    border-color: var(--primary);

    &:hover:not(:disabled) {
      background-color: var(--primary);
      color: var(--text-inverse);
    }
  }

  /** White Button */
  .faq-contact-btn,
  .home-questions-faq-btn {
    background-color: white;
    color: var(--primary);

    &:hover:not(:disabled) {
      background-color: #f2f2f2;
    }
  }

  /** White Outlined */
  .support-faq-link,
  .home-questions-contact-btn {
    color: var(--text-inverse);
    background-color: transparent;
    border-color: white;

    &:hover:not(:disabled) {
      background-color: white;
      color: var(--primary);
    }
  }

  .start-btn {
    font-size: 18px;
    border-radius: 10px;
    height: 61px;
  }

  .support-link {
    border-radius: 8px;
    border-color: var(--border-light);
    background-color: var(--body-bg);
    height: 32px !important;
    font-size: 12px !important;
    font-weight: 700;
    color: var(--text-header-color);

    &:hover {
      color: #004a43;
    }

    @media (max-width: 768px) {
      border-color: var(--text-light);
      background-color: white;
    }
  }
}

.home {
  --custom-table-margin-top: 60px;
  --custom-table-header-bg: var(--bg-dark);

  .home-how,
  .home-savings,
  .home-why,
  .home-plans {
    --button-xl-min-width: 335px;
  }

  .home-questions {
    .btn {
      width: 200px;
    }
  }
}

.support .main-content .btn {
  min-width: 130px;
  height: 39px;
}

.find-a-dentist {
  .find-form {
    --button-border-radius: 999px;
  }
}