:root {
  --step-color-active: #144f79ff;
  --step-color-disbled: #e0e0e0;
  --step-color-hover: rgb(39, 114, 168);
}

/* Section affichage output */
.code {
  background-color: #272822;
  color: white;
  padding: 18px;
  font-family: monospace;
  font-size: 16px;
  white-space: pre;
}

/* Bouton d'exécution du code */

.run_button {
  font-size: 16px;
  font-weight: bold;
  width: 100%;
  padding: 10px;
  border: none;
  background-color: var(--step-color-active);
  color: white;
  text-decoration: none;
  cursor: pointer;
  transition-duration: 0.4s;
}

.run_button:hover {
  background-color: var(--step-color-hover);
}

.run_button:not(:disabled) span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.run_button span:after {
  content: "\2BC8";
  position: absolute;
  opacity: 0;
  top: -1px;
  right: -20px;
  transition: 0.5s;
}

.run_button:not(:disabled):hover span {
  padding-right: 20px;
}

.run_button:not(:disabled):hover span:after {
  opacity: 1;
  right: 0;
}

.run_button:disabled,
.run_button[disabled] {
  background-color: #cccccc;
  color: #666666;
  cursor: wait;
}
