#pokemon-modal {
  border: none;
  border-radius: 10px;
  padding: 0;
  width: 80%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  margin: 200px auto;
}

#pokemon-modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

#modal-content {
  width: 100%;
  height: 100%;
}

.close-button {
  top: 10px;
  right: 10px;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.close-button:hover {
  color: red;
}

.header-dialog {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #2e3e4b;
}

.header-dialog h2 {
  margin: 0;
  color: #fff;
}

.header-dialog p {
  margin: 0;
  color: #fff;
}

.img-dialog {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.img-dialog img {
  width: 200px;
  height: auto;
}

.icons-dialog {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 10px;
  background-color: #2e3e4b;
  width: 100%;
  height: 50px;
}
.dialog-icon {
  font-size: 1.7rem;
  color: #2e3e4b;
  padding: 5px 10px;
  border-radius: 5px;
}

.stats-dialog {
  padding: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #355976;
  width: 100%;
  height: 50px;
}

.stats-dialog a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  display: inline-block;
}

.stats-dialog a:hover {
  border-bottom: 3px solid #ff0000;
  border-radius: 2px;
}

.stats-dialog a p {
  margin: 0;
}

.details-dialog {
  padding: 20px;
  background-color: #f0f0f0;
  max-height: 400px;
  overflow-y: auto;
  background-color: #355976;
}

.main-info {
  color: white;
  font-size: 1rem;
  line-height: 1.5;
}

.main-info p {
  margin: 0;
  gap: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-weight: bold;
}

.stat-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  gap: 10px;
  color: white;
}

.stat-name {
  width: 80px;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.progress-bar {
  flex-grow: 1;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  animation: slideIn 0.8s ease-in-out forwards;
  border-radius: 6px;
}

@keyframes slideIn {
  from {
    width: 0%;
  }
  to {
  }
}

.stat-number {
  width: 30px;
  text-align: right;
  font-weight: bold;
}

.evo-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
  padding: 20px;
  flex-wrap: wrap;
}

.evo-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.evo-step img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 10px;
  margin-bottom: 5px;
}

.evo-step p {
  margin: 0;
  color: white;
  font-size: 0.9rem;
  text-transform: capitalize;
}

.evo-arrow {
  font-size: 1.5rem;
  color: #ff0000; /* Passend zu deiner Hover-Farbe */
  font-weight: bold;
  font-weight: bold;
  transform: translateY(-12px);
}

@media (max-width: 768px) {
  #pokemon-modal {
    width: 90%;
    margin-top: 500px;
  }

  .pokemon-dialog {
    width: 100%;
  }

  .img-dialog img {
    width: 150px;
  }

  .evo-step img {
    width: 60px;
    height: 60px;
  }
}
