body {
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1400px !important;
  margin: 0 auto;
  padding: 30px 25px;
}

h1,
h3 {
  text-align: center;
  margin-bottom: 15px;
}

.search-container {
  position: relative;
  /* Needed for absolute positioning of suggestions */
  width: 80%;
  max-width: 500px;
  margin-bottom: 20px;
}

#movieSearch {
  width: 100%;
  padding: 10px 15px;
  font-size: 1rem;
  box-sizing: border-box;
  /* Include padding in width */
  border: 1px solid #ccc;
}

.suggestions-container {
  position: absolute;
  top: 100%;
  /* Position below the input */
  left: 0;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-top: none;
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.suggestion-item {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background-color: #f0f0f0;
}

.suggestion-info {
  width: 100%;
}

.suggestion-title {
  font-weight: bold;
  font-size: 0.95rem;
  color: #333;
}

.suggestion-year {
  font-size: 0.85rem;
  color: #666;
}

/* Hide suggestions container initially */
.suggestions-container:empty {
  display: none;
}