/* Site-wide footer (matches the dashboard footer) */
.ipdfs-footer {
  font-size: 0.72rem;
}
/* Blue links, readable on Material's dark footer bar.
   !important to win over Material's default footer link color. */
.md-footer-meta .md-copyright .ipdfs-footer a {
  color: #6ab0ff !important;
}
.md-footer-meta .md-copyright .ipdfs-footer a:hover {
  color: #ffffff !important;
}

/* Brand-blue Material header + accent (replaces the default indigo) */
[data-md-color-primary="custom"] {
  --md-primary-fg-color:        #5E82C7;   /* header: deeper brand blue, white text reads */
  --md-primary-fg-color--light: #7C9ED9;
  --md-primary-fg-color--dark:  #4F72B5;
  --md-primary-bg-color:        #ffffff;
  --md-primary-bg-color--light: rgba(255,255,255,.7);
}
/* Header background: transparent behind the logo + title, fading into brand
   blue toward the right. */
.md-header {
  background-color: transparent;
  background-image: linear-gradient(
    90deg,
    rgba(94, 130, 199, 0) 0,
    rgba(94, 130, 199, 0) min(460px, 45%),
    var(--md-primary-fg-color) 100%
  );
}
/* The logo + title now sit on the page background, not on blue, so they take
   the page's text color instead of the header's white. */
.md-header__title,
.md-header__button.md-logo {
  color: var(--md-default-fg-color);
}

[data-md-color-accent="custom"] {
  --md-accent-fg-color:              #5E82C7;   /* links / hover */
  --md-accent-fg-color--transparent: rgba(94,130,199,.1);
  --md-accent-bg-color:              #ffffff;
  --md-accent-bg-color--light:       rgba(255,255,255,.7);
}
