body {
  font-family: "Roboto", sans-serif;
  background-color: #f4f6f9;
  color: #333;
  margin: 0;
  padding: 20px;
  text-align: center;
}

h1, h2, h3 {
  color: #1f1f1f;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 40px;
}

.brand span {
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
}


button {
  background-color: #3445db;
  color: white;
  border: none;
  padding: 10px 18px;
  margin: 8px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #2937b9;
}

#user-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px 15px;
  background-color: #ecf0f1;
  border-radius: 10px;
}

#user-bar span {
  font-weight: bold;
  margin-right: 10px;
}


#generation-buttons {
  margin-top: 20px;
}

#generation-buttons button {
  margin: 5px;
  font-size: 16px;
}

#pokemon-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.pokemon-card {
  background-color: #f0f0f0;
  border-radius: 12px;
  padding: 10px;
  margin: 10px;
  text-align: center;
  transition: transform 0.2s ease;
}

.pokemon-card:hover {
  transform: scale(1.05);
}

/* CSS selector pokedex */
.pokedex-selector {
  margin: 20px auto;
  padding: 10px 20px;
  background-color: #ecf0f1;
  border-radius: 10px;
  display: inline-block;
  text-align: left;
  font-size: 15px;
}

.pokedex-selector label {
  margin-right: 10px;
  font-weight: bold;
  color: #2c3e50;
}

.pokedex-selector select {
  padding: 6px 12px;
  font-size: 14px;
  border: 1px solid #bdc3c7;
  border-radius: 6px;
  background-color: white;
  color: #333;
}

/* CSS color card */
.tipo-fire       { background-color: #f08030; color: white; }
.tipo-water      { background-color: #6890f0; color: white; }
.tipo-grass      { background-color: #78c850; color: white; }
.tipo-electric   { background-color: #f8d030; color: black; }
.tipo-poison     { background-color: #a040a0; color: white; }
.tipo-normal     { background-color: #a8a878; color: white; }
.tipo-psychic    { background-color: #f85888; color: white; }
.tipo-ice        { background-color: #98d8d8; color: black; }
.tipo-ground     { background-color: #e0c068; color: black; }
.tipo-flying     { background-color: #a890f0; color: white; }
.tipo-bug        { background-color: #a8b820; color: black; }
.tipo-rock       { background-color: #b8a038; color: white; }
.tipo-ghost      { background-color: #705898; color: white; }
.tipo-dragon     { background-color: #7038f8; color: white; }
.tipo-dark       { background-color: #705848; color: white; }
.tipo-steel      { background-color: #b8b8d0; color: black; }
.tipo-fairy      { background-color: #ee99ac; color: black; }

.pokemon-card img {
  width: 80px;
  height: 80px;
}

.nombre-link {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.nombre-link:hover {
  text-decoration: underline;
}

form {
  background: white;
  padding: 20px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 300px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  width: 90%;
  padding: 8px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

/* CSS contraseña */
.password-container {
  position: relative;
  display: block;
  width: 95%;
  margin: 8px auto;
}

.password-container input {
  width: 100%;
  padding-right: 40px;
  box-sizing: border-box;
}

.toggle-password {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.toggle-password img {
  width: 20px;
  height: 20px;
}

/* Footer */
#main-footer {
  margin-top: 40px;
  padding: 15px;
  background-color: #ecf0f1;
  color: #333;
  font-size: 14px;
  border-top: 1px solid #ccc;
  text-align: center;
  border-radius: 0 0 10px 10px;
}
