/* 1. Global Color Override */
:body,
[data-md-color-primary="indigo"] {
    --md-primary-fg-color: #c9cfd6;
    --md-primary-bg-color: #2c3e50;
    /* Navy text */
}

/* images */
.md-content img {
    max-width: 100%;
    height: auto;
    border-width: 1px;
    border-style: solid;
    border-color: #2c3e50;
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 5px;
}

/* 2. Desktop Header */
header.md-header {
    background-color: #c9cfd6 !important;
    background-image: none !important;
    color: #2c3e50 !important;
}

/* 3. Mobile Drawer Header (The "Blue" banner) */
/* Targeted specifically at the documentation title in the sidebar */
.md-nav__title,
.md-nav--primary .md-nav__title {
    background-color: #c9cfd6 !important;
    background-image: none !important;
    color: #2c3e50 !important;
}

/* Ensure Logo/Title text inside receives the correct color */
.md-nav__title .md-header__button,
.md-nav__title .md-nav__button,
.md-nav__title .md-logo {
    color: #2c3e50 !important;
    fill: #2c3e50 !important;
    /* For SVG icon */
}

/* Header Text/Icons needs to be dark to show up on gray */
.md-header__title,
.md-header__button,
.md-header__topic,
.md-tabs__link {
    color: #2c3e50 !important;
}

/* 4. SIDEBAR: Improve contrast */
/* Active/Current page link */
.md-nav__link--active {
    font-weight: 800 !important;
    color: #2c3e50 !important;
    /* Navy */
}

/* Dictionary/Section headers */
.md-nav__item--section>.md-nav__link {
    color: #2c3e50 !important;
    font-weight: 700;
}

/* 5. FOOTER: Force visibility and Match Header */
footer.md-footer {
    display: block !important;
    background-color: #c9cfd6 !important;
    /* Gray background (Matches Header) */
    color: #2c3e50 !important;
    /* Navy text */
}

/* Ensure the meta container (where copyright lives) is visible */
.md-footer-meta {
    background-color: transparent !important;
    display: block !important;
    color: #2c3e50 !important;
}

.md-copyright {
    display: block !important;
    color: #2c3e50 !important;
    /* Navy text */
    text-align: center;
    width: 100%;
    margin: 0;
    font-size: 0.8rem;
}