#clima-popup {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 340px;
  padding: 20px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(180deg, #4799b2, #0a1c31);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: 0.3s;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

#clima-popup.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

span#clima-fechar {
  margin-left: 40%;
}

span#clima-fechar:hover {
  cursor: pointer;
}

p#clima-desc {
  text-transform: capitalize;
  margin-top: -1rem;
}

/* alerta */
#clima-alerta {
  background: #ffb703;
  color: #000;
  padding: 6px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: none;
  font-size: 12px;
}

/* atual alinhado */
.clima-atual {
  display: flex;
  align-items: center;
  gap: 10px;
}

.clima-temp-box {
  display: flex;
  flex-direction: column;
}

/* coluna */
.clima-extra {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  margin-bottom: 20px;
}

.dia-prev {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#clima-botao {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4799b2;
  padding: 10px 16px;
  border-radius: 30px;
  color: #fff;
  cursor: pointer;
  z-index: 9999;
}
