
.search-container {
  position: relative;
}

#search-icon {
  font-size: 20px;
  padding: 0px 0px;
  cursor: pointer;
  background: linear-gradient(135deg, #ffffff, #d1def5);
  border: none;
  border-radius: 15%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s;
}

#search-icon:hover {
  transform: scale(1.3);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.search-popup {
  position: absolute;
  top: 0px;
  right: 0;
  background: linear-gradient(135deg, #2e2e2e, #959396); /* soft blue-purple gradient */
  padding: 5px;
  display: none;
  width: 284px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  animation: fadeInUp 0.4s ease;
  z-index: 100;
  margin-top: 15px;
  margin-right: 20px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 10px;
}

.search-box input {
  flex: 1;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #dce0e6;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s;
}

.search-box input:focus {
  border-color: #2628a1;
}

#submit-search {
  background: linear-gradient(135deg, #a0a2ee, #3b82f6);
  color: white;
  border: none;
  padding: 4px 6px;
  font-size: 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

#submit-search:hover {
  transform: scale(1.1);
}

#close-btn {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border: none;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

#close-btn:hover {
  transform: scale(1.05);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
