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

:root {
  --md-primary-fg-color: #4A7FB3;
  --md-primary-fg-color--light: #66A5E4;
  --md-primary-fg-color--dark: #335B82;
  --md-primary-bg-color: #F7F5F2;
  --md-primary-bg-color--light: #EFECEA;
  --md-accent-fg-color: #335B82;
  --md-accent-fg-color--transparent: #4A7FB31a;
  --md-accent-bg-color: #ffffff;
  --md-accent-bg-color--light: #EFECEA;
}

body,
.md-typeset,
.md-nav,
.md-tabs,
.md-header,
.md-search,
.md-button {
    font-family: 'Nunito Sans', sans-serif;
}

/* Header Styles */
.md-header {
  background: var(--md-accent-fg-color);
  color: #FFFFFF;
}

.md-header__title {
  padding-left: -100px;
}

/* Shrink space between header button and title */
[dir=ltr] .md-header__title {
  margin-left: 0.1rem !important;
}

[dir=rtl] .md-header__title {
  margin-right: 0.1rem !important;
}

/* Default header title weight = regular */
.md-header__topic .md-ellipsis {
  font-weight: 350;
  font-size: .9rem;
}

/* Make just “Filot” bold */
.md-header__topic .md-ellipsis .site-name-bold {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  font-size: 1rem;

}

.md-header__topic {
  display: flex;
  max-width: 100%;
  position: absolute;
  transition: none;
  white-space: nowrap;
}


/* Header Button Styles */
.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  fill: currentcolor;
  display: block;
  height: 2rem;
  width: auto;
  transform: translateY(-3px);

}

.md-header__button {
  color: currentcolor;
  cursor: pointer;
  margin: .2rem;
  outline-color: var(--md-primary-fg-color);
  padding: .4rem;
  position: relative;
  transition: opacity .25s;
  vertical-align: middle;
  z-index: 1;
}

.md-typeset h1 {
  color: default;

}

/* Nav Styles */
.md-nav--primary .md-nav__title[for=__drawer] {
  background-color: var(--md-primary-fg-color);

}

/* Base nav drawer title*/
.md-nav__title {
  color: var(--md-default-fg-color--light);
  display: block;
  font-weight: 700;
  overflow: hidden;
  padding: 0 .6rem;
  text-overflow: ellipsis;
}

/* Split nav drawer title into bold and regular parts */
.md-nav__title[data-title-bold][data-title-regular] {
  font-size: .5px;
  color: transparent;
  white-space: nowrap;
  position: relative;
}

/* "Filot" (bold) */
.md-nav__title[data-title-bold][data-title-regular]::before {
  content: attr(data-title-bold);
  color: var(--md-default-fg-color--light);
  font-weight: 600;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  color: #ffffff;
  line-height: inherit;
  display: inline;
}

/* " Support Docs" (regular) */
.md-nav__title[data-title-bold][data-title-regular]::after {
  content: " " attr(data-title-regular);
  color: var(--md-default-fg-color--light);
  font-weight: 350;
  font-size: 0.95rem;
  color: #ffffff;
  line-height: inherit;
  display: inline;
}

/* Sidebar Headers */
@media screen and (min-width: 76.25em) {
  .md-nav__item--section>.md-nav__link[for] {
    font-weight: 750;
    font-size: 0.75rem;
    color: #212417;
  }
}

.md-nav__title {
  font-weight: 750;
  font-size: 0.75rem;
  color: #212417;
}


/* Tab Styles */
.md-tabs {
  background: var(--md-accent-fg-color);
  color: white;
}

.md-tabs__tab:hover {
  background-color: #CDE2EE;
}

.md-container .md-tabs .md-tabs__item--active {
  border-bottom: .1rem solid #CDE2EE;
}

.md-tabs[hidden] .md-tabs__item--active {
  border-bottom: .05rem solid #CDE2EE;
}

.md-tabs__item--active {
  border-bottom: .05rem solid #CDE2EE;
  font-weight: 500;
  position: relative;
  transition: border-bottom .25s;
}


/* Search Bar Styles */
.md-search__input {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: #4D4D4D 2px 2px 10px;

}

.md-search__input:focus {
  border-color: #ffffff;
  box-shadow: 0 0 5px #00456E;
}

.md-search__input:hover {
  border-color: #00456E;
}

.md-search__form {
  border-radius: 20px;
}

[data-md-toggle=search]:checked~.md-header .md-search__form {
  background-color: #dfdfdf;
  border-radius: .1rem .1rem 0 0;
  box-shadow: 0 0 .6rem #00000012;
  color: var(--md-default-fg-color);
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.md-search__input::placeholder,
.md-search__input~.md-search__icon {
  color: #4D4D4D;
}

.md-search__output {
  overflow: hidden;
  position: absolute;
  width: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0 0 .25rem .25rem;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background-color: transparent;
}


@media screen and (min-width: 60em) {
  [data-md-toggle=search]:checked~.md-header .md-search__output {
    box-shadow: none;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    opacity: 1;
  }
}

.md-search__scrollwrap {
  scrollbar-color: var(--md-default-fg-color--lighter) #00000052 #0000;
  scrollbar-width: none;
  /*Temp fix for overlapping bottom border radius */
  border-radius: 0 0 .25rem .25rem;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow: auto;

}


/* Table Styles */
.md-typeset table th {
  background-color: #CDE2EE;
  /* Light blue background for table headers */
}

.md-typeset table tr:nth-child(even) {
  background-color: #F9F9F9;
  /* Light grey for even table rows */
}

.md-typeset table tr:nth-child(odd) {
  background-color: #FFFFFF;
  /* White for odd table rows */
}


/* Admonition Styles */
.md-typeset .admonition,
.md-typeset details {
  background-color: var(--md-accent-bg-color--light);
  border: .075rem solid var(--md-accent-fg-color);
  border-radius: .2rem;
  box-shadow: var(--md-shadow-z1);
  color: var(--md-accent-fg-color);
  display: flow-root;
  font-size: .64rem;
  margin: 1.5625em 0;
  padding: 0 .6rem;
  page-break-inside: avoid;
  transition: box-shadow 125ms;
}


/* TOC Styles */
.md-ellipsis:hover {
  color: var(--md-primary-bg-color);
}

.md-nav__link .md-ellipsis:hover {
  position: relative;
  color: var(--md-primary-fg-color);
}


.md-nav__item .md-nav__link--active,
.md-nav__item .md-nav__link--active code {
  color: var(--md-accent-fg-color);
  font-weight: BOLD;
}


/* Box styling for the entire link */
.download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  background-color: #fdfdfd;
  text-decoration: none;
  font-weight: normal;
  color: var(--md-primary-fg-color);
  transition: all 0.2s ease-in-out;
}

/* Hover effect for the box */
.download-link:hover {
  background-color: #eef2f66c;
  border-color: #94a3b8;
  color: #005a9e;
}

/* Unique styling for the PDF icon */
.download-link .twemoji,
.download-link .md-icon {
  width: 20px;
  height: 20px;
  color: var(--md-primary-fg-color);
  flex-shrink: 0;
}

.download-link:hover .twemoji,
.download-link:hover .md-icon {
  color: #005a9e;
}


/*  Landing page  */
.hero {
  margin: 0 0 1.25rem 0;
  padding: 2.2rem 1rem;
  border-radius: 14px;
  background: var(--md-accent-fg-color);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.hero__heading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-bottom: .25rem;
  line-height: 1;
}


.hero__logo {
  display: block;
  height: 50px;
  width: 50px;
  flex: 0 0 auto;
  transform: translateY(-22px);
}


.hero__content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.1px;
  color: #ffffff;
  line-height: 1;
  font-weight: bold;
}

.hero__subtitle {
  margin: 0 auto 1rem auto;
  max-width: 720px;
  opacity: 0.95;
  font-size: .9rem;
}

.hero__actions .md-button {
  margin: .25rem .35rem 0 .35rem;
}

.hero__actions .md-button--primary {
  color: #fff;
}

.hero .hero__title,
.hero .hero__heading .hero__title,
.hero h1,
.hero h2,
.hero h3 {
  color: #ffffff !important;
  font-weight: 450;
}


/* Cards grid */
.cards {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: .2rem 0 1.2rem 0;
}

.card {
  background: #ffffff;
  border: 1px solid #e6e8eb;
  border-radius: 12px;
  padding: .9rem .9rem .8rem .9rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

/* Card icon styling  */
.card__icon {
  display: inline-flex;
  vertical-align: middle;
  margin-right: .35rem;
  color: var(--md-accent-fg-color);
}

.card__icon .twemoji,
.card__icon svg {
  width: 18px;
  height: 18px;
}

/* Landing cards */
.card h3 {
  margin: 0 0 0 0;
  font-size: 0.95rem;
}

.card h3 .twemoji,
.card h3 svg {
  width: 40px;
  height: 25px;
  margin-right: -15px;
  color: var(--md-primary-fg-color--dark);
}

.card p {
  margin: 0 0 .4rem 0;
  font-size: 0.78rem;
  color: #3c3f44;
}

.card a {
  color: var(--md-accent-fg-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #d7dbe0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* Hero CTA buttons */

/* Base hero button styling (applies to both buttons) */
.hero__actions .md-button {
  padding: 0.55rem 1.15rem;
  font-weight: 700;
  border: 2px solid transparent;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background-color 120ms ease,
    border-color 120ms ease;
}

.hero__actions .md-button:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* PRIMARY: Get Started  */
.hero__actions .md-button--primary {
  background-color: #E6F2FA;
  color: #003E63 !important;
}

.hero__actions .md-button--primary:hover {
  background-color: #D4EAF7;
}

/* SECONDARY: Explore Features  */
.hero__actions .md-button:not(.md-button--primary) {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff !important;
  backdrop-filter: blur(6px);
}

.hero__actions .md-button:not(.md-button--primary):hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.9);
}

/* Responsive tweaks */
@media screen and (min-width: 60em) {
  .hero {
    padding: 3rem 1.25rem;
  }

  .hero__logo {
    height: 52px;
  }

  .hero__title {
    font-size: 2.1rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }
}

