/* GBA-Style-Grün (Standard) */
li {
  font-size: 1.1em;
  height: 64px;
  margin: 6px 0;
  padding: 0 12px;
  background: linear-gradient(
    #5ce05c 0%,
    #5ce05c 40%,
    #4ac44a 40%,
    #4ac44a 50%,
    #3ab43a 50%,
    #3ab43a 60%,
    #2fa02f 60%,
    #2fa02f 100%
  );
  color: #000;
  border: 4px solid #000;
  border-radius: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-shadow: 1px 1px #ffffffaa;
}

/* Neutral → Gelb */
li.neutral {
  background: linear-gradient(
    #fff176 0%,
    #fff176 40%,
    #ffeb3b 40%,
    #ffeb3b 50%,
    #fdd835 50%,
    #fdd835 60%,
    #fbc02d 60%,
    #fbc02d 100%
  );
}

/* Effektiv → Grün */
li.strong {
  background: linear-gradient(
    #5ce05c 0%,
    #5ce05c 40%,
    #4ac44a 40%,
    #4ac44a 50%,
    #3ab43a 50%,
    #3ab43a 60%,
    #2fa02f 60%,
    #2fa02f 100%
  );
}

/* Nicht effektiv → Rot */
li.weak {
  background: linear-gradient(
    #ff6b6b 0%,
    #ff6b6b 40%,
    #ee5a5a 40%,
    #ee5a5a 50%,
    #dd4949 50%,
    #dd4949 60%,
    #cc3838 60%,
    #cc3838 100%
  );
}

/* Leerer Slot → Grau */
li.empty {
  background: linear-gradient(
    #bbbbbb 0%,
    #bbbbbb 40%,
    #aaaaaa 40%,
    #aaaaaa 50%,
    #999999 50%,
    #999999 60%,
    #888888 60%,
    #888888 100%
  );
}

/* Allgemeines Layout */
@font-face {
  font-family: 'PKMN';
  src: url('/static/pkmn.ttf');
}

body {
  background-color: #dceefb;
  font-family: 'PKMN', 'Courier New', monospace;
  color: #333;
  text-align: center;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 640px;
  margin: auto;
  padding: 30px;
  background: #fefefe;
  border: 4px solid #000;
  border-radius: 20px;
  box-shadow: 0 0 8px #333;
}

h1 {
  font-size: 2em;
  margin-bottom: 1em;
  text-shadow: 1px 1px #000;
}

input[type="text"],
button {
  font-family: 'PKMN', 'Courier New', monospace;
}

input[type="text"] {
  padding: 8px;
  font-size: 1em;
  width: 60%;
  border: 2px solid #333;
  border-radius: 5px;
  margin-top: 10px;
  background-color: #fffce0;
}

button {
  padding: 8px 16px;
  font-size: 1em;
  margin-top: 10px;
  background-color: #0094ff;
  color: white;
  border: 2px solid #000;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #0070cc;
}

ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.poke-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.poke-icon {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
}

.poke-name {
  font-weight: bold;
  font-size: 1.1em;
}

.poke-types {
  font-size: 0.95em;
}

/* Button-Gruppe */
li > div:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Edit/Delete Buttons */
.edit-button,
.delete-button {
  width: 40px;
  height: 40px;
  background-color: #0094ff;
  color: white;
  border: 2px solid #000;
  border-radius: 6px;
  font-size: 1.4em;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.edit-button:hover,
.delete-button:hover {
  background-color: #0070cc;
}
