body {
  background: linear-gradient(to right, #000000, #000000);
  display: flex;
  justify-content: center;
  align-items: start;
  min-height: 100vh;
  padding: 20px;
  font-family: 'Courier New', Courier, monospace
}

.container {
  background: #bdbdbd;
  padding: 25px;
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #222;
  box-sizing: border-box;
}

button {
  padding: 12px 16px;
  margin: 5px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  background: #020f1d;
  color: white;
  transition: background 0.3s ease;
  flex: 1 1 100px;
}

button:hover {
  background: #28a745
}

.perfume-list {
  margin-top: 10px;
  text-align: left;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  background: #cccc;
}

.perfume-item {
  background: #eaeaea;
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 5px;
  font-size: 14px;
  word-wrap: break-word;
  transition: background-color 0.4s ease, transform 0.4s ease;
}

.perfume-item.highlight {
  background-color: #28a745 !important;
  color: white;
  animation: pulse 1s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    background-color: #218838;
  }
  50% {
    transform: scale(1.05);
    background-color: #28a745;
  }
  100% {
    transform: scale(1);
    background-color: #218838;
  }
}

.animated-result {
  animation: fadeSlideIn 0.6s ease-out;
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
