html,
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: #111;
  color: #fff;
  overscroll-behavior: none;
}

/* shared */
.titolo-pagina {
  width: fit-content;
  margin: 20px auto;
}

button {
  border: none;
  background: #0ba01c;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

button:disabled {
  background: #999;
  cursor: not-allowed;
}

.nextButton {
  display: block;
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 30px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
}

/* setup + game role list */
.rolesList {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.roleCard {
  border: 1px solid #111;
  padding: 1rem;
  border-radius: 8px;
  width: 90%;
  max-width: 300px;
  background: #222;
}

.suggested {
  display: block;
  font-size: 0.8rem;
  color: green;
}

.counter {
  width: 30%;
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.counter button {
  padding: 0.2rem 0.5rem;
}

/* mapping */
.mapping {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mappingRow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.select {
  padding: 0.3rem;
  margin-left: 5px;
}

.nextButton {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
}

/* game */
.dead {
  opacity: 0.4;
}

.roleHeader {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.nameInput {
  width: 100%;
  margin-top: 4px;
  padding: 4px;
  font-size: 14px;
}

.deathCheckbox {
  cursor: pointer;
}

.counts {
  width: 50%;
  margin: 0 auto 1rem;
  display: flex;
  justify-content: space-between;
}

.logSection {
  width: 90%;
  margin: 0 auto;
}

.logSection textarea {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
