@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

.swagger-ui * {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
}

.swagger-ui .wrapper {
  max-width: 1600px;
}

.swagger-ui .topbar-wrapper img {
  content: url('https://wfpublicassetsstorage.blob.core.windows.net/third-party-resources/worldfavor_logo_white.svg');
}

.swagger-ui .renderedMarkdown p {
  line-height: 23px;
  margin: 0.5em auto 1em !important;
}

.swagger-ui table thead tr td,
.swagger-ui table thead tr th {
  font-weight: 600;
  opacity: 0.8;
}

/* API description */

.swagger-ui .info {
  max-width: 1000px;
}

.swagger-ui .info code {
  color: #555;
}

.swagger-ui .info h1,
.swagger-ui .info h2.title {
  font-size: 36px !important;
}

.swagger-ui .info h2 {
  font-size: 22px !important;
  margin: 30px auto 0;
}

.swagger-ui .info h3 {
  font-size: 18px !important;
  font-weight: 600;
  margin: 30px auto 0;
}

.swagger-ui .info h4 {
  font-size: 16px !important;
}

.swagger-ui .info h5 {
  font-size: 14px !important;
}

.swagger-ui .info .title small {
  top: -12px;
}

.swagger-ui .info .title small pre {
  font-size: 13px !important;
}

.swagger-ui .info hgroup a:focus {
  outline: none;
}

.swagger-ui .info hgroup a {
  position: relative;
  top: -6px;
}

.swagger-ui .info hgroup a:hover {
  text-decoration: underline;
}

.swagger-ui .info hgroup a .url {
  font-size: 13px !important;
}

/* Code elements with monospace font */

.swagger-ui .highlight-code *,
.swagger-ui code,
.swagger-ui code *,
.swagger-ui .opblock-summary-path *,
.swagger-ui .model-container .inner-object *:not(.model-title__text),
.swagger-ui .body-param *,
.swagger-ui .parameter__type,
.swagger-ui .parameter__in,
.swagger-ui .prop-format,
.swagger-ui .microlight,
.swagger-ui .microlight *,
.swagger-ui .property-row .model-title__text,
.swagger-ui .model-box .inner-object * {
  font-family: Monaco, Consolas, 'Courier New', monospace !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  line-height: normal;
}

.swagger-ui .markdown code,
.swagger-ui .renderedMarkdown code {
  padding: 2px 5px;
}

.swagger-ui .highlight-code > .microlight {
  max-height: 700px;
  padding: 8px 10px !important;
}

/* Buttons */

.swagger-ui .btn {
  border-radius: 30px !important;
  border-width: 1px;
  font-weight: 600;
  box-shadow: none;
  padding: 10px 23px !important;
  transition: box-shadow ease 0.1s;
}

.swagger-ui .btn.authorize {
  padding: 7px 23px !important;
}

.swagger-ui .btn:hover {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06) !important;
}

.swagger-ui .btn,
.swagger-ui .btn span {
  font-size: 14px !important;
}

.swagger-ui .btn-group {
  gap: 10px;
}

.swagger-ui .copy-to-clipboard:not(.view-line-link) {
  border-radius: 30px;
}

.swagger-ui .curl-command .copy-to-clipboard {
  bottom: 8px;
  height: 30px;
  right: 10px;
  width: 30px;
}

.swagger-ui .download-contents {
  border-radius: 30px;
  padding: 7px 10px;
}

/* Input fields, dropdowns and their labels */

.swagger-ui select,
.swagger-ui input[type='email'],
.swagger-ui input[type='file'],
.swagger-ui input[type='password'],
.swagger-ui input[type='search'],
.swagger-ui input[type='text'],
.swagger-ui textarea {
  font-size: 14px !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
  border-width: 1px !important;
  border-style: solid;
  font-weight: 400 !important;
  line-height: 1.5em;
  background-color: #fff;
  box-shadow: none;
  padding: 8px 10px;
}

.swagger-ui select:focus-visible,
.swagger-ui input[type='email']:focus-visible,
.swagger-ui input[type='file']:focus-visible,
.swagger-ui input[type='password']:focus-visible,
.swagger-ui input[type='search']:focus-visible,
.swagger-ui input[type='text']:focus-visible,
.swagger-ui textarea:focus-visible {
  outline: black auto 1px;
}

.swagger-ui select {
  padding-right: 26px;
  font-weight: 600 !important;
}

.swagger-ui .servers-title,
.swagger-ui .auth-container label {
  font-weight: 400 !important;
  font-size: 13px !important;
}

/* Authorization dialog */

.swagger-ui .auth-container .flow {
  margin: 6px 0 16px !important;
}

.swagger-ui .auth-container section input {
  margin: 0 0 12px;
  min-width: 330px !important;
}

.swagger-ui .auth-container code {
  color: #555;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  padding: 5px 7px;
  margin-left: 3px;
}

.swagger-ui .auth-container p:not(.flow) code {
  padding-left: 0;
  margin-left: 8px;
}

.swagger-ui .auth-container .wrapper code {
  background: none;
}

.swagger-ui .auth-btn-wrapper {
  justify-content: right;
  padding: 20px 0 0;
}

.swagger-ui .auth-btn-wrapper .btn-done {
  margin-right: 0;
}

.swagger-ui .dialog-ux .modal-ux-header h3 {
  font-size: 20px !important;
  font-weight: 700;
}

.swagger-ui .dialog-ux .modal-ux-content h4 {
  font-size: 16px !important;
}

.swagger-ui table thead tr th strong {
  font-weight: 600;
  font-size: 14px;
}

/*  Operations */

.swagger-ui .scope-def {
  display: none;
}

.swagger-ui .parameters-col_name {
  padding-right: 20px !important;
}

.swagger-ui .parameter__name {
  font-weight: 700;
}

.swagger-ui tbody .parameters-col_description,
.swagger-ui tbody .response-col_description {
  padding: 2px 0 10px;
}

.swagger-ui tbody .response-col_description > div:first-child > h5:first-child {
  margin-top: 8px;
}

.swagger-ui .response-col_links,
.swagger-ui .response-control-media-type,
.swagger-ui .response-controls,
.swagger-ui .body-param-content-type {
  display: none;
}

.swagger-ui .response-undocumented i {
  font-size: 10px !important;
}

.swagger-ui .responses-inner h4,
.swagger-ui .responses-inner h5 {
  margin: 20px 0 5px;
}

.swagger-ui .responses-inner h5 {
  font-weight: 600;
}

.swagger-ui table.parameters tbody tr:not(:first-child) {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.swagger-ui .model .property.primitive {
  padding-left: 1.5em;
  color: #999;
}

.swagger-ui .model .property.primitive br {
  display: none;
}

.swagger-ui .opblock-tag * {
  font-size: 24px !important;
}

.swagger-ui .opblock-summary-path * {
  font-size: 17px !important;
  font-weight: bold !important;
}

.swagger-ui .opblock-summary-description {
  padding-left: 10px;
}

.swagger-ui .opblock .opblock-summary .view-line-link.copy-to-clipboard {
  transition: all 0.2s;
}

.swagger-ui .opblock .parameters input[disabled],
.swagger-ui .opblock .parameters select[disabled],
.swagger-ui .opblock .parameters textarea[disabled] {
  display: none;
}

.swagger-ui .opblock-body {
  overflow: hidden;
  position: relative;
}

.swagger-ui .opblock-body > .opblock-description-wrapper {
  padding-right: 430px;
  min-height: 92px;
}

.swagger-ui .opblock-body > .opblock-section .opblock-section-request-body .opblock-description-wrapper > div {
  display: flex;
  flex-direction: column-reverse;
}

.swagger-ui .opblock-body > .opblock-section .opblock-section-request-body .opblock-description-wrapper .body-param {
  margin-top: 2px;
}

.swagger-ui
  .opblock-body
  > .opblock-section
  .opblock-section-request-body
  .opblock-description-wrapper
  .body-param::before {
  content: 'JSON Value';
  font-weight: bold;
}

.swagger-ui
  .opblock-body
  > .opblock-section
  .opblock-section-request-body
  .opblock-description-wrapper
  textarea.body-param__text {
  margin-top: 5px;
  margin-bottom: 15px;
  min-width: 100%;
  max-width: 100%;
  min-height: 280px;
  max-height: 500px;
  resize: none;
  field-sizing: content;
}

.swagger-ui
  .opblock-body
  > .opblock-section
  .opblock-section-request-body
  .opblock-description-wrapper
  .renderedMarkdown
  table
  tr:not(:first-child) {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.swagger-ui
  .opblock-body
  > .opblock-section
  .opblock-section-request-body
  .opblock-description-wrapper
  .renderedMarkdown
  table
  tr
  td {
  padding: 10px 0;
}

.swagger-ui
  .opblock-body
  > .opblock-section
  .opblock-section-request-body
  .opblock-description-wrapper
  .renderedMarkdown
  table
  tr
  td:first-child {
  padding-right: 20px;
}

.swagger-ui
  .opblock-body
  > .opblock-section
  .opblock-section-request-body
  .opblock-description-wrapper
  .renderedMarkdown
  table
  tr
  td:first-child
  sup {
  color: rgba(255, 0, 0, 0.6);
  font-size: 10px !important;
  padding: 5px;
  position: relative;
  top: -6px;
  font-weight: bold;
}

.swagger-ui
  .opblock-body
  > .opblock-section
  .opblock-section-request-body
  .opblock-description-wrapper
  .renderedMarkdown
  table
  tr
  td:first-child
  code {
  padding: 5px 0;
  font-weight: 400 !important;
  color: #3b4151;
  display: block;
  background: none;
}

.swagger-ui
  .opblock-body
  > .opblock-section
  .opblock-section-request-body
  .opblock-description-wrapper
  .renderedMarkdown
  table
  tr
  td:last-child
  code {
  white-space: nowrap;
}

.swagger-ui .opblock-body > .opblock-section .opblock-section-request-body .opblock-description-wrapper .model-example {
  margin-bottom: 20px;
  margin-top: 2px;
}

.swagger-ui
  .opblock-body
  > .opblock-section
  .opblock-section-request-body
  .opblock-description-wrapper
  .model-example
  > ul {
  margin-top: 0;
}

.swagger-ui .opblock-body .try-out {
  position: absolute;
  right: 20px;
  top: 20px;
  margin: 0;
  padding: 0;
}

.swagger-ui .errors-wrapper {
  display: flex;
  flex-direction: column;
  padding: 13px 23px;
  margin: 0;
  background-color: #f9ecec;
  border: solid #eedcdc;
  border-width: 1px 0 2px 0;
  border-radius: 0;
  -webkit-animation: none;
  animation: none;
}

.swagger-ui .errors-wrapper ul {
  padding-left: 23px;
  margin: 8px 0 3px;
}

.swagger-ui .errors-wrapper ul li {
  padding: 3px 0;
}

.swagger-ui .opblock-body > .opblock-section {
  width: 40%;
  float: left;
  box-shadow: 4px 0 #d4dae1;
}

.swagger-ui .opblock-body > .opblock-section .tab-header .opblock-title span::after {
  display: none;
}

.swagger-ui .opblock-body .responses-wrapper {
  width: 60%;
  float: right;
  border-left: 4px solid #d4dae1;
  margin: 0;
}

.swagger-ui .opblock-body .execute-wrapper,
.swagger-ui .opblock-body .btn-group:not(.try-out) {
  position: absolute;
  top: 20px;
  right: 150px;
  margin: 0;
  padding: 0;
}

.swagger-ui .opblock-body .try-out button,
.swagger-ui .opblock-body .execute-wrapper button,
.swagger-ui .opblock-body .btn-group button {
  width: 120px;
}

.swagger-ui .opblock-body .try-out button.reset {
  position: absolute;
  top: 45px;
  background: none;
  border: none;
  color: transparent;
  padding: 3px 0 !important;
  font-size: 12px !important;
}

.swagger-ui .opblock-body .try-out button.reset::after {
  content: 'Reset JSON';
  color: #3b4151;
  position: absolute;
  left: 0;
  right: 0;
}

.swagger-ui .opblock-body .try-out button.reset:hover {
  box-shadow: none !important;
  background: rgba(0, 0, 0, 0.06);
}

.swagger-ui .opblock-body .try-out button,
.swagger-ui .opblock-body .btn-group button.btn-clear {
  background: #fbfdfe;
}

.swagger-ui .opblock-body .loading-container {
  position: absolute;
  top: 20px;
  right: 420px;
  width: 20px;
  margin: 29px 0 0;
  padding: 0;
}

.swagger-ui .opblock-body .execute-wrapper + .loading-container {
  right: 290px;
}

.swagger-ui .opblock-body .loading-container .loading::before {
  width: 37px;
  height: 37px;
}

.swagger-ui .opblock-body .loading-container .loading::after {
  display: none;
}

/* Tabs for response example and response schema */

.swagger-ui ul.tab {
  margin-bottom: 6px;
}

.swagger-ui ul.tab li.tabitem::after {
  display: none;
}

.swagger-ui ul.tab li.tabitem {
  padding: 0;
}

.swagger-ui ul.tab li.tabitem button {
  padding: 0 10px;
  font-weight: 600;
  opacity: 0.6;
}

.swagger-ui ul.tab li.tabitem:first-child button {
  padding-left: 0;
}

.swagger-ui ul.tab li.tabitem.active button {
  opacity: 1;
}

.swagger-ui ul.tab li.tabitem:not(.active):hover button {
  opacity: 0.8;
}

/* Schemas and model examples */

.swagger-ui table.model {
  margin-top: 3px;
}

.swagger-ui .model-box-control {
  margin-top: -2px !important;
}

.swagger-ui .inner-object {
  display: block;
  border-left: 3px solid rgba(0, 0, 0, 0.1);
}

.swagger-ui .model-example .model-box {
  background: rgba(0, 0, 0, 0.05) !important;
  width: 100%;
}

.swagger-ui .models .model-container > .model-box {
  padding: 0 !important;
}

.swagger-ui .models .model-container,
.swagger-ui .models .model-container:first-child {
  margin-bottom: 10px !important;
}

.swagger-ui .brace-close {
  padding: 0 !important;
}

.swagger-ui .property-row .model-toggle {
  margin-top: -5px;
}

.swagger-ui .property-row span.model {
  display: block;
}

.swagger-ui .property-row span.inner-object {
  margin-bottom: 2px;
}

.swagger-ui .property-row:not(:first-child) {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.swagger-ui .property-row td {
  padding: 5px 7px !important;
}

.swagger-ui .property-row .model-title__text {
  font-weight: 700 !important;
  font-size: 15px !important;
}

.swagger-ui .model-title {
  font-size: 16px !important;
  color: #3b4151 !important;
  padding-left: 3px;
}

.swagger-ui .model-title .model-hint {
  top: -2.3em;
  padding: 5px 10px;
  font-weight: 400;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  background: rgba(0, 0, 0, 0.65);
}

.swagger-ui section.models.is-open h4 {
  margin: 0;
}

.swagger-ui section.models h4 span {
  color: #3b4151;
  font-size: 18px !important;
}
