/* Chrome around Swagger UI. Brand colours follow the app: blue #2563eb, yellow #fdd428. */
:root {
  --fp-blue: #2563eb;
  --fp-ink: #111827;
  --fp-muted: #6b7280;
  --fp-border: #e5e7eb;
}

body {
  margin: 0;
  background: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
}

.portal-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px max(16px, calc((100vw - 1460px) / 2 + 20px));
  border-bottom: 1px solid var(--fp-border);
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fp-ink);
  text-decoration: none;
  font-size: 18px;
}

.portal-brand strong {
  color: var(--fp-blue);
}

.portal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.portal-nav a {
  color: var(--fp-muted);
  text-decoration: none;
  font-size: 14px;
}

.portal-nav a:hover {
  color: var(--fp-blue);
}

/* The spec's own title block repeats the header; keep its description, drop the chrome. */
.swagger-ui .topbar {
  display: none;
}

.swagger-ui .info .title {
  color: var(--fp-ink);
}

.swagger-ui .btn.authorize {
  border-color: var(--fp-blue);
  color: var(--fp-blue);
}

.swagger-ui .btn.authorize svg {
  fill: var(--fp-blue);
}
