/*
 * Cookie consent banner — reject-first opt-in.
 * Hidden by default (hidden attribute); shown by cookie-consent.js when no
 * choice has been stored yet. Mobile-first: stacked layout under 576px,
 * horizontal at tablet+. Both actions meet WCAG 44px touch-target.
 */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1080;
  background: #ffffff;
  border-top: 1px solid #dee2e6;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
}

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

.cookie-consent__text {
  margin: 0 0 0.75rem;
  line-height: 1.45;
  color: #3a3a3a;
}

.cookie-consent__text a {
  color: inherit;
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.cookie-consent__reject {
  background: none;
  border: none;
  padding: 0.5rem 0.25rem;
  min-height: 44px;
  color: #6c757d;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.cookie-consent__reject:hover,
.cookie-consent__reject:focus {
  color: #343a40;
  outline: none;
}

.cookie-consent__accept {
  min-height: 44px;
}

/* Tablet and up — horizontal row */
@media (min-width: 576px) {
  .cookie-consent {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
  }
  .cookie-consent__text {
    margin: 0;
    flex: 1;
  }
  .cookie-consent__actions {
    flex-shrink: 0;
  }
}
