body {
  font-family: Arial, sans-serif;
  text-align: center;

  background: #f5f5f5;
}

h1 {
  color: #333;
}

.tab-container {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-button {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  background: #ddd;
  border-radius: 5px;
  cursor: pointer;
}

.tab-button.active {
  background: #007bff;
  color: white;
}

.form-container {
  margin: 20px 0;
  margin-left: 240px;
}

.form-container input,
.form-container button {
  padding: 10px;
  margin: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.form-container button {
  background: orange;
  color: white;
  cursor: pointer;
}

.car-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.car-card {
  background: white;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 5px;
  width: 400px;
  text-align: left;
}
.form-container select,
.form-container input,
.form-container button {
  padding: 10px;
  margin: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  min-width: 150px;
}

.form-container select {
  background: white;
  color: black;
}
.car-card button {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.car-card button:hover {
  background: #0056b3;
}
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #005bac;
  color: white;
  padding: 10px 20px;
}
.top-bar img {
  height: 50px;
}

.car-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
  .suggestions-box{
    width: 50% !important;
  }

  .top-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    padding: 10px;
  }

  .car-list {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }

  .car-card {
    width: 100%;
    max-width: 350px;
    padding: 10px;
  }

  .car-image {
    max-width: 100%;
    height: auto;
  }

  #car-page-title {
    padding: 0 10px;
    text-align: center;
  }
  .form-container {
    margin-left: 0px;
  }
}


/* Hide arrow in some browsers */
/* input::-webkit-calendar-picker-indicator,
input::-webkit-contacts-auto-fill-button,
input::-webkit-credentials-auto-fill-button {
  display: none !important;
} */

.suggestions-box {
  position: absolute;
  z-index: 1000;
  background: #fff;
  border: 1px solid #ccc;
  width: 18%;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  border-radius: 5px;
  left: 26%;
}

.suggestion-item {
  padding: 8px;
  cursor: pointer;
}

.suggestion-item:hover {
  background-color: #f0f0f0;
}