/* Updated placement and style for AltasGaming Voice Search Pro */
.avs-pro {
  width: 100%;
  display:flex;
  justify-content:center;
  padding:18px 12px;
  box-sizing:border-box;
  position:relative;
  z-index:9999;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.avs-pro-inner {
  background: rgba(255,255,255,0.88);
  border-radius:14px;
  padding:10px 14px;
  display:flex;
  gap:10px;
  align-items:center;
  max-width:980px;
  width:95%;
  box-shadow: 0 6px 18px rgba(30,159,255,0.12);
  border: 1px solid rgba(30,159,255,0.12);
  transition: transform 300ms cubic-bezier(.22,.9,.3,1), box-shadow 300ms;
  transform: translateY(0);
}
.avs-pro-inner:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(30,159,255,0.14); }

.avs-mic {
  background: linear-gradient(135deg, rgba(30,159,255,0.12), rgba(30,159,255,0.06));
  border-radius:10px;
  padding:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform 180ms;
  box-shadow: 0 6px 18px rgba(30,159,255,0.06), inset 0 1px 0 rgba(255,255,255,0.6);
}
.avs-mic:hover { transform: scale(1.03); }
.avs-mic svg { filter: drop-shadow(0 6px 18px rgba(30,159,255,0.25)); transition: transform 200ms; }
.avs-mic.listening { animation: pulse 1.6s infinite; box-shadow: 0 10px 30px rgba(30,159,255,0.28); }
@keyframes pulse {
  0% { transform: scale(1); filter: drop-shadow(0 6px 18px rgba(30,159,255,0.18)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 18px 36px rgba(30,159,255,0.32)); }
  100% { transform: scale(1); filter: drop-shadow(0 6px 18px rgba(30,159,255,0.18)); }
}

.avs-input {
  flex:1;
  min-width:120px;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,0.06);
  font-size:15px;
  outline:none;
  background: rgba(255,255,255,0.95);
}
.avs-input:focus { box-shadow: 0 6px 18px rgba(30,159,255,0.06); border-color: rgba(30,159,255,0.18); }

.avs-submit {
  background: linear-gradient(135deg,#1e9fff,#74c8ff);
  color:#fff;
  border:none;
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  box-shadow: 0 6px 18px rgba(30,159,255,0.12);
}
.avs-submit:hover { transform: translateY(-2px); }

.avs-status { margin-top:8px; text-align:center; color:#444; font-size:13px; }

@media (max-width:640px){
  .avs-pro-inner { flex-direction:column; gap:8px; padding:12px; }
  .avs-input { width:100%; }
  .avs-submit { width:100%; }
}

.visually-hidden { position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }
