/* BOTÃO DE ENGENHAGEM (CONFIG) */
#configuracao {
  position: fixed;
  top: 10px;
  right: 10px;
  font-size: 60px;
  color: #fcf700;
  animation: girar 2s linear infinite;
  cursor: pointer;
  z-index: 1001;
}

/* ANIMAÇÃO GIRAR */
@keyframes girar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* CONTAINER DA JANELA DE CONFIGURAÇÕES */
#configuracoes {
  display: none; /* mostra via JS */
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  padding: 30px;
  background-color: #111;
  border: 2px solid #00ff99;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 255, 100, 0.6);
  z-index: 1000;
  overflow-y: auto;
}

/* BOTÃO DE FECHAR ❌ */
#fecharconfig {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  color: #f00;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}
#fecharconfig:hover {
  transform: scale(1.2);
}

/* TÍTULO DA SEÇÃO */
#configapititle {
  color: #fcf700;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

/* LABELS DOS CAMPOS */
#configapilabel {
  color: #00eaff;
  font-size: 1.2rem;
  margin: 10px 0 5px;
}

/* WRAPPER FLEX DO CAMPO + ÍCONE */
.input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

/* INPUT CONFIG (APIKEY, NOME, etc) */
.input-configAPIKEY {
  width: 100%;
  height: 50px;
  padding: 10px 50px 10px 10px; /* padding extra para o ícone */
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 15px;
  border: 2px solid #00ff99;
  background-color: rgba(255, 255, 255, 0.1);
  color: #00ff99;
  text-align: center;
  transition: 0.3s;
}
.input-configAPIKEY:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px #00ff99;
}

/* ÍCONE DO OLHO (MOSTRAR SENHA) */
#passwordclasse {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  color: #fcf700;
  cursor: pointer;
}

/* RESPONSIVO */
@media screen and (max-width: 768px) {
  #configuracao {
    font-size: 40px;
  }
  #configuracoes {
    width: 95%;
    padding: 20px;
  }
}
