#root {
  line-height: 1.5;
  color: #10201f;
}

#root a {
  font-weight: 400;
  text-decoration: inherit;
}

#root button {
  border-radius: 5px;
  border: 1px solid #0a7879;
  padding: 14px 30px;
  min-height: 45px;
  font-size: 16px;
  font-weight: 400;
  font-family: inherit;
  line-height: 1;
  letter-spacing: 0.16px;
  background-color: #0a7879;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(10, 120, 121, 0.15);
  transition: 0.2s;
  margin: 5px; /* Abstand zwischen den Buttons */
}
#root button:hover {
  background-color: #086263;
  border-color: #086263;
}
#root button:focus,
#root button:focus-visible {
  outline: 2px solid #0a7879;
  outline-offset: 2px;
}

.card {
  cursor: pointer;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), translate 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  width: 118px;
  height: 182px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 22px 22px 20px;
  font-size: 42px;
  font-weight: 800;
  border-radius: 12px;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(16, 32, 31, 0.28), 0 2px 6px rgba(16, 32, 31, 0.18);
  position: absolute;
  transform-origin: bottom center;
  background-image: linear-gradient(to top, rgba(7, 93, 94, 0.92), rgba(7, 93, 94, 0.05) 55%), url('/planningpoker/assets/Speedy.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  line-height: 0.8;
  user-select: none;
}

.card:hover {
  translate: 0 -18px;
  box-shadow: 0 22px 40px rgba(16, 32, 31, 0.38), 0 4px 10px rgba(16, 32, 31, 0.2);
  filter: brightness(1.08);
  z-index: 20;
}

.card.selected {
  box-shadow: 0 0 0 2px #1c8185, 0 24px 44px rgba(16, 32, 31, 0.4);
  filter: brightness(1.08);
  z-index: 10;
}

.cards-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  width: 100%;
  border-radius: 10px;
  margin-top: 40px;
  position: relative;
  height: 310px;
}

.cards {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  width: 100%;
  height: 160px;
  overflow: visible;
}

.selected-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.selected-card-box {
  width: 180px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

/* Aufgedeckte Karte groesser als die Faecher-Karten */
#root .selected-card-box .card {
  width: 150px;
  height: 232px;
  font-size: 52px;
  cursor: default;
}
#root .selected-card-box .card:hover {
  translate: none;
  filter: none;
}

.selected-card-label {
  position: absolute;
  bottom: -30px;
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: #000;
}

.card-user-name {
  margin: 0 0 0;
  padding-top: 285px;
  font-weight: normal;
  z-index: 10;
}

.app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.login {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
}

.login input {
  padding: 10px;
  margin-bottom: 10px;
  font-size: 16px;
}

.login button {
  padding: 10px 20px;
  font-size: 16px;
}

.user-list-container {
  margin-top: 50px;
  text-align: left;
}

.user-list {
  display: flex;
  flex-direction: column;
  width: 400px;
}

.user-list ul {
  list-style: none;
  padding: 0;
  margin: 0; 
  width: 60%; 
}

.user-list li {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  justify-content: space-between;
  height: 45px;
  align-items: center;
}

.user-list-button {
  justify-content: flex-end;
}

.selected-cards {
  margin: 20px 0;
}

.selected-cards-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  height: 290px;
}

.selected-card-box {
  margin: 10px;
  text-align: center;
}

.main-title {
  font-size: 2em;
}

.round-title {
  font-size: 1.5em;
}

.button-group {
  display: flex;
  justify-content: left;
  margin-bottom: 20px;
  width: 100%;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 200px;
  margin: 0 auto;
}

.login-form div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.instructions {
  margin-top: 20px;
  text-align: left;
}

.instructions h3 {
  font-size: 1.5em;
}

.instructions p, .instructions ul {
  font-size: 1em;
  line-height: 1.5;
}

.instructions ul {
  list-style-type: disc;
  margin-left: 20px;
}

/* Sprachwahl rechts in der Button-Zeile */
#root .button-group .lang-select {
  margin: 5px 5px 5px auto;
  padding: 0 14px;
  min-height: 45px;
  font-size: 16px;
  font-family: inherit;
  color: #10201f;
  background-color: #fff;
  border: 1px solid #d5e0df;
  border-radius: 5px;
  cursor: pointer;
}