/* car prices */

/* Center container horizontally and add vertical spacing */
.car_prices {
  color: white;
  background: #222; /* dark background for contrast */
  max-width: 360px;
  margin: 40px auto; /* center horizontally + vertical space */
  padding: 20px 30px 40px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



/* Section title */
.car_prices h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.8rem;
  color: #f0f0f0;
}

.input-container {
  position: relative;
}



/* Labels */
.car_prices label {
  display: block;
  margin-top: 15px;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 1rem;
  color: #ddd;
}

/* Inputs and select */
.car_prices input[type="text"],
.car_prices select {
  width: 100%;
  padding: 10px 14px;
  font-size: 1rem;
  border: 1.8px solid #444;
  border-radius: 8px;
  background: #333;
  color: white;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  box-sizing: border-box;
}

.car_prices input[type="text"]::placeholder {
  color: #aaa;
}

/* Focus effect */
.car_prices input[type="text"]:focus,
.car_prices select:focus {
  border-color: #3a86ff;
  box-shadow: 0 0 8px rgba(58, 134, 255, 0.6);
}

/* Suggestions list */
.suggestions {
  border: 1px solid #444;
  max-height: 180px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  width: 100%;
  position: absolute;
  background-color: #222;
  z-index: 1000;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
  color: white;
}

/* Suggestions items */
.suggestions li {
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  color: white;
}

.suggestions li:hover {
  background-color: #3a86ff;
  color: white;
}

/* Car details section */
#car-details {
  margin-top: 25px;
  background: #2a2a2a;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: inset 0 0 6px #111;
  color: #ddd;
  font-size: 0.95rem;
  min-height: 90px;
}

#car-details h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.3rem;
  color: #f0f0f0;
}


table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
  color: white;
}
th, td {
  border: 1px solid #ccc;
  padding: 8px;
}
th {
  background-color: #f4f4f4;
  color:#222;
}
.service-details {
  list-style-type: disc;
  margin: 0;
  padding-left: 20px;
}