/* ==========================================================================
   consent.css — checkbox consent + cookie notice
   ========================================================================== */

/* --------------------------------------------------------------------------
   Form consent checkbox
   -------------------------------------------------------------------------- */

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
}

.form-consent__checkbox {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.1875rem;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.form-consent__text {
  font-family: var(--font-family-base);
  font-size: 0.8125rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.538;
  color: #475569;
}

.form-consent__text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.form-consent__text a:hover {
  text-decoration: none;
}

.form-consent .form-field__error {
  display: block;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Cookie notice
   -------------------------------------------------------------------------- */

.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
}

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

.cookie-notice__inner {
  max-width: var(--header-content-max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.cookie-notice__content {
  flex: 1;
  min-width: 0;
}

.cookie-notice__title {
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 0.375rem;
}

.cookie-notice__text {
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.571;
  color: #94a3b8;
  margin: 0;
}

.cookie-notice__link, .cookie-notice__text a  {
  color: #c084fc;
  text-decoration: underline;
}

.cookie-notice__link:hover {
  color: #ffffff;
}

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

.cookie-notice__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding-inline: 1.5rem;
  border: none;
  border-radius: 0.25rem;
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.cookie-notice__btn--accept {
  background: var(--color-primary);
  color: #ffffff;
}

.cookie-notice__btn--accept:hover {
  background: #3d0068;
}

.cookie-notice__btn--reject {
  background: transparent;
  color: #64748b;
  border: none;
  padding-inline: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-notice__btn--reject:hover {
  color: #94a3b8;
}

/* Cookie settings link in footer */
.js-cookie-settings-link {
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .cookie-notice__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-notice__actions {
    width: 100%;
  }

  .cookie-notice__btn {
    flex: 1;
  }
}
