/* CallTurbo consent bar — 2026-10-22
   Fixed, dark, compact. Matches the landing/SEO palette. */

.ct-consent,
.ct-consent * {
  box-sizing: border-box;
}

.ct-consent {
  position: fixed;
  z-index: 120;
  right: 0;
  bottom: 0;
  left: 0;
  color: #f8f9fb;
  background: #0d1119;
  border-top: 1px solid rgba(248, 249, 251, 0.16);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.38);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.82rem;
  line-height: 1.55;
}

.ct-consent[hidden] {
  display: none;
}

.ct-consent__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.25rem 2rem;
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 3vw, 2rem);
}

.ct-consent__copy {
  min-width: 0;
}

.ct-consent__title {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ct-consent__text {
  max-width: 66ch;
  margin: 0;
  color: #aeb6c4;
}

.ct-consent__text a {
  color: #dfe3ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ct-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.ct-consent__button {
  min-height: 2.4rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(248, 249, 251, 0.28);
  border-radius: 0.55rem;
  color: #f8f9fb;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.ct-consent__button:hover {
  border-color: rgba(248, 249, 251, 0.55);
  background: rgba(248, 249, 251, 0.08);
}

.ct-consent__button--primary {
  color: #080a0f;
  border-color: #f8f9fb;
  background: #f8f9fb;
}

.ct-consent__button--primary:hover {
  background: #dfe3ff;
}

.ct-consent__button:focus-visible,
.ct-consent__checkbox input:focus-visible,
.ct-consent__reject:focus-visible {
  outline: 2px solid #aeb8ff;
  outline-offset: 2px;
}

.ct-consent__manage {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(248, 249, 251, 0.12);
}

.ct-consent__manage[hidden] {
  display: none;
}

.ct-consent__option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(248, 249, 251, 0.12);
  border-radius: 0.55rem;
  background: rgba(248, 249, 251, 0.03);
}

.ct-consent__checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.ct-consent__checkbox input {
  width: 1rem;
  height: 1rem;
  accent-color: #7587ff;
  cursor: pointer;
}

.ct-consent__option strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
}

.ct-consent__option span {
  display: block;
  color: #9aa3b2;
  font-size: 0.75rem;
}

.ct-consent__option--fixed {
  opacity: 0.78;
}

.ct-consent__manage-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ct-consent__reject {
  padding: 0;
  border: 0;
  color: #aeb6c4;
  background: none;
  font: inherit;
  font-size: 0.76rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.ct-consent__reject:hover {
  color: #f8f9fb;
}

.cookie-settings-link {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.cookie-settings-link:hover {
  color: #aeb8ff;
}

@media (max-width: 760px) {
  .ct-consent__inner {
    grid-template-columns: 1fr;
    padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
  }

  .ct-consent__actions {
    justify-content: flex-start;
  }

  .ct-consent__button--primary {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-consent__button {
    transition: none;
  }
}
