@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@700&family=Raleway:wght@500;600;800&display=swap');
@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);
  --primary-light: var(--p-primary-100);

  --p-primary-50:  #edf3f8;
  --p-primary-100: #d3e2ef;
  --p-primary-200: #abc8e0;
  --p-primary-300: #82add1;
  --p-primary-400: #6196c3;
  --p-primary-500: #4680B2;
  --p-primary-600: #3e719e;
  --p-primary-700: #356187;
  --p-primary-800: #2c5170;
  --p-primary-900: #24425c;
  --p-primary-950: #1a2f43;


  --accent: #79C7EF;
  --cta: #D93737;
  --cta-hover: hsl(from var(--cta) h s 40%);

  --body-text-font: 'Raleway', sans-serif;
  --body-text-weight: 500;
  --body-text-color: var(--text-medium);
  --body-text-size: 16px;

  --bg-dark: #0046BA;
  --bg-medium: var(--p-primary-50);
  --bg-light: #FAFAFA;

  --border-light: #E6E6E6;

  --text-dark: #0B1014;
  --text-medium: #686868;
  --text-light: #DDD;

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

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

  --container-max-width: 1330px;
  --top-header-bg: var(--body-bg);
  --top-header-color: var(--text-dark);
  --top-header-hover: var(--primary);
  --header-bg: var(--body-bg);
  --header-padding-y: 14px;
  --header-mobile-padding-y: 10px;
  --header-fixed-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  --header-main-links-gap: 24px;
  --header-main-nav-text-size: 16px;
  --header-color: var(--text-dark);
  --header-font-weight: 500;
  --header-main-nav-underline-color: var(--cta);
  --header-active-color: var(--text-dark);
  --header-mobile-size: 16px;
  --header-mobile-color: var(--text-dark);
  --header-mobile-hover-color: var(--text-inverse);
  --header-mobile-hover-bg-color: #79C7EF;
  --header-toggle-bg: var(--cta);
  --header-toggle-bg-hover: var(--cta-hover);
  --header-join-now-height: 34px;

  --footer-text-size: 16px;
  --footer-text-weight: 500;
  --footer-dso-logo-height: 78px;
  --footer-text-hover: var(--accent);
  --footer-nav-bg: #F6F6F6;

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

  --home-main-banner-mobile-bg: var(--primary);
  --home-main-banner-img-max-width: 100%;
  --home-main-banner-img-position: right;
  --home-main-banner-copy-lg-max-width: 60%;
  --home-main-banner-title-size: clamp(36px, 4vw, 52px);
  --home-main-banner-title-weight: 800;
  --home-main-banner-title-color: var(--text-inverse);
  --home-main-banner-subtitle-color: var(--text-dark);
  --home-main-banner-subtitle-size: clamp(24px, 2vw, 32px);
  --home-main-banner-subtitle-text-shadow-mobile: -.5px -.5px 0 rgba(255, 255, 255, .3), .5px -.5px 0 rgba(255, 255, 255, .3), -.5px .5px 0 rgba(255, 255, 255, .3), .5px .5px 0 rgba(255, 255, 255, .3);
  --home-main-banner-subtitle-weight: 600;
  --home-main-banner-subtitle-mt: 0;
  --home-main-banner-form-title-color: var(--primary);
  --home-main-banner-form-title-font: var(--body-text-font);
  --home-main-banner-form-title-weight: 700;
  --find-your-dentist-form-btn-text-size: 16px;
  --find-your-dentist-form-text-size: 16px;
  --find-your-dentist-form-btn-bg: var(--primary);
  --find-your-dentist-form-btn-hover-bg: var(--primary);
  --find-your-dentist-form-border-radius: 8px;
  --home-subtitle-weight: 500;
  --home-plans-card-amount-size: 58px;
  --home-plans-card-sign-size: 29px;
  --home-plans-card-sign-font: var(--body-text-font);
  --home-plans-card-sign-weight: 700;
  --home-plans-card-amount-font: var(--body-text-font);
  --home-plans-card-amount-weight: 800;
  --home-plans-card-period-font: var(--body-text-font);
  --home-plans-card-period-weight: 500;
  --home-plans-card-period-mb: 8px;
  --home-plans-perks-title-color: var(--text-dark);
  --home-plans-perks-list-weight: 500;
  --home-why-bg: var(--bg-light);
  --home-why-img-accent: transparent;
  --home-why-content-padding-y: 80px;
  --home-why-list-mt: 48px;
  --home-why-list-color: var(--body-text-color);
  --home-savings-bg: var(--body-bg);
  --home-savings-note-color: var(--text-dark);
  --home-savings-note-size: 16px;
  --home-savings-note-weight: 500;
  --home-how-icon-bg: var(--primary);
  --home-how-icon-color: var(--text-inverse);
  --home-how-icon-border-width: 0;
  --home-how-step-border-width: 0;
  --home-how-step-title-color: var(--text-medium);
  --home-how-step-title-size: 19px;
  --home-how-step-title-weight: 700;
  --home-questions-bg: var(--bg-light);
  --home-questions-title-color: var(--primary);
  --home-questions-title-weight: 700;
  --home-questions-text-size: 16px;
  --home-questions-text-color: var(--body-text-font);
  --home-questions-img-left-radius: 999px;
  --home-questions-img-accent: var(--primary-light);

  --custom-table-header-bg: var(--accent);
  --custom-table-header-color: var(--text-inverse);
  --custom-table-header-border-color: var(--border-light);
  --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: clamp(15px, 2vw, 18px);
  --custom-table-header-weight: 700;
  --custom-table-body-size: clamp(16px, 2vw, 20px);
  --custom-table-body-last-col-weight: 600;
  --custom-table-row-full-weight: 600;
  --custom-table-row-full-bg: var(--accent);
  --custom-table-footer-full-bg: var(--primary);

  --savings-summary-note-weight: 500;


  --find-wrapper-bg: var(--accent);
  --find-steps-title-color: var(--text-dark);
  --find-steps-title-weight: 700;
  --find-steps-subtitle-color: var(--text-medium);
  --find-form-search-btn-office-label-display: none;
  --find-steps-border-top-radius: 100px;
  --find-steps-border-top-mobile-radius: 40px;
  --find-steps-active-icon-color: #50AEA8;
  --find-steps-inactive-icon-color: #50AEA8;
  --find-steps-completed-icon-color: #50AEA8;
  --find-steps-subtitle-size: 18px;
  --find-steps-subtitle-weight: 600;
  --find-steps-complete-check-bg: #50AEA8;
  --find-steps-number-size: 40px;
  --find-steps-number-text-color: var(--text-medium);
  --find-steps-number-text-size: 16px;
  --find-steps-text-size: 19px;
  --find-steps-active-text-color: var(--text-medium);
  --find-steps-inactive-text-color: var(--text-medium);
  --find-steps-completed-text-color: var(--text-medium);
  --find-steps-weight: 600;
  --find-form-label-color: var(--text-dark);
  --find-content-border-radius: 50px;
  --find-content-border-color: transparent;
  --find-content-border-mobile-radius: 10px;
  --find-content-bg: #F0F7F8;
  --find-office-card-border-color: var(--primary);
  --find-office-select-btn-height: 42px;
  --find-office-select-btn-border-radius: 10px;
  --find-office-select-btn-font-size: 14px;
  --find-office-select-btn-font-weight: 400;
  --find-office-select-btn-min-width: 120px;
  --find-office-details-title-size: 16px;
  --find-office-details-title-weight: 700;
  --find-office-details-title-color: var(--primary);
  --find-office-details-content-size: 13px;
  --find-office-details-content-color: var(--text-dark);
  --find-office-details-icon-color: var(--accent);
  --find-results-title-size: 18px;
  --find-results-title-weight: 600;
  --find-results-title-font: var(--body-text-font);
  --find-results-title-color: var(--text-dark);
  --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(--primary);
  --faq-entry-title-size: 18px;
  --faq-open-icon-bg: var(--primary);
  --faq-close-icon-bg: var(--primary);
  --faq-entry-title-weight: 900;
  --faq-answer-size: 15px;
  --faq-answer-weight: 500;
  --faq-link-color: var(--primary);
  --faq-image-bg: transparent;
  --faq-contact-radius: 0;
  --faq-contact-bg: var(--bg-light);
  --faq-contact-color: var(--text-medium);
  --faq-contact-info-title-color: var(--primary);
  --faq-contact-info-title-weight: 700;
  --faq-contact-info-title-size: clamp(22px, 4vw, 40px);
  --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-padding-bottom: clamp(20px, 4vw, 80px);

  --support-page-bg: var(--body-bg);
  --support-wrapper-border-width: 0;
  --support-info-bg: var(--accent);
  --support-info-title-size: 32px;
  --support-info-title-color: var(--text-dark);
  --support-info-text-color: var(--text-dark);
  --support-info-icon-color: var(--text-dark);
  --support-info-text-size: 19px;
  --support-form-label-font: var(--text-header-font);
  --support-form-label-weight: 700;
  --support-form-label-color: var(--text-dark);
  --support-form-label-size: 16px;

  --signup-label-color: var(--text-header-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-font: var(--body-text-font);
  --signup-title-weight: 600;
  --signup-title-size: 19px;
  --signup-summary-header-font: var(--body-text-font);
  --signup-summary-header-weight: 900;
  --signup-summary-title-size: 14px;
  --signup-summary-title-weight: 800;
  --signup-summary-title-color: var(--primary);
  --signup-summary-body-entry-size: 13px;
  --signup-summary-body-entry-color: var(--text-dark);
  --signup-summary-body-entry-weight: 500;
  --signup-summary-total-row-size: 14px;
  --signup-summary-link-color: var(--accent);
  --signup-summary-fee-entry-size: 13px;
  --signup-summary-fee-entry-color: var(--text-dark);
  --signup-summary-annual-cost-color: var(--text-dark);
  --signup-summary-annual-title-size: 18px;
  --signup-summary-annual-title-weight: 600;
  --signup-summary-due-now-font: var(--body-text-font);
  --signup-summary-due-now-weight: 400;

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

  --button-border-radius: 8px;
  --button-text-font: 'Outfit', sans-serif;
  --button-text-size: 16px;
  --button-text-weight: 700;
}

@layer components {
  /* CTA Button */
  .directory-phone-btn,
  .directory-contact-btn,
  .start-btn,
  .support-send-btn,
  .find-your-dentist-form-btn,
  .find-form-search-btn,
  .home-how-join-btn,
  .home-plans-join-btn,
  .home-why-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);
    }
  }

  /* Primary Button */
  .faq-contact-btn,
  .find-select-office-btn,
  .home-questions-faq-btn,
  .home-savings-btn {
    color: var(--text-inverse);
    background-color: var(--primary);

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

  /* 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);
    }
  }

  /** CTA Outlined */
  .home-questions-contact-btn {
    color: var(--cta);
    background-color: transparent;
    border-color: var(--cta);

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

  /** White / CTA */
  .support-faq-link {
    color: var(--cta);
    background-color: white;

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

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

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

    &:hover {
      color: #004a43;
    }
  }
}

.home {
  --custom-table-margin-top: 60px;
  --custom-table-header-bg: var(--primary);
  --custom-table-header-color: var(--text-inverse);
  --custom-table-body-size: 18px;
  --custom-table-body-weight: 600;
  --custom-table-row-highlight-weight: 600;
  --custom-table-highlight-color: var(--primary);
  --custom-table-footer-full-size: clamp(16px, 2vw, 28px);

  .main-banner {
    --container-max-width: auto;

    .container {
      @media (width >= 768px) {
        padding-left: 98px;
      }
    }
  }
}

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

    .btn {
      min-width: 120px;
    }
  }
}