body {
  margin: 0;
 min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(145deg, #0a1f24, #113034, #1e3c45, #0b1c1f);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  font-family: -apple-system, BlinkMacSystemFont, "San Francisco", Roboto, sans-serif;
  padding: 50px 0;
  box-sizing: border-box;
}



@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.spotlight-container {
  width: 500px;
  max-width: 90%;
  height: 100%;
}

.spotlight-box {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 18px 28px;          /* More padding = bigger height */
  font-size: 20px;             /* Slightly larger text */
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);  /* More depth */

}
/* Flatten bottom corners when expanded */
/* .suggestions-box:not(.hidden) + .spotlight-box,
/* .spotlight-box + .suggestions-box:not(.hidden) {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
} */ 
.spotlight-box.expanded {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  
}
.spotlight-box,
.suggestions-box {
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.2),
    0 12px 32px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.2);

}



.search-icon {
  font-size: 18px;
  margin-right: 10px;
  color: #555;
}

.spotlight-input {
  border: none;
  outline: none;
  font-size: 18px;
  flex: 1;
  background: transparent;
  color: #000;
}

.suggestions-box {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  margin-top: 0px;
  padding: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
    border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.hidden {
  display: none;
}

.skeleton {
  height: 60px;
  background: linear-gradient(90deg, #eee 25%, #ddd 50%, #eee 75%);
  background-size: 200% 100%;
  animation: loading 1.2s infinite;
  border-radius: 8px;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.suggestions {
  list-style: none;
  padding: 0;
  margin: 0;
}

.suggestions li {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
  color: #333;
}
.clear-icon {
  font-size: 18px;
  margin-left: 10px;
  cursor: pointer;
  color: #888;
  user-select: none;
  transition: opacity 0.2s;
}

.clear-icon.hidden {
  display: none;
}
