/* STYLECONFIG.CSS REFORMULADO */

#passwordclasse {
  display: flex;
  font-size: 1.5rem;
  cursor: pointer;
  animation: tremida 2s infinite;
}

#fecharconfig {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: #fff;
  background-color: #c62828;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  animation: pulse 4s infinite ease-in-out;
}

#configapititle {
  color: #00c853;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-top: 1rem;
}

#configapilabel {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
}

#configuracao {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  cursor: pointer;
  animation: girar 3s infinite linear;
}

#configuracoes {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1d1d1d;
  padding: 1.5rem;
  border-radius: 16px;
  max-width: 480px;
  width: 90%;
  z-index: 1001;
  box-shadow: 0 0 20px rgba(0, 200, 83, 0.3);
  display: none;
}

.input-configAPIKEY {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  background-color: #f1f1f1;
  color: #212121;
  font-weight: bold;
  text-align: center;
}

.input-configAPIKEY:hover {
  background-color: #fff;
  border: 1px solid #00c853;
  box-shadow: 0 0 10px rgba(0, 200, 83, 0.4);
}

@keyframes girar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes tremida {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(2px); }
  50% { transform: translateX(-2px); }
  75% { transform: translateX(2px); }
}

@media screen and (max-width: 480px) {
  #configuracao {
    font-size: 1.5rem;
  }

  #configuracoes {
    padding: 1rem;
    width: 95%;
  }
}
