/*
 * ArdorFishing theme for Swagger UI 5.35.1: Nuxt UI tokens of the admin / seller panels.
 * Loaded after swagger-ui.css, so equal-specificity rules here win.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/swagger/assets/Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/swagger/assets/Inter-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/swagger/assets/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/swagger/assets/Inter-Bold.woff2') format('woff2');
}

:root {
  --ui-primary: #d92147;
  --ui-primary-muted: #f7d3da;
  --ui-primary-soft: #fcedf0;
  --ui-text: #2c2c2c;
  --ui-text-muted: #737373;
  --ui-border: #e5e5e5;
  --ui-bg: #ffffff;
  --font-sans: 'Inter', system-ui, sans-serif;
  --tracking-tight: -0.025em;
}

/* Every selector of swagger-ui.css that sets font-family: sans-serif */
.swagger-ui,
.swagger-ui button,
.swagger-ui input,
.swagger-ui optgroup,
.swagger-ui select,
.swagger-ui textarea,
.swagger-ui .system-sans-serif,
.swagger-ui .opblock-tag,
.swagger-ui .opblock-tag small,
.swagger-ui .opblock .opblock-section-header>label,
.swagger-ui .opblock .opblock-section-header h4,
.swagger-ui .opblock .opblock-summary-method,
.swagger-ui .opblock .opblock-summary-description,
.swagger-ui .tab li,
.swagger-ui .opblock-description-wrapper,
.swagger-ui .opblock-external-docs-wrapper,
.swagger-ui .opblock-title_normal,
.swagger-ui .opblock-description-wrapper h4,
.swagger-ui .opblock-external-docs-wrapper h4,
.swagger-ui .opblock-title_normal h4,
.swagger-ui .opblock-description-wrapper p,
.swagger-ui .opblock-external-docs-wrapper p,
.swagger-ui .opblock-title_normal p,
.swagger-ui .responses-inner h4,
.swagger-ui .responses-inner h5,
.swagger-ui .response-col_status,
.swagger-ui .response-col_links,
.swagger-ui .download-contents,
.swagger-ui .scheme-container .schemes>.schemes-server-container>label,
.swagger-ui .loading-container .loading:after,
.swagger-ui section h3,
.swagger-ui .btn,
.swagger-ui .btn.cancel,
.swagger-ui label,
.swagger-ui .dialog-ux .modal-ux-content p,
.swagger-ui .dialog-ux .modal-ux-content h4,
.swagger-ui .dialog-ux .modal-ux-header h3,
.swagger-ui section.models h4,
.swagger-ui section.models h5,
.swagger-ui .model-title,
.swagger-ui .model-deprecated-warning,
.swagger-ui .servers>label,
.swagger-ui table thead tr td,
.swagger-ui table thead tr th,
.swagger-ui .parameter__name,
.swagger-ui .topbar a,
.swagger-ui .topbar .download-url-wrapper .download-url-button,
.swagger-ui .info h1,
.swagger-ui .info h2,
.swagger-ui .info h3,
.swagger-ui .info h4,
.swagger-ui .info h5,
.swagger-ui .info li,
.swagger-ui .info p,
.swagger-ui .info table,
.swagger-ui .info a,
.swagger-ui .info .title,
.swagger-ui .info .title small pre,
.swagger-ui .scopes h2,
.swagger-ui .errors-wrapper hgroup h4,
.swagger-ui .json-schema-2020-12__title,
.swagger-ui .json-schema-2020-12-expand-deep-button {
  font-family: var(--font-sans);
}

body,
.swagger-ui {
  color: var(--ui-text);
  background: var(--ui-bg);
  letter-spacing: var(--tracking-tight);
}

/* Code keeps its own font and normal tracking */
.swagger-ui pre,
.swagger-ui code,
.swagger-ui kbd,
.swagger-ui samp,
.swagger-ui .code,
.swagger-ui .courier,
.swagger-ui .parameter__type,
.swagger-ui .opblock .opblock-summary-operation-id,
.swagger-ui .opblock .opblock-summary-path,
.swagger-ui .opblock .opblock-summary-path__deprecated,
.swagger-ui .response-col_status .response-undocumented,
.swagger-ui .response-col_links .response-undocumented,
.swagger-ui .opblock-body pre.microlight,
.swagger-ui textarea,
.swagger-ui textarea.curl,
.swagger-ui .checkbox p,
.swagger-ui .model,
.swagger-ui table.headers td,
.swagger-ui .parameter__extension,
.swagger-ui .parameter__in,
.swagger-ui .parameter__deprecated,
.swagger-ui .response__extension,
.swagger-ui .info .base-url,
.swagger-ui .auth-container .errors,
.swagger-ui .errors-wrapper .errors h4,
.swagger-ui .markdown code,
.swagger-ui .renderedMarkdown code,
.swagger-ui .json-schema-2020-12__constraint,
.swagger-ui .json-schema-2020-12-property .json-schema-2020-12__title,
.swagger-ui .json-schema-2020-12-keyword__value--warning,
.swagger-ui .json-schema-2020-12__attribute,
.swagger-ui .json-schema-2020-12-json-viewer__value--warning {
  letter-spacing: normal;
}

.swagger-ui .info .title,
.swagger-ui .info h1,
.swagger-ui .info h2,
.swagger-ui .info h3,
.swagger-ui .info h4,
.swagger-ui .info p,
.swagger-ui .info li,
.swagger-ui .info table,
.swagger-ui .opblock-tag,
.swagger-ui .opblock .opblock-summary-description,
.swagger-ui .opblock-description-wrapper p,
.swagger-ui .response-col_description__inner p,
.swagger-ui .parameter__name,
.swagger-ui table thead tr th,
.swagger-ui .scheme-container .schemes > label,
.swagger-ui .model-title {
  color: var(--ui-text);
}

.swagger-ui .info .title {
  font-weight: 700;
}

/* Inline code in descriptions: primary, as in the DOCX guides */
.swagger-ui .info code,
.swagger-ui .markdown code,
.swagger-ui .renderedMarkdown code {
  color: var(--ui-primary);
  background: var(--ui-primary-soft);
  border-radius: 4px;
  padding: 1px 4px;
}

.swagger-ui a,
.swagger-ui .info a,
.swagger-ui .info .base-url,
.swagger-ui .info__contact a,
.swagger-ui .info__license a {
  color: var(--ui-primary);
}

/* Badges next to the title: version and OAS */
.swagger-ui .info .title small {
  background: var(--ui-text-muted);
}

.swagger-ui .info .title small.version-stamp {
  background: var(--ui-primary);
}

/* Buttons */
.swagger-ui .btn {
  border-radius: 6px;
  border-color: var(--ui-border);
  color: var(--ui-text);
  font-weight: 500;
  box-shadow: none;
  /* swagger-ui.css relies on font metrics of Arial (line-height: 1 on .btn.authorize, padding-top on its span):
     with Inter the label sits too high. One explicit line box centers the label, total height stays 30px */
  line-height: 20px;
  padding-top: 3px;
  padding-bottom: 3px;
}

.swagger-ui .btn.authorize {
  line-height: 20px;
}

.swagger-ui .btn.authorize span {
  padding-top: 0;
}

.swagger-ui .btn:hover {
  box-shadow: none;
  background: #f5f5f5;
}

.swagger-ui .btn.authorize,
.swagger-ui .btn.try-out__btn {
  border-color: var(--ui-primary);
  color: var(--ui-primary);
  background: transparent;
}

.swagger-ui .btn.authorize svg {
  color: var(--ui-primary);
}

.swagger-ui .btn.authorize:hover,
.swagger-ui .btn.try-out__btn:hover {
  background: var(--ui-primary-soft);
}

.swagger-ui .btn.execute,
.swagger-ui .btn.modal-btn.auth.authorize.button {
  border-color: var(--ui-primary);
  background: var(--ui-primary);
  color: #ffffff;
}

.swagger-ui .btn.execute:hover,
.swagger-ui .btn.modal-btn.auth.authorize.button:hover {
  background: #c11d3f;
}

.swagger-ui .btn.cancel {
  border-color: var(--ui-primary);
  color: var(--ui-primary);
}

/* Form controls */
.swagger-ui select,
.swagger-ui input[type=text],
.swagger-ui input[type=password],
.swagger-ui input[type=search],
.swagger-ui input[type=email],
.swagger-ui input[type=file],
.swagger-ui textarea {
  border-color: var(--ui-border);
  border-radius: 6px;
  box-shadow: none;
}

.swagger-ui select:focus,
.swagger-ui input:focus,
.swagger-ui textarea:focus {
  outline: 2px solid var(--ui-primary-muted);
  border-color: var(--ui-primary);
}

/* Layout surfaces */
.swagger-ui .scheme-container {
  background: var(--ui-bg);
  border-top: 1px solid var(--ui-border);
  border-bottom: 1px solid var(--ui-border);
  box-shadow: none;
}

.swagger-ui .opblock-tag {
  border-bottom-color: var(--ui-border);
}

.swagger-ui .opblock {
  border-radius: 8px;
  box-shadow: none;
}

.swagger-ui .opblock .opblock-summary-method {
  border-radius: 4px;
  font-weight: 600;
}

.swagger-ui section.models {
  border-color: var(--ui-border);
  border-radius: 8px;
}

.swagger-ui .dialog-ux .modal-ux {
  border-color: var(--ui-border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.swagger-ui .dialog-ux .modal-ux-header h3 {
  color: var(--ui-text);
}

.swagger-ui .tab li:first-of-type::after {
  background: var(--ui-border);
}

.swagger-ui .tab li.active button.tablinks,
.swagger-ui .tab li button.tablinks {
  color: var(--ui-text);
}

.swagger-ui .loading-container .loading::after {
  color: var(--ui-primary);
}

/* Page header with links to the guides and the spec */
body {
  margin: 0;
  font-family: var(--font-sans);
}

.docs-bar {
  background: var(--ui-primary);
  color: #ffffff;
}

.docs-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  box-sizing: border-box;
  max-width: 1460px;
  margin: 0 auto;
  padding: 14px 20px;
}

.docs-bar__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
}

.docs-bar__title img {
  display: block;
  height: 32px;
}

.docs-bar__title span {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, .4);
}

.docs-bar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.docs-bar__links a {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  text-decoration: none;
  transition: background-color .15s;
}

.docs-bar__links a:hover {
  background: rgba(255, 255, 255, .15);
}

.docs-bar__links a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

#swagger-ui .topbar {
  display: none;
}
