/* Booking.com Taxi API - Brand Colors */

:root,
[data-md-color-scheme="default"] {
  --md-primary-fg-color: #003580;
  --md-primary-fg-color--light: #1a4f9e;
  --md-primary-fg-color--dark: #00224f;
  --md-accent-fg-color: #0071c2;
  --md-typeset-a-color: #0071c2;
}

/* Header styling */
.md-header {
  background-color: #003580;
}

/* Tabs styling */
.md-tabs {
  background-color: #00224f;
}

/* Navigation link hover */
.md-nav__link:hover {
  color: #0071c2;
}

/* Admonition styling - rounder corners like Zendesk */
.md-typeset .admonition,
.md-typeset details {
  border-radius: 8px;
  border-left-width: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Table styling */
.md-typeset table:not([class]) {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.md-typeset table:not([class]) thead {
  background-color: #003580;
  color: white;
}

.md-typeset table:not([class]) thead th {
  color: white;
  font-weight: 600;
}

.md-typeset table:not([class]) tbody tr:nth-child(even) {
  background-color: #f5f8fc;
}

.md-typeset table:not([class]) tbody tr:hover {
  background-color: #e8f0fe;
}

/* Code block styling */
.md-typeset pre > code {
  border-radius: 8px;
}

.md-typeset code {
  border-radius: 4px;
}

/* Content area - generous spacing like Zendesk */
.md-typeset h1 {
  font-weight: 700;
  margin-bottom: 0.8em;
}

.md-typeset h2 {
  font-weight: 600;
  margin-top: 2em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid #e0e0e0;
}

.md-typeset h3 {
  font-weight: 600;
  margin-top: 1.5em;
}

/* Button styling matching Booking.com */
.md-typeset .md-button {
  background-color: #0071c2;
  border-color: #0071c2;
  border-radius: 4px;
  font-weight: 500;
}

.md-typeset .md-button:hover {
  background-color: #003580;
  border-color: #003580;
}

/* Search bar */
.md-search__input {
  border-radius: 8px;
}

/* Footer */
.md-footer {
  background-color: #00224f;
}

/* Logo sizing */
.md-header__button.md-logo img {
  height: 24px;
  width: auto;
}

/* Help Centre header link */
.md-header__help-centre {
  color: white;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.4em 0.8em;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 0.5em;
}

.md-header__help-centre:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  text-decoration: none;
}
