/* Glassmorphism action buttons over the vehicle image */
.glass-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.glass-btn.is-active {
  color: #ff4d6d;
  background: rgba(255, 77, 109, 0.22);
  border-color: rgba(255, 77, 109, 0.35);
}

.glass-btn.is-active svg {
  fill: currentColor;
}

/* ---------- Instant Credit CTA: rotating gradient-ring pill ---------- */
.credit-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: none;
  outline: 1px solid rgba(142, 69, 147, 0.2);
  outline-offset: 0px;
  cursor: pointer;
  border-radius: 5px;
  padding: 15px 14px;
  color: #fff;
  background: #C3C3CF;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 12px;
  letter-spacing: 1.3px;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  -webkit-text-stroke-width: 0.2px;
  -webkit-text-stroke-color: #fff;
  white-space: nowrap;
  z-index: 1;
  transition: transform 0.2s ease-in-out;
}

.credit-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  /* background: conic-gradient(from 0deg, #7dd3fc, #d8b4fe, #f9a8d4, #7dd3fc); */
    /* background: conic-gradient(from 0deg, #22d3ee, #a855f7, #ec4899, #22d3ee); */
    background: conic-gradient(from 0deg, #EF00FF, #7C00FF, #F200FF, #00ADFF);
  z-index: -2;
  filter: blur(1.5px);
  animation: credit-cta-spin 4s linear infinite;
}

.credit-cta::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: linear-gradient(79.4deg, #8e4593 2.3%, #0d0e55 112.6%);
  z-index: -1;
  transition: background 0.2s ease-in-out;
}

@keyframes credit-cta-spin {
  to {
    transform: rotate(360deg);
  }
}

.credit-cta:hover {
  transform: scale(1.03);
}

.credit-cta:active {
  transform: scale(0.97);
}

.credit-cta:focus-visible {
  outline: 2px solid #a855f7;
  outline-offset: 3px;
}
