/* cookie-consent.css — Path B consent banner.
   Z-index sits above the gate modal (7000) and onboarding tour (8000)
   but below the toast (9000) so toast notifications remain readable
   over the banner. */

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8500;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  background: #ffffff;
  color: #1a1a1a;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent__text {
  flex: 1 1 auto;
  margin: 0;
  color: #1a1a1a;
}

.cookie-consent__link {
  color: var(--color-blue, #0074b7);
  text-decoration: underline;
}

.cookie-consent__link:hover,
.cookie-consent__link:focus {
  color: var(--color-teal, #00c9b1);
}

.cookie-consent__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
}

.cookie-consent__btn {
  appearance: none;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  background: #ffffff;
  color: #1a1a1a;
  padding: 10px 18px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
  min-width: 160px;
  text-align: center;
}

.cookie-consent__btn:hover,
.cookie-consent__btn:focus-visible {
  background: #1a1a1a;
  color: #ffffff;
  outline: none;
}

.cookie-consent__btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.4);
}

.cookie-consent__close {
  appearance: none;
  border: none;
  background: transparent;
  color: #555;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.cookie-consent__close:hover,
.cookie-consent__close:focus-visible {
  color: #000;
  background: rgba(0, 0, 0, 0.06);
  outline: none;
}

@media (max-width: 720px) {
  .cookie-consent {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }

  .cookie-consent__actions {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-consent__btn {
    width: 100%;
    min-width: 0;
  }

  .cookie-consent__close {
    position: absolute;
    top: 6px;
    right: 8px;
  }
}
