.dolar {
  color: #fdfdfd;

}

#weather-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: white;
  cursor: default;
}

#weather-toggle i {
  font-size: 24px;
}

/* Container principal */
#container {
  background-color: #f0f8ff;
  border-radius: 20px;
  padding: 20px;
  max-width: 400px;
  margin: auto;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
  font-family: "Poppins", sans-serif;

}

#search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #bdbdbd;
  border-radius: 10px;
  padding: 4px 12px;
}

#search input {
  border: none;
  background-color: transparent;
  font-size: 16px;
  width: 100%;
}

#search input:focus-visible {
  outline: none;
}

#search button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: #2563eb;
  font-size: 18px;
}

#weather {
  display: none;
  margin-top: 20px;
}

#weather.show {
  display: block;
}

#title {
  text-align: center;
  margin-bottom: 5px;
  font-weight: 600;
  color: #372f3f;
}

#temp {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;

  color: #fff;
  border-radius: 20px;
  padding: 20px;
}

#temp_icon {
  font-size: 80px;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
}

#temp_value {
  font-weight: bold;
  font-size: 50px;
  line-height: 55px;
}

#temp_description {
  font-weight: 500;
  text-transform: capitalize;
}

#other_infos {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.main {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  gap: 10px;
}

.main h2 {
  font-size: 12px;
  font-weight: 600;
}

.main i {
  text-align: center;
  font-size: 20px;
  width: 20%;
}

#temp_max_icon {
  color: #7f1d1d;
}

#temp_min_icon {
  color: #0284c7;
}

#humidity_icon {
  color: #0ea5e9;
}

#wind_icon {
  color: #7c3aed;
}

#alert {
  margin-top: 20px;
  text-align: center;
  color: #b91c1c;
  font-weight: 600;
}




/* Estilo de popup */
/* Encontre este seletor no seu CSS */
#container.popup {
  position: absolute;
  /* Altere de 'fixed' para 'absolute' */

  right: 20px;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

#container.popup.show {
  opacity: 1;
  pointer-events: auto;
}


/* Botão fechar popup */
#close-popup {
  position: absolute;
  top: 0;
  left: 7px;
  font-size: 20px;
  background: transparent;
  border: none;
  color: #4f1f1f;
  cursor: pointer;


}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}