/* Cache l'image/logo Swagger (img ou svg) et l'élément spécifique rapporté */
.topbar-wrapper img,
.topbar-wrapper svg,
#logo_small_svg__SW_In-Product {
  display: none !important;
}

/* Cache le texte à côté du logo */
.topbar-wrapper .link span,
.topbar-wrapper .link .swagger-ui-logo__title {
  display: none !important;
}

/* Met ton logo à la place */
.topbar-wrapper .link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.topbar-wrapper .link::before {
  content: "";
  display: inline-block;
  width: 170px;
  height: 40px;
  background: url("./assets/logo-ngsign.svg") no-repeat left center;
  background-size: contain;
}
.swagger-ui .topbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e8e8e8; /* Ligne de séparation */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); /* Ombre légère */
  z-index: 10;
}

/* Identité visuelle pour la barre de recherche et le bouton */
.swagger-ui .download-url-wrapper .download-url-input {
  border: 1px solid #5C5C5C !important; /* Gris NGSign */
  color: #5C5C5C !important;
  font-weight: 500;
}


.swagger-ui .download-url-wrapper .download-url-button {
  background-color: #FFCE00 !important; /* Jaune NGSign */
  border-color: #FFCE00 !important;
  color: #5C5C5C !important;
  font-weight: bold !important;
}

/* Markdown Blockquotes / Alerts Style */
.swagger-ui .markdown blockquote {
  margin: 1em 0;
  padding: 10px 20px;
  background-color: #f9f9f9;
  border-left: 4px solid #5C5C5C; /* Gris NGSign pour rester dans la charte */
  color: #333;
  font-style: italic; /* Distinction visuelle */
  border-radius: 0 4px 4px 0;
}

.swagger-ui .markdown blockquote p {
  margin: 0;
}
