/**
 * Cookie Consent Banner Styles
 * Tele2 audit finding A10: ePrivacy cookie/tracking consent for marketing site.
 * Matches the Notiscan website design system (cream bg, green CTA, black outlines).
 */

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #f2efe7;
  color: #1e1f28;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 99999;
  border-top: 2px solid #000;
  font-family: 'Instrument Sans', 'Lexend', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-consent-banner.hidden {
  display: none;
}

.cookie-consent-text {
  flex: 1;
  min-width: 250px;
}

.cookie-consent-text a {
  color: #0077ea;
  text-decoration: underline;
}

.cookie-consent-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-consent-btn {
  padding: 8px 20px;
  border: 0;
  border-radius: 0.75rem;
  outline: 2px solid #000;
  font-family: 'Instrument Sans', 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 2px 2px 0 4px #000;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.cookie-consent-btn--accept {
  background-color: #5dd17f;
  color: #000;
}

.cookie-consent-btn--accept:hover {
  background-color: #57ad70;
}

.cookie-consent-btn--reject {
  background-color: rgba(30, 31, 40, 0.1);
  color: #1e1f28;
}

.cookie-consent-btn--reject:hover {
  background-color: rgba(30, 31, 40, 0.2);
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    text-align: center;
    padding: 14px 16px;
  }

  .cookie-consent-buttons {
    width: 100%;
    justify-content: center;
  }
}
