@tailwind base;
@tailwind components;
@tailwind utilities;

body {
  @apply bg-neutral-950 text-neutral-50;
}

.sprite {
  image-rendering: pixelated;
}
/* .pokemon-container {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
}

.pokemon-card {
  text-align: center;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.pokemon-card img {
  max-width: 200px;
  height: auto;
}

.vote-button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.vote-button:hover {
  background-color: #45a049;
} */
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

#results-chart {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.pokemon-result {
  margin-bottom: 10px;
}

.pokemon-name {
  display: inline-block;
  width: 150px;
  font-weight: bold;
}

.bar-container {
  display: inline-block;
  width: calc(100% - 160px);
  background-color: #f0f0f0;
  height: 20px;
}

.bar {
  height: 100%;
  background-color: #4caf50;
  color: white;
  text-align: right;
  padding-right: 5px;
  box-sizing: border-box;
  min-width: 20px;
}
