body {
  font-family: Arial, sans-serif;
  color: aliceblue;
  padding: 2em;
  background-color: #101519;
}

.centered-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 0 20vw;
  text-align: center;
}

.centered-wrapper h1 {
  margin-bottom: 0.5em;
  font-size: 2em;
}

.centered-wrapper p {
  margin: 0.2em 0;
  font-size: 1em;
  color: #ccc;
}

.form-wrapper {
  margin-bottom: 2em;
  align-items: center;
  width: 99vw;
  display: flex;
  justify-content: center;
  gap: 1em;
}

input[type="text"] {
  padding: 0.5em;
  font-size: 1em;
  width: 50%;
  align-self: center;
  border-radius: 5px;
}

button {
  padding: 0.5em 1em;
  font-size: 1em;
  background-color: #37745b;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  width: 10%;
}

.results-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.5em;
  margin-top: 2em;
  width: 100%;
  max-width: 60vw;
}

.photo-placeholder {
  width: 150px;
  height: 150px;
  background-color: #333;
  border-radius: 10px;
}

.car-info {
  text-align: left;
  flex: 1;
}

.car-info {
  width: 50vw;
}

div.info-box {
  padding: 1em;
  margin-bottom: 2em;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 2em;
}

table,
th,
td {
  border: 1px solid #ccc;
  padding: 4px;
}

th,
td {
  padding: 0.5em;
  border-bottom: 1px solid #ccc;
}

th {
  text-align: left;
}

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 0.5em;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0.9);
}

/* Приклад іконки (можна змінити на свій шлях до зображення або SVG): */
.icon-doc {
  background-image: url("/static/main/icons/checklist.68b446851001.png");
}

.icon-car {
  background-image: url("/static/main/icons/checklist.68b446851001.png");
}

.icon-clock {
  background-image: url("/static/main/icons/checklist.68b446851001.png");
}

.car-selection-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  width: 100%;
  justify-content: center;
}

.car-card {
  display: flex;
  gap: 1em;
  padding: 1em;
  border: 1px solid #3a3f44;
  border-radius: 12px;
  background: #0f1418;
  width: 320px;
  align-items: center;
}

.photo-placeholder.small {
  width: 80px;
  height: 80px;
  background-color: #2a2f34;
  border-radius: 10px;
  flex-shrink: 0;
}

.car-card-body h3 {
  margin: 0 0 0.4em 0;
  font-size: 1.1em;
}

.car-card-body p {
  margin: 0.1em 0;
}

.car-link {
  color: #3bbf7a;
  text-decoration: none;
  font-weight: bold;
}

.car-link:hover {
  text-decoration: underline;
}
