/* ── Veloce shared design system ── */

/* Anchor reset — prevents browser-default blue/purple since Tailwind preflight is off */
a {
  color: inherit;
  text-decoration: none;
}

/* ── Form labels ── */
.v-label {
  display: block;
  font-size: .625rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: .25rem;
}

/* ── Select wrapper: provides the custom chevron via ::after ── */
.v-select-wrap {
  position: relative;
  display: block;
}

.v-select-wrap::after {
  content: '';
  position: absolute;
  right: .625rem;
  top: 50%;
  transform: translateY(-50%);
  width: .875rem;
  height: .875rem;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ── Base control styles (select + input) ── */
.v-select,
.v-input {
  width: 100%;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: .625rem;
  padding: .5rem .75rem;
  color: #111827;
  font-size: .875rem;
  font-weight: 500;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}

.v-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2rem;
}

.v-select:focus,
.v-input:focus {
  border-color: #374151;
}

/* ── Car card ── */
.v-card {
  border: 1px solid #e9e9e9;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: box-shadow .2s;
}

.v-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .09);
}

.v-card .v-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}

.v-card:hover .v-card-img {
  transform: scale(1.03);
}

.v-card-body {
  padding: .5rem;
}

.v-card-body .v-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: .5rem;
  margin-top: .5rem;
  border-top: 1px solid #f0f0f0;
}
