#cookie-consent-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 1050;
  background: rgba(25, 27, 31, 0.96);
  color: #ffffff;
  padding: 1rem;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-consent-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-consent-content {
  min-width: 0;
  flex: 1 1 320px;
}

.cookie-consent-content p {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.cookie-consent-actions button {
  min-width: 96px;
}

#cookie-consent-banner button {
  color: #ffffff;
}

#cookie-consent-banner .btn-outline-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.95);
}

#cookie-consent-banner .btn-outline-secondary:hover,
#cookie-consent-banner .btn-outline-secondary:focus {
  color: #ffffff;
  border-color: #ffffff;
}

.cookie-consent-banner-visible {
  animation: cookieConsentFadeIn 0.3s ease-out;
}

@keyframes cookieConsentFadeIn {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 767.98px) {
  .cookie-consent-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-actions {
    justify-content: stretch;
  }
}

#cookie-consent-banner button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}
