/* cookie-consent.css — Cookie consent banner component */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0a2647;
  color: #fff;
  padding: 1rem 1.5rem;
  display: none; /* shown by JS only when consent not yet recorded */
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
}

.cookie-consent__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-consent__text {
  flex: 1;
  min-width: 200px;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-consent__text a {
  color: #90caf9;
  text-decoration: underline;
}

.cookie-consent__text a:hover {
  color: #fff;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-consent__btn {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.cookie-consent__btn--accept {
  background: #fff;
  color: #0a2647;
}

.cookie-consent__btn--accept:hover {
  background: #e3f0ff;
}

.cookie-consent__btn--reject {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

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

@media (max-width: 600px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent__actions {
    width: 100%;
  }

  .cookie-consent__btn {
    flex: 1;
    text-align: center;
  }
}
