body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #1e1e1e;
  color: #f0f0f0;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 700px;
  margin: 50px auto;
  padding: 30px;
  background-color: #2b2b2b;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

h1 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 25px;
  color: #f0ad4e;
}

p {
  font-size: 15px;
  margin-bottom: 10px;
  color: #ddd;
}

input[type="text"],
select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #555;
  background-color: #3a3a3a;
  color: #f0f0f0;
  border-radius: 6px;
  margin-bottom: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
select:focus {
  outline: none;
  border-color: #f0ad4e;
  box-shadow: 0 0 5px rgba(240, 173, 78, 0.6);
}

#time-taken {
  margin-top: 10px;
  font-size: 14px;
  color: #aaa;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 15px 0 0 0;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #666;
  border-radius: 6px;
  background-color: #444;
}

ul li {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid #555;
  transition: background-color 0.2s ease;
}

ul li:last-child {
  border-bottom: none;
}

ul li:hover {
  background-color: #555;
}

#autocomplete-input {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.average-times-container {
  margin-top: 30px;
}

.average-times-container h2 {
  font-size: 20px;
  color: #f0ad4e;
  margin-bottom: 10px;
}

.average-times p {
  margin: 5px 0;
  font-size: 14px;
  color: #ccc;
}

canvas {
  margin-top: 15px;
  background-color: #2a2a2a;
  border-radius: 6px;
  padding: 10px;
}

.dark-theme {
  background-color: #222;
  color: #eee;
}

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

.slide-in {
  animation: slideIn 0.3s ease;
}
