/* Nightbreaker — Cookie-Banner (CHREMIGO Designsystem: Ink, Paper, Cormorant Garamond + Jost) */

.nb-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  padding: 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nb-consent__box {
  pointer-events: auto;
  width: 100%;
  max-width: 560px;
  background: #0F2135;
  color: #F8F3EA;
  border: 1px solid rgba(248, 243, 234, 0.18);
  border-radius: 14px;
  padding: 24px 26px 22px;
  box-shadow: 0 18px 48px rgba(5, 10, 22, 0.45);
  font-family: 'Jost', system-ui, sans-serif;
  text-align: left;
}

.nb-consent__label {
  margin: 0;
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E8A882;
}

.nb-consent__title {
  margin: 8px 0 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.2;
}

.nb-consent__text {
  margin: 10px 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(248, 243, 234, 0.82);
}

.nb-consent__text a {
  color: #F8F3EA;
  text-decoration: none;
  border-bottom: 1px solid rgba(248, 243, 234, 0.35);
}
.nb-consent__text a:hover { border-color: #E8A882; }

.nb-consent__details {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(248, 243, 234, 0.14);
}
.nb-consent__details[hidden] { display: none; }

.nb-consent__opt {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(248, 243, 234, 0.78);
  cursor: pointer;
}
.nb-consent__opt b {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: #F8F3EA;
}
.nb-consent__opt input {
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: #E8A882;
}

.nb-consent__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nb-consent__btn {
  flex: 1 1 150px;
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: #0F2135;
  background: #F8F3EA;
  border: 1px solid #F8F3EA;
  border-radius: 999px;
  padding: 12px 18px;
  min-height: 44px;
  cursor: pointer;
  transition: background 160ms ease-out, border-color 160ms ease-out;
}
.nb-consent__btn:hover { background: #E8A882; border-color: #E8A882; }
.nb-consent__btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(232, 168, 130, 0.45); }
.nb-consent__btn[hidden] { display: none; }

.nb-consent__btn--text {
  flex: 0 0 auto;
  color: #F8F3EA;
  background: transparent;
  border-color: rgba(248, 243, 234, 0.3);
}
.nb-consent__btn--text:hover { background: rgba(248, 243, 234, 0.08); border-color: rgba(248, 243, 234, 0.6); }

.consent-link {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-bottom: 1px solid currentColor;
  opacity: 0.9;
}

@media (max-width: 480px) {
  .nb-consent { padding: 10px; }
  .nb-consent__box { padding: 20px 18px 18px; }
  .nb-consent__btn--text { flex: 1 1 100%; }
}
