/**
 * Cookie Consent Banner Styles
 * GDPR-compliant consent banner with slide-up animation
 */

#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-top: 2px solid #B8860B; /* Gold branding */
}

#cookie-consent-banner.visible {
  transform: translateY(0);
}

#cookie-consent-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-consent-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-consent-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-consent-text a {
  color: #B8860B;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cookie-consent-text a:hover {
  color: #DAA520;
}

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

.cookie-consent-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.cookie-consent-btn:focus {
  outline: 2px solid #B8860B;
  outline-offset: 2px;
}

.btn-accept-all {
  background: #B8860B;
  color: #fff;
}

.btn-accept-all:hover {
  background: #DAA520;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.btn-accept-all:active {
  transform: translateY(0);
}

.btn-essential-only {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-essential-only:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

.btn-learn-more {
  background: transparent;
  color: #B8860B;
  border: none;
  text-decoration: underline;
  padding: 0.75rem 1rem;
  font-weight: 500;
}

.btn-learn-more:hover {
  color: #DAA520;
}

/* Mobile responsive */
@media (max-width: 768px) {
  #cookie-consent-banner {
    padding: 1rem;
  }

  .cookie-consent-container {
    gap: 0.75rem;
  }

  .cookie-consent-text {
    font-size: 0.875rem;
  }

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

  .cookie-consent-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
  }
}

/* Tablet responsive */
@media (min-width: 769px) and (max-width: 1024px) {
  .cookie-consent-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-consent-text {
    flex: 1;
  }

  .cookie-consent-actions {
    flex-shrink: 0;
  }
}

/* Desktop */
@media (min-width: 1025px) {
  .cookie-consent-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-consent-text {
    flex: 1;
    max-width: 700px;
  }

  .cookie-consent-actions {
    flex-shrink: 0;
  }
}

/* Accessibility - reduce motion */
@media (prefers-reduced-motion: reduce) {
  #cookie-consent-banner {
    transition: none;
  }
}
