/* COOKIE CONSENT — L'Horlogerie Luxembourgeoise
   -------------------------------------------------------------
   Styling for the bottom consent banner and the "Personnaliser" /
   preferences modal added in components/cookie-consent.html. Colors reuse
   the site's own palette (custom.css): #1B201E (.bg-color-one, the dark
   header/footer background) and #C4BAA6 (.color-two, the tan/gold accent
   already used for topbar labels), so the banner reads as part of the
   site rather than a bolted-on third-party widget. */

.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1085;
  background-color: #1B201E;
  color: #fff;
  border-top: 1px solid rgba(196, 186, 166, 0.4);
  padding: 1rem 1.25rem;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.35);
}

.cookie-consent-banner-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent-banner-inner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1 1 320px;
  color: #fff;
}

.cookie-consent-link {
  color: #C4BAA6;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media screen and (max-width: 575px) {
  .cookie-consent-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent-actions .btn {
    flex: 1 1 auto;
  }
}

/* Preferences modal (built on Bootstrap's own .modal component, already
   loaded site-wide, so it inherits focus-trapping/keyboard behavior for
   free — only the colors need overriding to match the dark theme). */
#cookiePreferencesModal .modal-content {
  background-color: #1B201E;
  color: #fff;
  border: 1px solid rgba(196, 186, 166, 0.4);
}

#cookiePreferencesModal .modal-header,
#cookiePreferencesModal .modal-footer {
  border-color: rgba(196, 186, 166, 0.25);
}

/* theme.css gives .modal-title its own (light blue) color that otherwise
   wins over the plain "color:#fff" inherited from .modal-content above. */
#cookiePreferencesModal .modal-title {
  color: #fff;
}

#cookiePreferencesModal .text-white-70 {
  color: rgba(255, 255, 255, 0.7);
}

#cookiePreferencesModal .form-check-input:checked {
  background-color: #C4BAA6;
  border-color: #C4BAA6;
}

#cookiePreferencesModal .form-check-input:disabled {
  opacity: 0.65;
}
