/* Custom color scheme - #00a0d0 */

/* Hide the site name title in the sidebar nav */
.md-nav--primary .md-nav__title {
  display: none !important;
}

/* Header bar */
.md-header {
  background-color: #00a0d0 !important;
}

/* Primary color for links and accents */
.md-typeset a {
  color: #00a0d0;
}

/* Active navigation item */
.md-nav__link--active {
  color: #00a0d0 !important;
}

/* Sidebar active item background */
.md-nav__item .md-nav__link--active {
  color: #00a0d0 !important;
}

/* Button primary color */
.md-button--primary {
  background-color: #00a0d0 !important;
  border-color: #00a0d0 !important;
}

.md-button--primary:hover {
  background-color: #008fb8 !important;
}

/* Table of contents active link */
.md-nav__link--passed {
  color: #00a0d0 !important;
}

/* Search highlighting */
.md-search-result__link:hover {
  background-color: rgba(0, 160, 208, 0.1);
}

/* Tabs (if enabled) */
.md-tabs {
  background-color: #00a0d0 !important;
}

/* Scrollbar thumb */
::-webkit-scrollbar-thumb {
  background-color: #00a0d0;
}

/* Selection color */
::selection {
  background-color: rgba(0, 160, 208, 0.3);
}

/* Dark mode adjustments */
[data-md-color-scheme="slate"] .md-header {
  background-color: #00a0d0 !important;
}

/* Hide the info URL link in Swagger UI */
.swagger-ui .info .link,
.swagger-ui .info a[href],
.swagger-ui .info hgroup.main a,
.swagger-ui .info .main a,
.swagger-ui .info a {
  display: none !important;
  pointer-events: none !important;
}

/* Hide any link that shows the spec file path */
.swagger-ui a[href*=".yml"],
.swagger-ui a[href*=".yaml"] {
  display: none !important;
}

/* Hide the page title that MkDocs adds automatically */
.md-content h1:first-of-type {
  display: none !important;
}

/* Hide the API title header/banner in Swagger UI - comprehensive selectors */
.swagger-ui .info .title,
.swagger-ui .info hgroup.main .title,
.swagger-ui .info hgroup.main h1,
.swagger-ui .info h1,
.swagger-ui .info-title,
.swagger-ui .info .main .title,
.swagger-ui .information-container .info .title,
.swagger-ui .information-container h1,
.swagger-ui .info-wrapper .title,
.swagger-ui .info-wrapper h1 {
  display: none !important;
}

/* Hide the API version information and badges */
.swagger-ui .info .version,
.swagger-ui .info hgroup.main .version,
.swagger-ui .info .main .version,
.swagger-ui .info .version-stamp,
.swagger-ui .info .info__version,
.swagger-ui .version-pragma,
.swagger-ui .info .version-wrap {
  display: none !important;
}

/* Hide the entire info header section */
.swagger-ui .info,
.swagger-ui .information-container .info,
.swagger-ui .info-wrapper {
  display: none !important;
}

/* Alternative approach - hide the entire information container */
.swagger-ui .information-container {
  display: none !important;
}

/* Most aggressive approach - hide all header content by targeting the wrapper */
.swagger-ui .wrapper .information-container,
.swagger-ui .swagger-wrapper .information-container,
.swagger-ui > div:first-child,
.swagger-ui .info-container {
  display: none !important;
}

/* Hide specific text content that might be showing */
.swagger-ui *:contains("DSR Support Tool API"),
.swagger-ui *:contains("10.0.1.0"),
.swagger-ui *:contains("OAS 3.0") {
  display: none !important;
}
