@import url("../../../common/css/navbar.css");
@import url("../../../common/css/footer.css");

  body {
    max-width: 100vw;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.wrapper {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 60px auto 40px auto;  /* haut-auto-bas-auto => centré horizontalement */
    max-width: 1100px;
    background-color: #f9f9f9;
    min-height: 100vh;
    padding: 20px;  /* Ajout de padding intérieur pour respirer */
}

h1, h2 {
    color: #333;
}

pre {
    background: #272822;
    color: #f8f8f2;
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.toc {
    background: #e9ecef;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.toc h2 {
    margin-top: 0;
}

.commande-title {
    color: #1f2b46;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
    display: inline-block;
    margin-top: 50px;
    padding-bottom: 8px;
}

.code-block {
  position: relative;
  margin-bottom: 30px;
}



.btn-copy {
  position: absolute;
  top: 18%;
  right: 2px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
  padding: 6px;
  border-radius: 4px;
}

.btn-copy:hover {
  color: #ffffff;
}



.btn-copy svg {
  display: block;
  stroke: currentColor;
  width: 20px;
  height: 20px;
}

.btn-copy.copied {
  color: #ffffff; /* vert bootstrap */
}
