/*
 * Capitan cookie-consent banner (paired with assets/consent.js and the
 * Consent Mode v2 defaults in demand-drive-extended.php).
 *
 * Brand-matched: deep teal (#016b64) surface, white text, CTA-yellow (#f1ff32)
 * Accept button with near-black (#121212) label, ghost Reject button, Red Hat
 * Display type — same palette as the site's "Schedule a Demo" CTA.
 */
.cptn-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: #016b64;
  color: #fff;
  font-family: "Red Hat Display", sans-serif;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
}

.cptn-consent__inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cptn-consent__text {
  margin: 0;
  flex: 1 1 460px;
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}

.cptn-consent__link {
  color: #f1ff32;
  text-decoration: underline;
}
.cptn-consent__link:hover {
  color: #f1ff32;
  text-decoration: none;
}

.cptn-consent__actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.cptn-consent__btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.cptn-consent__btn--accept {
  background: #f1ff32;
  color: #121212;
}
.cptn-consent__btn--accept:hover {
  background: #e4f52a;
}

.cptn-consent__btn--reject {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.cptn-consent__btn--reject:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cptn-consent__btn:focus-visible {
  outline: 2px solid #ff4806;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .cptn-consent__inner {
    padding: 14px 16px;
    gap: 12px;
  }
  .cptn-consent__actions {
    width: 100%;
  }
  .cptn-consent__btn {
    flex: 1 1 auto;
  }
}
