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

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

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

  --p-primary-50:  #DBF1FF;
  --p-primary-100: #c2dfff;
  --p-primary-200: #99C3FF;
  --p-primary-300: #5a98ff;
  --p-primary-400: #2d7bff;
  --p-primary-500: #0069FF;
  --p-primary-600: #005ce6;
  --p-primary-700: #004fbf;
  --p-primary-800: #004299;
  --p-primary-900: #00357d;
  --p-primary-950: #002659;

  --accent: var(--p-primary-200);
  --cta: var(--primary);
  --cta-hover: #745EEF;

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

  --bg-dark: #000;
  --bg-medium: var(--p-primary-50);
  --bg-light: #F7F7F7;

  --border-light: #C0C0C0;

  --text-dark: var(--bg-dark);
  --text-medium: #666666;
  --link-color: var(--cta);

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

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

  --header-bg: var(--body-bg);
  --header-padding-y: 10px;
  --header-mobile-padding-y: 10px;
  --header-fixed-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  --header-main-links-xl-gap: 40px;
  --header-font-weight: 600;
  --header-color: var(--text-header-color);
  --header-main-nav-text-size: 16px;
  --header-main-nav-hover-color: var(--text-dark);
  --header-main-nav-underline-color: var(--text-dark);
  --header-active-color: var(--text-dark);
  --header-logo-height: 43px;
  --header-mobile-color: var(--text-header-color);
  --header-mobile-size: 16px;
  --header-mobile-weight: 700;
  --header-mobile-hover-color: var(--text-inverse);
  --header-mobile-hover-bg-color: var(--cta);
  --header-toggle-bg: var(--cta);
  --header-toggle-bg-hover: var(--cta-hover);

  --terms-section-bg: var(--bg-light);

  --footer-bg: var(--bg-dark);
  --footer-border-color: transparent;
  --footer-text-size: 16px;
  --footer-text-color: var(--text-inverse);
  --footer-dso-logo-height: 70px;
  --footer-powered-logo-height: 42px;
  --footer-text-hover: var(--primary-bg);

  --page-header-max-height: 312px;

  --find-your-dentist-form-height: 42px;
  --find-your-dentist-form-y-padding: 0;
  --find-your-dentist-form-right-padding: 0;
  --find-your-dentist-form-btn-border-radius: 0;
  --find-your-dentist-form-max-width: auto;
  --find-your-dentist-form-border-radius: 10px;
  --find-your-dentist-form-text-size: 16px;
  --find-your-dentist-form-btn-text-size: 16px;
  --find-your-dentist-form-btn-font-weight: 400;
  --find-your-dentist-form-btn-bg: var(--cta);
  --find-your-dentist-form-btn-hover-bg: var(--cta-hover);

  --home-main-banner-bg: var(--bg-medium);
  --home-main-banner-title-text-size: clamp(36px, 4vw, 65px);
  --home-main-banner-title-text-color: var(--text-header-color);
  --home-main-banner-subtitle-text-size: clamp(20px, 2vw, 24px);
  --home-main-banner-subtitle-text-color: var(--text-dark);
  --home-main-banner-content-padding-y: 170px;
  --home-main-banner-content-max-width: 615px;
  --home-main-banner-form-padding: 20px;
  --home-main-banner-form-title-size: 15px;
  --home-main-banner-form-title-color: var(--text-header-color);
  --find-your-dentist-form-btn-text-transform: uppercase;
  --home-title-size: clamp(20px, 4vw, 40px);
  --home-subtitle-size: clamp(19px, 2vw, 24px);
  --home-subtitle-color: var(--text-header-color);
  --home-subtitle-weight: 400;
  --home-plans-card-bg: var(--bg-medium);
  --home-plans-card-box-shadow: 0 18px 30px #3961754d;
  --home-plans-card-title-size: clamp(25px, 2vw, 30px);
  --home-plans-card-title-weight: 600;
  --home-plans-card-price-bg: var(--accent);
  --home-plans-card-price-color: var(--text-inverse);
  --home-plans-card-amount-size: 50px;
  --home-plans-card-amount-weight: var(--text-header-weight);
  --home-plans-card-sign-size: 17px;
  --home-plans-card-period-font: var(--text-header-font);
  --home-plans-card-period-size: 14px;
  --home-plans-card-period-weight: 400;
  --home-plans-card-perks-title-font: var(--text-header-font);
  --home-plans-card-perks-title-size: 24px;
  --home-plans-card-perks-title-weight: 600;
  --home-plans-perks-list-size: 18px;
  --home-plans-perks-list-check-color: var(--accent);
  --home-why-card-content-bg: var(--body-bg);
  --home-why-card-title-color: var(--text-header-color);
  --home-why-bg: var(--bg-medium);
  --home-why-card-bg: var(--accent);
  --home-why-card-title-size: 28px;
  --home-why-list-bg: var(--bg-medium);
  --home-why-card-list-title-size: 22px;
  --home-why-card-list-title-font: var(--text-header-font);
  --home-why-card-list-title-color: var(--text-header-color);
  --home-why-card-list-title-weight: var(--text-header-weight);
  --home-why-card-list-icon-color: var(--accent);
  --home-why-card-list-text-size: 16px;
  --home-how-bg: #000;
  --home-how-title-color: var(--text-inverse);
  --home-how-subtitle-color: var(--text-inverse);
  --home-how-step-content-color: var(--text-inverse);
  --home-how-step-title-color: var(--text-inverse);
  --home-how-icon-color: var(--text-inverse);
  --home-how-icon-bg: var(--accent);
  --home-how-icon-border: var(--cta);
  --home-how-icon-border-width: 0;
  --home-how-icon-size: 180px;
  --home-how-icon-mobile-size: 130px;
  --home-how-steps-wrapper-gap: 40px;
  --home-how-step-border-width: 0;
  --home-how-step-padding: 0;
  --home-how-step-box-shadow: none;
  --home-how-step-title-size: 26px;
  --home-how-step-content-size: 17px;
  --home-savings-bg: var(--bg-medium);
  --home-savings-table-body-size: 16px;
  --home-savings-table-highlight-size: 16px;
  --home-savings-note-size: 15px;
  --home-testimonials-title-font: var(--text-header-font);
  --home-testimonials-title-color: var(--text-inverse);
  --home-testimonials-title-weight: var(--text-header-weight);
  --home-testimonials-image-max-width: 700px;
  --home-testimonials-card-bg: var(--bg-medium);
  --home-testimonials-card-color: var(--text-dark);
  --home-testimonials-card-title-font: var(--text-header-font);
  --home-testimonials-card-title-color: var(--text-header-color);
  --home-testimonials-card-title-size: 30px;
  --home-testimonials-card-title-weight: var(--text-header-weight);
  --home-testimonials-card-accent-color: var(--accent);
  --home-testimonials-card-text-size: 15px;
  --home-testimonials-card-text-color: var(--text-medium);
  --p-carousel-indicator-active-background: var(--cta);
  --home-questions-bg: var(--bg-medium);
  --home-questions-text-size: 18px;
  --home-questions-separator-border: var(--bg-dark);
  --home-questions-separator-color: var(--bg-dark);
  --home-questions-separator-size: 21px;

  --savings-summary-note-size: 16px;
  --savings-summary-note-weight: 500;

  --find-wrapper-bg: rgba(0, 0, 0, 0.8);
  --find-steps-title-size: clamp(25px, 4vw, 40px);
  --find-form-search-btn-office-label-display: none;
  --find-form-border-color: var(--bg-dark);
  --find-steps-border-top-radius: 100px;
  --find-steps-border-top-mobile-radius: 40px;
  --find-steps-icon-size: 100px;
  --find-steps-active-icon-color: var(--accent-bg);
  --find-steps-inactive-icon-color: var(--accent-bg);
  --find-steps-completed-icon-color: var(--accent-bg);
  --find-steps-subtitle-size: clamp(19px, 2vw, 24px);
  --find-steps-subtitle-weight: 400;
  --find-steps-completed-bg: transparent;
  --find-steps-complete-check-bg: var(--accent-bg);
  --find-steps-number-size: 40px;
  --find-steps-number-mobile-size: 32px;
  --find-steps-number-text-color: #444;
  --find-steps-number-text-weight: 700;
  --find-steps-number-text-size: clamp(17px, 2vw, 20px);
  --find-steps-text-size: clamp(15px, 2vw, 20px);
  --find-steps-weight: 700;
  --find-form-label-color: var(--bg-dark);
  --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-details-title-size: 20px;
  --find-office-details-title-font: var(--body-text-font);
  --find-office-details-title-color: var(--text-header-color);
  --find-office-details-icon-color: var(--accent-bg);
  --find-office-details-content-size: 16px;
  --find-results-title-size: 20px;
  --find-office-details-phone-weight: 600;
  --find-results-title-weight: 400;
  --find-results-title-color: var(--body-text-color);
  --find-map-border-color: var(--bg-dark);
  --find-map-border-width: 1px;

  --faq-entry-bg: var(--bg-medium);
  --faq-entry-border-color: transparent;
  --faq-entry-title-color: var(--text-header-color);
  --faq-entry-title-size: 17px;
  --faq-open-icon-bg: #102539;
  --faq-close-icon-bg: var(--bg-dark);
  --faq-entry-title-weight: 700;
  --faq-answer-size: 15px;
  --faq-answer-color: var(--text-dark);
  --faq-contact-bg: var(--bg-dark);
  --faq-image-bg: #BCD3BD;
  --faq-contact-radius: 0;
  --faq-contact-info-title-color: var(--text-inverse);
  --faq-contact-info-text-color: var(--text-inverse);

  --support-page-bg: var(--bg-light);
  --support-wrapper-border-width: 0;
  --support-info-bg: var(--bg-dark);
  --support-info-title-size: clamp(20px, 2vw, 24px);
  --support-info-text-size: 14px;
  --support-info-icon-color: var(--accent);
  --support-form-label-font: var(--text-header-font);
  --support-form-label-weight: 400;
  --support-form-label-color: var(--text-header-color);
  --support-form-label-size: 12px;

  --signup-content-bg: var(--bg-light);
  --join-now-title-text-align: center;
  --join-now-title-justify: center;
  --signup-summary-title-size: 18px;
  --signup-summary-title-weight: 700;
  --signup-summary-title-font: var(--body-text-font);
  --signup-summary-body-entry-size: 17px;
  --signup-summary-body-entry-color: var(--text-medium);
  --signup-summary-disclaimer-entry-size: 14px;
  --signup-summary-total-row-size: 14px;
  --signup-summary-link-color: #4CBCE6;
  --signup-summary-annual-cost-bg: #C4FBF0;
  --signup-summary-due-now-bg: var(--accent);
  --signup-summary-due-now-color: var(--text-inverse);

  --login-form-subtitle-display: block;
  --login-form-subtitle-size: 14px;
  --login-form-label-size: 14px;
  --login-forgot-link-color: var(--cta);

  --custom-table-border-radius: 0;
  --custom-table-header-bg: var(--bg-dark);
  --custom-table-header-font: var(--body-text-font);
  --custom-table-header-size: clamp(15px, 2vw, 18px);
  --custom-table-header-weight: 400;
  --custom-table-row-full-text-align: left;
  --custom-table-row-full-color: var(--text-inverse);
  --custom-table-row-full-bg: var(--accent);
  --custom-table-row-full-size: clamp(16px, 2vw, 20px);
  --custom-table-row-full-weight: 700;
  --custom-table-body-size: clamp(16px, 2vw, 20px);
  --custom-table-body-last-col-weight: var(--text-header-weight);
  --custom-table-body-last-col-color: var(--text-medium);
  --custom-table-padding-y: 20px;

  --button-height: 42px;
  --button-text-size: 16px;
  --button-text-weight: 400;
  --button-border-radius: 1000px;
  --button-padding-x: 25px;
  --button-sm-height: 35px;
  --button-sm-text-size: 14px;
}

@layer components {
  /* CTA Button */
  .faq-contact-btn,
  .find-select-office-btn,
  .find-form-search-btn,
  .home-questions-contact-btn,
  .home-how-join-btn,
  .home-plans-join-btn,
  .header-join-now-btn,
  .header-logout-btn,
  .home-savings-btn,
  .savings-summary-btn,
  .support-send-btn,
  .start-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 */
  .add-dependent-btn,
  .find-your-dentist-form-btn {
    color: var(--text-inverse);
    background-color: var(--primary);
    border-color: var(--primary);

    &:hover:not(:disabled) {
      background-color: #0078AB;
      border-color: #0078AB;
    }
  }

  /* Outlined Dark */
  .find-form-clear-btn,
  .find-clear-filters-btn,
  .scheduleButton,
  .login-go-back-btn {
    color: var(--text-header-color);
    background-color: transparent;
    border-width: 1px;
    border-color: var(--bg-dark);

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

  /* Accent */
  .start-btn,
  .home-questions-faq-btn {
    color: var(--text-inverse);
    background-color: var(--accent);
    border-color: var(--accent);

    &:hover:not(:disabled) {
      background-color: #54D9FF;
      border-color: #54D9FF;
    }
  }

  /** Dark Outlined */
  .support-faq-link {
    color: var(--text-inverse);
    background-color: var(--bg-dark);
    border-color: white;
    border-radius: 10px;

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

  .login-btn {
    border-radius: 10px;
  }

  .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;

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

.home {
  --header-bg: var(--bg-medium);
  --header-fixed-bg: var(--bg-dark);
  --header-fixed-color: var(--text-inverse);
  --header-main-nav-fixed-hover-color: var(--text-inverse);
  --header-fixed-hover-color: var(--text-inverse);
  --header-color: var(--text-dark);
  --header-active-color: var(--text-inverse);
  --header-logo-alt-fixed-display: block;
  --header-logo-fixed-display: none;
  --header-logo-open-display: block;
  --header-logo-alt-open-display: none;

  --custom-table-margin-top: 32px;
  --custom-table-body-last-col-color: var(--text-dark);

  .main-content {
    .btn {
      min-width: 230px;
    }
  }

  tbody tr.row-highlight td:nth-child(2) {
    font-weight: var(--text-header-weight);
  }
}
