.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* espaço entre os botões */
}

/* Set height of body and the document to 100% to enable "full page tabs" */
body, html {
  height: 100%;
  margin: 0;
  font-family: Arial;
  transition: background-color 0.5s ease;
}

/* Style tab links */
.tablink {
  background-color: #000000;
  color: rgb(255, 255, 255);
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 17px;
  width: 25%;
  font-weight: bold;
}

.tablink:hover {
  background-color: #777;
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
  color: white;
  display: none;
  padding: 100px 20px;
  min-height: 100vh;
  box-sizing: border-box;
}

#Pesquisa {background: linear-gradient(to bottom, red, black);}
#Coleção {background: linear-gradient(to bottom, green, black);}
#ListaDesejos {background: linear-gradient(to bottom, blue, black);}
#Perfil {background: linear-gradient(to bottom, orange, black);}

h3 {
  font-weight: bold;
}

.pokemon-search {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

header {
  padding: 20px;
}

h1 {
  font-size: 50px;
  word-break: break-all;
}

.row {
  margin: 8px -16px;
}

/* Add padding BETWEEN each column (if you want) */
.row,
.row > .column {
  padding: 8px;
}

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 33.33%;
  display: none; /* Hide columns by default */
}

/* Clear floats after rows */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.content {
  background-color: white;
  padding: 10px;
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

/* Style the buttons */
.btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: white;
  cursor: pointer;
}

/* Add a grey background color on mouse-over */
.btn:hover {
  background-color: #ddd;
}

/* Add a dark background color to the active button */
.btn.active {
  background-color: #666;
   color: white;
   display: flex;
   
}

* {box-sizing: border-box}

/* Add padding to containers */
.container {
  padding: 16px;
}

/* Full-width input fields */
input[type=text], input[type=password], input[type=email] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  display: inline-block;
  border: none;
  background: #f1f1f1;
}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus {
  background-color: #ddd;
  outline: none;
}

/* Overwrite default styles of hr */
hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}

/* Set a style for the submit/register button */
.registerbtn {
  background-color: #04AA6D;
  color: white;
  padding: 16px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

.registerbtn:hover {
  opacity:1;
}

.filtro-label {
  font-weight: bold;
  color: white;
}

.dropdown-item1 {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    width: 250px;

    background-color: white;
    z-index: 1000;

    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.expansionFilters {
    max-height: 350px;
    overflow-y: auto;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {background-color: #ddd;}

.show {display: block;}

#myBtnContainer {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.cardContainer {
  width: 100%;
}

.pokemon-group {
  display: none;
  width: 100%;
  clear: both;
  margin: 18px 0 30px;
}

.pokemon-group.show {
  display: block;
}

.pokemon-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 8px 10px;
  padding: 10px 12px;
  background-color: rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.pokemon-sprite {
  width: 48px;
  height: 48px;
  object-fit: contain;
  image-rendering: pixelated;
}

.pokemon-group-title {
  margin: 0;
  color: white;
  font-size: 24px;
  line-height: 1.2;
}

.pokemon-group-cards {
  width: 100%;
}

.pokemon-group-cards:after {
  content: "";
  display: table;
  clear: both;
}

.pokemon-group-cards > .column {
  padding: 8px;
}

.card-content {
  color: #111;
  border-radius: 6px;
  height: 100%;
}

.card-content img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.card-title {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.25;
  color: #111;
  word-break: break-word;
}

.card-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 6px 10px;
  margin: 12px 0 0;
  color: #222;
  font-size: 13px;
}

.card-meta dt,
.card-meta dd {
  margin: 0;
}

.card-meta dt {
  font-weight: bold;
}

.card-meta dd {
  text-align: right;
  overflow-wrap: anywhere;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.card-action-btn {
  flex: 1 1 100px;
  border: none;
  border-radius: 6px;
  padding: 9px 10px;
  background-color: #0d6efd;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

.card-action-btn:hover:not(:disabled) {
  background-color: #0b5ed7;
}

.card-action-btn:disabled {
  background-color: #8a8f98;
  cursor: not-allowed;
}

.card-action-btn.danger {
  background-color: #dc3545;
}

.card-action-btn.danger:hover {
  background-color: #bb2d3b;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.62);
}

.card-modal {
  width: min(440px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 22px;
  border-radius: 8px;
  background-color: white;
  color: #111;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.card-modal h3 {
  margin: 0 0 16px;
  color: #111;
  font-size: 22px;
}

.modal-field {
  display: block;
  margin-bottom: 14px;
  color: #111;
  font-weight: bold;
}

.modal-field span {
  display: block;
  margin-bottom: 6px;
}

.modal-field input,
.modal-field select,
.modal-field textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid #c8c8c8;
  border-radius: 6px;
  background-color: #f8f8f8;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.profile-stats {
  margin-top: 26px;
  color: #111;
}

.profile-stats h4 {
  margin-bottom: 14px;
  color: white;
  font-weight: bold;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.profile-stats-grid div {
  padding: 14px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.9);
}

.profile-stats-grid span,
.profile-stats-grid strong {
  display: block;
}

.profile-stats-grid span {
  color: #555;
  font-size: 13px;
}

.profile-stats-grid strong {
  margin-top: 6px;
  color: #111;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.card-status {
  width: 100%;
  margin: 16px 8px;
  color: white;
  font-weight: bold;
}
