#simu-nird {
  background: #222;
  color: white;
  padding: 20px;
  margin: 30px auto;
  max-width: 650px;
  border-radius: 12px;
  border: 2px solid #555;
  text-align: center;
}

.choice-btn {
  padding: 12px 18px;
  margin: 10px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  color: white;
  background: #3498db; /* couleur unique */
  transition: transform 0.2s;
  width: 80%;
  max-width: 350px;
}

.choice-btn:active {
  transform: scale(0.95);
}

.rainbow-text1 {
  background-image: linear-gradient(
    to left,
    #287de7,
    #7a3ff2,
    #d042e6,
    #ff7a59,
    #f6c244
  );
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.rainbow-text2 {
  background-image: linear-gradient(
    to right,
    #287de7,
    #7a3ff2,
    #d042e6,
    #ff7a59,
    #f6c244
  );
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

#restartBtn {
  display: none;
  margin-top: 20px;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  background: #e67e22;
  color: white;
  border: none;
}
#restartBtn:hover {
  background: #f39c12;
}

.gauge {
  background: #ddd;
  border-radius: 12px;
  height: 28px;
  margin: 12px auto;
  width: 80%;
  overflow: hidden;
  border: 2px solid #aaa;
}
.fill {
  height: 100%;
  width: 50%;
  transition: width 0.6s ease;
}
#budgetFill {
  background: gold;
}
#ecoFill {
  background: #27ae60;
}
#autoFill {
  background: #2980b9;
}

#message {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
  min-height: 60px;
}
#badge {
  margin-top: 20px;
  font-size: 26px;
  font-weight: bold;
}

code {
  white-space: pre-wrap;
}

span.smallcaps {
  font-variant: small-caps;
}

div.columns {
  display: flex;
  gap: min(4vw, 1.5em);
}

div.column {
  flex: auto;
  overflow-x: auto;
}

div.hanging-indent {
  margin-left: 1.5em;
  text-indent: -1.5em;
}

ul.task-list[class] {
  list-style: none;
}

ul.task-list li input[type="checkbox"] {
  font-size: inherit;
  width: 0.8em;
  margin: 0 0.8em 0.2em -1.6em;
  vertical-align: middle;
}

/* Styles pour le terminal */
.terminal-container {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  font-family: "Courier New", monospace;
}

.terminal-header {
  background: #2d2d2d;
  padding: 10px;
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot.red {
  background: #ff5f56;
}

.terminal-dot.yellow {
  background: #ffbd2e;
}

.terminal-dot.green {
  background: #27c93f;
}

.terminal-body {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 15px;
  border-radius: 0 0 4px 4px;
  min-height: 300px;
  max-height: 500px;
  overflow-y: auto;
}

.terminal-line {
  margin: 5px 0;
  line-height: 1.6;
}

.terminal-prompt {
  color: #4ec9b0;
}

.terminal-input {
  background: transparent;
  border: none;
  color: #d4d4d4;
  font-family: "Courier New", monospace;
  font-size: 14px;
  width: calc(100% - 150px);
  outline: none;
}

.terminal-output {
  color: #d4d4d4;
  white-space: pre-wrap;
}

.terminal-error {
  color: #f48771;
}

.terminal-success {
  color: #4ec9b0;
}

.command-examples {
  background: #112d36;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
}

.command-examples h3 {
  margin-top: 0;
}

.command-item {
  margin: 10px 0;
  padding: 10px;
  background: #16343c;
  border-left: 4px solid #4ec9b0;
  border-radius: 4px;
}

.command-item code {
  background: #1e1e1e;
  color: #4ec9b0;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

.help-section {
  background: #112d36;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.help-section h3 {
  color: #2c5f7d;
  margin-top: 0;
}

.tip-box {
  background: #112d36;
  border-left: 4px solid #ffc107;
  padding: 15px;
  margin: 15px 0;
  border-radius: 4px;
}

.tip-box strong {
  color: #856404;
}

.reset-button {
  background: #4ec9b0;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
}

.reset-button:hover {
  background: #3ba895;
}

#simu-nird {
  background: #222;
  color: white;
  padding: 20px;
  margin: 30px auto;
  max-width: 650px;
  border-radius: 12px;
  border: 2px solid #555;
  text-align: center;
}

.choice-btn {
  padding: 12px 18px;
  margin: 10px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  color: white;
  background: #3498db; /* couleur unique */
  transition: transform 0.2s;
  width: 80%;
  max-width: 350px;
}

.choice-btn:active {
  transform: scale(0.95);
}

.rainbow-text1 {
  background-image: linear-gradient(
    to left,
    #287de7,
    #7a3ff2,
    #d042e6,
    #ff7a59,
    #f6c244
  );
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.rainbow-text2 {
  background-image: linear-gradient(
    to right,
    #287de7,
    #7a3ff2,
    #d042e6,
    #ff7a59,
    #f6c244
  );
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

#restartBtn {
  display: none;
  margin-top: 20px;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  background: #e67e22;
  color: white;
  border: none;
}
#restartBtn:hover {
  background: #f39c12;
}

.gauge {
  background: #ddd;
  border-radius: 12px;
  height: 28px;
  margin: 12px auto;
  width: 80%;
  overflow: hidden;
  border: 2px solid #aaa;
}
.fill {
  height: 100%;
  width: 50%;
  transition: width 0.6s ease;
}
#budgetFill {
  background: gold;
}
#ecoFill {
  background: #27ae60;
}
#autoFill {
  background: #2980b9;
}

#message {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
  min-height: 60px;
}
#badge {
  margin-top: 20px;
  font-size: 26px;
  font-weight: bold;
}

/* Default styles provided by pandoc */
code {
  white-space: pre-wrap;
}

span.smallcaps {
  font-variant: small-caps;
}

div.columns {
  display: flex;
  gap: min(4vw, 1.5em);
}

div.column {
  flex: auto;
  overflow-x: auto;
}

div.hanging-indent {
  margin-left: 1.5em;
  text-indent: -1.5em;
}

ul.task-list[class] {
  list-style: none;
}

ul.task-list li input[type="checkbox"] {
  font-size: inherit;
  width: 0.8em;
  margin: 0 0.8em 0.2em -1.6em;
  vertical-align: middle;
}
