/* 🔍 OVERLAY BACKGROUND */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;

  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 2000;
}

/* ACTIVE STATE */
.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 🔍 SEARCH BAR (HEADER STYLE GLASS) */
.search-bar {
  width: 90%;
  max-width: 700px;
   position: relative;
  background: white;
  backdrop-filter: blur(20px);

  border-radius: 50px;
  padding: 12px 20px;

  display: flex;
  align-items: center;
  gap: 10px;

  box-shadow: 0 8px 30px rgba(0,0,0,0.1);

  transform: translateY(-20px);
  transition: 0.3s ease;
}

/* ANIMATION */
.search-overlay.active .search-bar {
  transform: translateY(0);
}

/* INPUT */
.search-bar input {
  flex: 1;
  border: none;
  background: white;
  outline: none;
  font-size: 16px;
 padding-left: 40px;   /* 🔥 space for search icon */
  padding-right: 120px; /* 🔥 space for QR + mic + close */
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;   /* 🔥 ensure visible */
}

.search-actions {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;   /* 🔥 ensure visible */
}

/* ICONS */
.search-qr,
.search-mic {
  width: 20px;
  height: 20px;
  color: #555;
  cursor: pointer;
}

/* HOVER */
.search-qr:hover,
.search-mic:hover {
  color: #007bff;
}



/* CLOSE BUTTON */
.search-close {
  font-size: 18px;
  cursor: pointer;
}

.search-icon {
  color: #888;   /* subtle */
}



.search-mic {
  color: #ff3f6c;   /* 🔥 highlight mic like Flipkart */
}

.search-icon svg,
.search-qr svg,
.search-mic svg {
  width: 20px;
  height: 20px;
  stroke: #333;   /* visible color */
}