.fd-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  background: rgba(20, 24, 32, 0.96);
  color: #f5f7fb;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  padding: 1rem 1.25rem;
}

.fd-consent-banner[hidden] {
  display: none !important;
}

.fd-consent-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.fd-consent-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.fd-consent-text {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.fd-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.fd-consent-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 600;
}

.fd-consent-btn:focus-visible {
  outline: 3px solid #8fb4ff;
  outline-offset: 2px;
}

.fd-consent-btn-accept {
  background: #4f7ad9;
  color: #fff;
}

.fd-consent-btn-close {
  background: transparent;
  color: #cfe0ff;
  border-color: rgba(207, 224, 255, 0.5);
}

.fd-analytics-manage {
  position: fixed;
  inset: 0;
  z-index: 10060;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.fd-analytics-manage[hidden] {
  display: none !important;
}

.fd-analytics-manage-inner {
  max-width: 560px;
  width: 100%;
  background: #1a2030;
  color: #f5f7fb;
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.fd-consent-btn-refuse {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.fd-consent-link {
  color: #cfe0ff;
  text-decoration: underline;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.fd-consent-link:focus-visible {
  outline: 3px solid #8fb4ff;
  outline-offset: 2px;
}

.fd-manage-cookies-link {
  cursor: pointer;
}

@media (max-width: 360px) {
  .fd-consent-banner {
    padding: 0.85rem 0.9rem;
  }

  .fd-consent-title {
    font-size: 1rem;
  }

  .fd-consent-text {
    font-size: 0.9rem;
  }

  .fd-consent-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .fd-consent-btn,
  .fd-consent-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


.fd-consent-more {
  margin: 0 0 0.75rem;
}

.fd-consent-more__summary {
  cursor: pointer;
  color: #cfe0ff;
  text-decoration: underline;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
}

.fd-consent-more__summary:focus-visible {
  outline: 3px solid #8fb4ff;
  outline-offset: 2px;
}

.fd-consent-more__body {
  margin: 0.45rem 0 0.35rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #d7deea;
}

.fd-consent-btn-refuse {
  /* keep high contrast — no dark pattern */
  border-width: 2px;
}
