:root {
    --md-primary-fg-color: #00a6d6;
    --md-primary-fg-color--light: #5bdcff;
    --md-primary-fg-color--dark: #007aa3;
    --md-accent-fg-color: #0c2340;
    --md-accent-fg-color--light: #2e4673;
    --md-accent-fg-color--dark: #050f1d;
}

[data-md-color-scheme="default"] {
    --md-primary-fg-color: #00a6d6;
    --md-accent-fg-color: #0c2340;
    --md-default-bg-color: #ffffff;
}

[data-md-color-scheme="slate"] {
    --md-primary-fg-color: #00a6d6;
    --md-accent-fg-color: #ffffff;
    --md-default-bg-color: #0c2340;
}

.hero-logo {
    display: block !important;
    margin: 1rem auto;
    max-width: 240px;
    width: 40%;
}

[data-md-color-scheme="default"] .hero-logo-dark {
    display: none !important;
}

[data-md-color-scheme="slate"] .hero-logo-light {
    display: none !important;
}

[data-md-color-scheme="slate"] .hero-logo-dark {
    display: block !important;
}

.md-header__inner .md-header__button.md-logo {
    margin-left: 1rem !important;
}
.md-header__inner .md-header__title {
    margin-left: 0.2rem !important;
}


/* Limit notebook cell output height and allow scrolling */
div.output_area {
    max-height: 360px;
    overflow: auto;
    /* Optional: adds a border so the scrollable area is visually distinct */
    border: 1px solid #e1e4e8;
    padding: 1em;
    /* Optional: allows the user to resize the output area vertically */
    resize: vertical;
}

/* For wide outputs like pandas DataFrames, ensure they can scroll horizontally */
div.output_area .rendered_html {
    max-width: none;
}
