/* VTQ brand theme for the TrackForge consent banner.
   Site-owned override — loaded AFTER /pipeline/consent-banner.css so it
   survives pipeline reinstalls. Brand: lime #a3e653, Inter, rounded-3xl cards. */

.pipeline-cookie-banner {
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.12), 0 4px 16px rgba(163, 230, 53, 0.15);
  font-family: Inter, sans-serif;
}

.pipeline-cookie-banner__inner {
  padding: 18px 22px;
  gap: 14px 24px;
}

.pipeline-cookie-banner__inner p {
  font-size: 14px;
  line-height: 1.55;
  color: #4b5563;
}

.pipeline-cookie-banner__inner p strong {
  color: #111827;
  font-weight: 700;
}

.pipeline-cookie-banner__inner a {
  color: #111827;
  text-decoration: underline;
  text-decoration-color: #a3e653;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  font-weight: 600;
}

.pipeline-cookie-banner__inner a:hover {
  color: #65a30d;
}

.pipeline-cookie-banner__actions button {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 0.75rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.pipeline-cookie-banner__accept {
  background: #a3e653;
  color: #111827;
  border: 1px solid #a3e653;
  box-shadow: none;
}

.pipeline-cookie-banner__accept:hover {
  background: #8fd63a;
  border-color: #8fd63a;
  box-shadow: none;
  transform: translateY(-1px);
}

.pipeline-cookie-banner__essential {
  background: #ffffff;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.pipeline-cookie-banner__essential:hover {
  border-color: #a3e653;
  color: #111827;
}

@media (max-width: 640px) {
  .pipeline-cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .pipeline-cookie-banner__actions {
    width: 100%;
  }
  .pipeline-cookie-banner__actions button {
    flex: 1 1 0;
    padding: 12px 12px;
  }
}

/* ---------------------------------------------- preferences modal (brand) */

.pipeline-cookie-prefs__dialog {
  font-family: Inter, sans-serif;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.22), 0 4px 16px rgba(163, 230, 53, 0.18);
  padding: 26px 26px 22px;
}

.pipeline-cookie-prefs__title {
  color: #111827;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.pipeline-cookie-prefs__intro {
  color: #4b5563;
}

.pipeline-cookie-prefs__intro a {
  color: #111827;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #a3e653;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.pipeline-cookie-prefs__intro a:hover {
  color: #65a30d;
}

.pipeline-cookie-prefs__row {
  border-top-color: #f1f3f5;
}

.pipeline-cookie-switch input:checked ~ .pipeline-cookie-switch__track {
  background: #a3e653;
}

.pipeline-cookie-switch input:checked ~ .pipeline-cookie-switch__track .pipeline-cookie-switch__thumb {
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.3);
}

.pipeline-cookie-prefs__actions button {
  font-family: Inter, sans-serif;
  font-weight: 700;
  border-radius: 0.75rem;
  padding: 12px 20px;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.pipeline-cookie-prefs__save {
  background: #ffffff;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.pipeline-cookie-prefs__save:hover {
  border-color: #a3e653;
}

.pipeline-cookie-prefs__accept {
  background: #a3e653;
  color: #111827;
  border: 1px solid #a3e653;
}

.pipeline-cookie-prefs__accept:hover {
  background: #8fd63a;
  border-color: #8fd63a;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .pipeline-cookie-prefs {
    padding: 12px;
    align-items: flex-end;
  }
  .pipeline-cookie-prefs__dialog {
    padding: 22px 18px 18px;
    max-height: calc(100vh - 24px);
  }
  .pipeline-cookie-prefs__actions {
    flex-direction: row;
  }
}
