/* Newis — cookie consent banner (GDPR / nLPD)
   Self-hosted, no external dependency. Paired with newis-consent.js. */

#newis-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999999;
  display: none;
  box-sizing: border-box;
  max-width: 920px;
  margin: 0 auto;
  padding: 22px 24px;
  background: #ffffff;
  color: #2b2b2b;
  border-radius: 6px;
  border-top: 3px solid #0a9cd8;
  box-shadow: 0 6px 32px rgba(0, 0, 0, .22);
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

#newis-consent.is-open {
  display: block;
}

#newis-consent * {
  box-sizing: border-box;
}

#newis-consent .nc-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
}

#newis-consent .nc-body {
  margin: 0 0 16px;
}

#newis-consent .nc-body a {
  color: #0a9cd8;
  text-decoration: underline;
}

#newis-consent .nc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Accept and Decline are deliberately the same size and weight:
   consent must be as easy to refuse as to give (GDPR art. 7). */
#newis-consent .nc-btn {
  flex: 0 0 auto;
  min-width: 150px;
  padding: 11px 22px;
  border-radius: 3px;
  border: 2px solid #0a9cd8;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

#newis-consent .nc-accept {
  background: #0a9cd8;
  color: #ffffff;
}

#newis-consent .nc-accept:hover {
  background: #0886bb;
  border-color: #0886bb;
}

#newis-consent .nc-refuse {
  background: #ffffff;
  color: #0a9cd8;
}

#newis-consent .nc-refuse:hover {
  background: #eef8fc;
}

#newis-consent .nc-btn:focus-visible,
#newis-consent .nc-body a:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 2px;
}

#newis-consent .nc-link {
  margin-left: auto;
  font-size: 13px;
}

@media only screen and (max-width: 600px) {
  #newis-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 18px 16px;
  }

  #newis-consent .nc-btn {
    flex: 1 1 100%;
    min-width: 0;
  }

  #newis-consent .nc-link {
    margin-left: 0;
    width: 100%;
    padding-top: 4px;
  }
}
