/* CarSpot Cookie Banner */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 960px);
  z-index: 9999;
  padding: 0;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  display: grid;
  gap: 14px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  color: var(--text, #eaf0ff);
  background: linear-gradient(
    135deg,
    rgba(17, 23, 38, 0.92),
    rgba(11, 15, 26, 0.96)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cookie-banner__text {
  margin: 0;
  color: var(--muted, #9aa3b2);
  line-height: 1.6;
  font-size: 14px;
}

.cookie-banner__text strong {
  color: var(--text, #eaf0ff);
}

.cookie-banner__text a {
  color: var(--brand, #6aa6ff);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  justify-content: flex-end;
}

.cookie-banner__button {
  appearance: none;
  border: 1px solid rgba(130, 255, 210, 0.22);
  background: linear-gradient(
    135deg,
    rgba(106, 166, 255, 0.25),
    rgba(130, 255, 210, 0.16)
  );
  color: var(--text, #eaf0ff);
  border-radius: 14px;
  padding: 12px 18px;
  min-height: 46px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    opacity 0.16s ease;
}

.cookie-banner__button:hover,
.cookie-banner__button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(130, 255, 210, 0.34);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.cookie-banner__button:focus-visible {
  outline: 2px solid rgba(130, 255, 210, 0.48);
  outline-offset: 2px;
}

.footer-cookie-link {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .cookie-banner {
    width: min(calc(100% - 20px), 960px);
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .cookie-banner__inner {
    padding: 16px;
    border-radius: 18px;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__button {
    width: 100%;
  }
}
.cookie-settings-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.cookie-settings-footer.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-settings-footer--fingerprint {
  width: 54px;
  height: 54px;
  min-width: 54px;
}

.cookie-settings-footer--fingerprint svg {
  width: 50px;
  height: 50px;
  display: block;
}

.cookie-settings-footer--fingerprint:hover {
  filter: brightness(0.98);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .cookie-settings-footer--fingerprint {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

  .cookie-settings-footer--fingerprint svg {
    width: 46px;
    height: 46px;
  }
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

footer > div:first-child {
  white-space: nowrap;
  font-size: clamp(0.75rem, 2vw, 1rem);
  flex-shrink: 1;
  min-width: 0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-legal-links a,
.footer-separator {
  white-space: nowrap;
  font-size: clamp(0.72rem, 1.8vw, 0.95rem);
}

.cookie-settings-footer--fingerprint {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  footer {
    gap: 10px;
  }

  .footer-legal-links {
    gap: 5px;
  }
}
