/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f0f4ff, #d6e1ff);
  color: #222;
  min-height: 100vh;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

input[type="text"] {
  padding: 0.7rem 1rem;
  font-size: 1rem;
  border: 2px solid #888;
  border-radius: 8px;
  margin-right: 0.5rem;
  outline: none;
  width: 260px;
}

input[type="text"]:focus {
  border-color: #4361ee;
}

button#btnSubmit {
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
  background-color: #4361ee;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.sugestoes {
  list-style: none;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
  background: white;
  width: 200px;
  padding: 0;
  margin: 0;
  z-index: 10;
}

.sugestoes li {
  padding: 5px;
  cursor: pointer;
}

.sugestoes li:hover {
  background-color: #f0f0f0;
}

button#btnSubmit:hover {
  background-color: #3a4fcc;
}

#divPokemon {
  margin-top: 2rem;
  width: 100%;
  max-width: 800px;
  background-color: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#divPokemon h2 {
  text-align: center;
  font-size: 2rem;
  color: #2c2c2c;
  margin-bottom: 1rem;
}

#divPokemon img {
  display: block;
  margin: 0 auto 1.5rem auto;
  height: 200px;
}

#divPokemon h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #3a3a3a;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.3rem;
}

#divPokemon ul {
  list-style: none;
  margin-bottom: 1rem;
}

#divPokemon li {
  padding: 0.4rem 0;
}

/* Tipos, Status, Habilidades, Cries, Moves */
.tipos,
.status,
.abilities,
.cries,
.moves {
  margin-top: 1.5rem;
}

.cries li {
  display: flex;
  align-items: center;
  gap: 2rem;
}

audio {
  margin-top: 0.5rem;
}

/* Tabelas de Movimentos */
.tabela-moves {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.tabela-moves thead {
  background-color: #edf2ff;
}

.tabela-moves th,
.tabela-moves td {
  padding: 0.6rem;
  border: 1px solid #ccc;
  text-align: center;
}

.tabela-moves tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.tabela-moves tbody tr:hover {
  background-color: #e0eaff;
}

h4 {
  margin-top: 2rem;
  color: #2a2a2a;
  font-weight: bold;
}
