body {
  font-family: Arial, sans-serif;
  /* background: #424f5f; */
  background-image: url("ressources/Hytale.jpg");
  color: #e8eef6;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  height: 100vh;
  justify-content: center;
}
.wrap {
  margin: 24px auto;
  padding: 0 16px;
  width: 53vw;
}
.row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-direction: column;
}
.card {
  background: #171f27;
  border: 1px solid #253241;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.grow {
  flex: 1;
  min-width: 320px;
}
h1,
h2 {
  margin: 0 0 12px 0;
  font-weight: 700;
}
input {
  width: 90%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #2b3a4c;
  background: #0f141a;
  color: #e8eef6;
  outline: none;
  margin-bottom: 1vh;
}

button {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #2b3a4c;
  background: #223043;
  color: #e8eef6;
  cursor: pointer;
}

button:hover {
  background: #2a3a52;
}

.btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.danger {
  border-color: #5a2a2a;
  background: #3a2222;
}

.danger:hover {
  background: #4a2a2a;
}

.line {
  display: flex;
  gap: 10px;
  align-items: center;
}

.line input {
  flex: 1;
}

.logs {
  height: 420px;
  overflow: auto;
  background: #0b0f14;
  border: 1px solid #253241;
  padding: 10px;
  border-radius: 10px;
}

.msg {
  margin-top: 10px;
  color: #ffcc66;
}

.hint {
  margin-top: 8px;
  opacity: 0.8;
  font-size: 12px;
}

form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: auto;
}

.card > h1 {
  text-align: center;
}

.infos {
  display: flex;
  gap: 2vw;
}

.consoleCard {
  width: 100%;
}

/* Scroll moderne, sobre, discret */

/* Firefox */
* {
  scrollbar-width: auto;
  scrollbar-color: #ffffff #1e1e1e;
}

/* Chrome / Edge / Safari */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: #1e1e1e;
}

*::-webkit-scrollbar-thumb {
  background-color: #6b6b6b;
  border-radius: 8px;
  border: 2px solid #1e1e1e;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #8a8a8a;
}

/* Optionnel : scroll plus fluide */
html {
  scroll-behavior: smooth;
}

