/* #sugerencias {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  margin-top: 5px;
  padding: 5px;
  background: white;
  position: absolute;
  width: 300px;
  z-index: 1000;
} */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fdfbff;
  color: #4a4a4a;
  margin: 40px auto;
  max-width: 800px;
}

h2, h3 {
  color: #7e5a9b;
  text-align: center;
}

label {
  display: block;
  margin-top: 20px;
  font-weight: 600;
  color: #7e5a9b;
}

input[type="text"],
input[type="number"],
select {
  width: 100%;
  padding: 10px 14px;
  margin-top: 6px;
  border: 1px solid #d4c4e4;
  border-radius: 12px;
  font-size: 14px;
  background-color: #fff;
  box-sizing: border-box;
}

#buscador,
#filtroMarca {
  width: 100%;
}

#sugerencias {
  position: absolute;
  background: white;
  border: 1px solid #d4c4e4;
  border-radius: 12px;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  z-index: 999;
  margin-top: 5px;
  box-shadow: 0 6px 20px rgba(126, 90, 155, 0.1);
  list-style: none;
  padding-left: 0;
}

#sugerencias li {
  padding: 12px 16px;
  cursor: pointer;
  color: #4a4a4a;
}

#sugerencias li:hover {
  background-color: #f3ecf9;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

table th,
table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

table th {
  background-color: #f3ecf9;
  color: #7e5a9b;
  font-weight: 600;
}

button {
  margin-top: 30px;
  padding: 14px 24px;
  background-color: #b491d9;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

button:hover {
  background-color: #a077c9;
}

.total {
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  text-align: right;
  color: #7e5a9b;
}

input[type="number"] {
  width: 80px;
}
