/**
 * Analytics.css
 * 
 * Contains minimal CSS needed for analytics-related UI elements
 * This includes cookie consent banners, opt-out interfaces, etc.
 */

/* Cookie consent banner styling - enhanced version */
.analytics-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(7, 11, 20, 0.95);
  border-top: 1px solid rgba(0, 229, 255, 0.4);
  backdrop-filter: blur(10px);
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 229, 255, 0.3);
  transform: translateY(0);
  opacity: 1;
  will-change: transform, opacity, box-shadow;
}

.analytics-consent-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 229, 255, 0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.3s ease,
              box-shadow 0.4s ease;
}

/* Add more forceful display styles to ensure visibility */
.analytics-consent-banner[style*="display: block"] {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.analytics-banner-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.analytics-banner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.analytics-banner-title {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(90deg, #00e5ff, #0077ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.analytics-banner-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analytics-banner-close:hover {
  color: #00e5ff;
  transform: scale(1.1);
}

.analytics-banner-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 100%;
}

/* Simple/Detailed controls layouts */
.analytics-simple-controls {
  display: block;
  width: 100%;
}

.analytics-preferences {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  padding: 1rem 0;
  margin-top: 1rem;
  max-height: 1000px;
  opacity: 1;
  transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
  will-change: max-height, opacity, padding;
  overflow: visible;
  pointer-events: auto;
}

.analytics-preferences.hidden {
  max-height: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
  border-top-width: 0;
  border-bottom-width: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Force visible when not hidden - override any other styles */
.analytics-preferences:not(.hidden) {
  display: flex !important;
  max-height: 1000px !important;
  opacity: 1 !important;
  overflow: visible !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

.analytics-detailed-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.analytics-preference-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  transition: background-color 0.2s ease;
  border-radius: 0.375rem;
}

.analytics-preference-item:hover {
  background-color: rgba(0, 229, 255, 0.05);
}

.analytics-preference-info {
  flex: 1;
}

.analytics-preference-title {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.analytics-preference-desc {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.analytics-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  align-items: center;
}

.analytics-banner-link {
  font-size: 0.875rem;
  color: rgba(0, 229, 255, 0.8);
  text-decoration: none;
  padding: 0.25rem;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  margin-right: auto;
}

.analytics-banner-link:hover {
  color: rgba(0, 229, 255, 1);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.analytics-banner-button {
  padding: 0.625rem 1.25rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Orbitron', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

/* Disable the problematic ::before pseudo-element */
.analytics-banner-button::before {
  content: none !important;
  display: none !important;
}

.analytics-accept-button {
  background: linear-gradient(90deg, #00e5ff, #0077ff);
  color: #000;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.analytics-accept-button:hover {
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
  transform: translateY(-2px);
}

.analytics-deny-button {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.analytics-deny-button:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.analytics-settings-button {
  background: transparent;
  color: rgba(0, 229, 255, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.3);
  position: relative;
  z-index: 5;
}

.analytics-settings-button:hover,
.analytics-settings-button:focus {
  border-color: rgba(0, 229, 255, 0.6);
  color: #00e5ff;
  transform: translateY(-2px);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
  outline: none;
}

.analytics-save-button {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}

.analytics-save-button:hover {
  border-color: rgba(0, 229, 255, 0.8);
  color: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
  transform: translateY(-1px);
}

/* Toggle switch styling */
.analytics-toggle {
  position: relative;
  display: inline-block;
  width: 3.5rem;
  height: 1.75rem;
  margin-left: 1rem;
}

.analytics-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.analytics-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: 0.4s;
  border-radius: 1.75rem;
  overflow: hidden;
}

.analytics-slider:before {
  position: absolute;
  content: "";
  height: 1.35rem;
  width: 1.35rem;
  left: 0.2rem;
  bottom: 0.2rem;
  background-color: white;
  transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* State classes with high specificity to ensure they override other styles */
.analytics-toggle.analytics-toggle-on .analytics-slider {
  background-color: rgba(0, 229, 255, 0.5) !important;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.3) inset !important;
}

.analytics-toggle.analytics-toggle-on .analytics-slider:before {
  transform: translateX(1.75rem) !important;
  background-color: white !important;
}

.analytics-toggle.analytics-toggle-off .analytics-slider {
  background-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
}

.analytics-toggle.analytics-toggle-off .analytics-slider:before {
  transform: translateX(0) !important;
  background-color: white !important;
}

.analytics-toggle input:checked + .analytics-slider,
.analytics-toggle input[data-checked="true"] + .analytics-slider {
  background-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.3) inset;
}

.analytics-toggle input:checked + .analytics-slider:before,
.analytics-toggle input[data-checked="true"] + .analytics-slider:before {
  transform: translateX(1.75rem);
  background-color: white;
}

.analytics-toggle input:disabled + .analytics-slider {
  opacity: 0.7;
  cursor: not-allowed;
}

.analytics-toggle input:focus + .analytics-slider {
  box-shadow: 0 0 5px rgba(0, 229, 255, 0.5);
}

/* Persistent privacy settings toggle button */
.privacy-settings-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: rgba(0, 229, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2), 0 0 5px rgba(0, 229, 255, 0.1);
  opacity: 1; /* Visible by default */
  transform: translateY(0); /* No transform by default */
}

.privacy-settings-toggle:hover {
  color: #00e5ff;
  border-color: rgba(0, 229, 255, 0.8);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 229, 255, 0.2);
}

.privacy-settings-toggle:active {
  transform: scale(0.95);
}

.privacy-settings-toggle svg {
  filter: drop-shadow(0 0 2px rgba(0, 229, 255, 0.3));
  transition: filter 0.3s ease;
}

.privacy-settings-toggle:hover svg {
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.5));
}

/* Style for when analytics are active */
.privacy-settings-toggle.active {
  border-color: rgba(0, 229, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 229, 255, 0.3);
  animation: pulse-gentle 3s infinite;
}

@keyframes pulse-gentle {
  0% { box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), 0 0 5px rgba(0, 229, 255, 0.3); }
  50% { box-shadow: 0 0 15px rgba(0, 0, 0, 0.3), 0 0 12px rgba(0, 229, 255, 0.5); }
  100% { box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), 0 0 5px rgba(0, 229, 255, 0.3); }
}

/* Only used when toggle needs to be hidden in specific situations */
.privacy-settings-toggle.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

/* Handle mobile positioning - move up to avoid overlapping with other fixed elements */
@media (max-width: 768px) {
  .privacy-settings-toggle {
    bottom: 100px; /* Increased to prevent overlap with call button */
    left: 20px;
  }
}

/* Animation for when banner appears */
@keyframes consent-slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 229, 255, 0);
  }
  to {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 229, 255, 0.3);
  }
}

.analytics-consent-banner:not(.hidden) {
  animation: consent-slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.3s ease,
              box-shadow 0.4s ease;
}

/* Floating badge to indicate active tracking */
.analytics-status-badge {
  position: fixed;
  bottom: 70px;
  left: 20px;
  background: rgba(7, 11, 20, 0.75);
  border-radius: 12px;
  padding: 0.25rem 0.5rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 229, 255, 0.3);
  backdrop-filter: blur(4px);
  z-index: 998;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  transform: translateY(0);
  opacity: 0;
  font-family: 'Orbitron', sans-serif;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 4px;
}

.analytics-status-badge.active {
  opacity: 1;
}

.analytics-status-badge.active.hidden {
  opacity: 0;
  transform: translateY(10px);
}

.analytics-status-badge .status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #00e5ff;
  box-shadow: 0 0 5px rgba(0, 229, 255, 0.8);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .analytics-preferences {
    padding: 1.25rem 0;
  }
  
  .analytics-preference-item {
    padding: 0.75rem 1rem;
  }
  
  .analytics-banner-content {
    padding: 1.75rem 2rem;
  }
}

@media (max-width: 576px) {
  .analytics-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .analytics-banner-link {
    margin-right: 0;
    text-align: center;
    padding: 0.5rem;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    width: 100%;
  }
  
  .analytics-banner-button {
    width: 100%;
    padding: 0.75rem 1rem;
  }
  
  .analytics-banner-title {
    font-size: 1.125rem;
  }
}

/* Debug overlay for developers */
.analytics-debug {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: rgba(7, 11, 20, 0.9);
  border: 1px solid #00e5ff;
  color: white;
  font-family: monospace;
  font-size: 12px;
  padding: 8px;
  max-width: 300px;
  max-height: 200px;
  overflow: auto;
  z-index: 10001;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.analytics-debug.visible {
  display: block;
}

.analytics-event {
  padding: 4px 0;
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.analytics-event-name {
  color: #00e5ff;
  font-weight: bold;
}

.analytics-event-data {
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Settings Dialog Variation - For more complex settings interfaces */
.analytics-settings-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background-color: rgba(7, 11, 20, 0.97);
  border: 1px solid rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 229, 255, 0.15);
  border-radius: 8px;
  z-index: 10000;
  width: min(90%, 500px);
  max-height: 90vh;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.analytics-settings-dialog.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.analytics-settings-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}

.analytics-settings-dialog-title {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  background: linear-gradient(90deg, #00e5ff, #0077ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.analytics-settings-dialog-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analytics-settings-dialog-close:hover {
  color: #00e5ff;
  transform: scale(1.1);
}

.analytics-settings-dialog-content {
  padding: 1.5rem;
}

.analytics-settings-dialog-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Backdrop for the settings dialog */
.analytics-settings-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.analytics-settings-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Specific styling for the Customize button */
#analytics-toggle-detailed {
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible; /* Ensure pseudo-elements can overflow */
}

#analytics-toggle-detailed:after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.5);
}

#analytics-toggle-detailed:hover:after,
#analytics-toggle-detailed:focus:after {
  opacity: 1;
}

/* Add specific style for cookie consent banner to maintain shadow consistency */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  will-change: transform, opacity, box-shadow;
  overflow: visible;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: rgba(7, 11, 20, 0.95);
  border-top: 1px solid rgba(0, 229, 255, 0.4);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  opacity: 1;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 229, 255, 0.3);
}

#cookie-consent-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 229, 255, 0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.3s ease,
              box-shadow 0.4s ease;
}

#cookie-consent-banner .analytics-banner-content {
  padding: 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

#cookie-consent-banner .analytics-banner-text {
  margin-top: 0;
  line-height: 1.5;
  font-size: 0.9375rem;
  max-width: 100%;
  overflow: visible;
}

#cookie-consent-banner.animate-fade-in-up {
  animation: consent-slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 229, 255, 0.3);
}

#cookie-consent-banner.animate-fade-out-down {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 229, 255, 0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.3s ease,
              box-shadow 0.4s ease;
}

/* Further improve the responsive design for mobile devices */
@media (max-width: 576px) {
  .analytics-consent-banner,
  #cookie-consent-banner {
    padding-bottom: env(safe-area-inset-bottom, 0); /* Support for notched phones */
  }
  
  .analytics-banner-content {
    padding: 1.25rem 1rem;
    gap: 0.75rem;
  }
  
  .analytics-banner-title {
    font-size: 1rem;
  }

  .analytics-banner-text {
    font-size: 0.8125rem;
    line-height: 1.4;
  }
  
  .analytics-banner-button {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }
  
  /* Ensure banner doesn't overlap with mobile action buttons */
  #mobile-action-buttons {
    z-index: 9998; /* Just below the consent banners */
  }
}

/* Fix accessibility issues */
.analytics-banner-button,
.analytics-banner-link,
.privacy-settings-toggle {
  outline: none;
}

.analytics-banner-button:focus,
.analytics-banner-link:focus,
.privacy-settings-toggle:focus {
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.8);
}

/* Ensure only one banner appears at a time */
body[data-cookie-consent-visible="true"] .analytics-consent-banner:not(.hidden),
body[data-analytics-consent-visible="true"] #cookie-consent-banner:not(.hidden) {
  display: none !important;
}

/* Fix button layout in cookie consent banner */
#cookie-consent-banner .analytics-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.5rem;
  position: relative;
  z-index: 10;
}

#cookie-consent-banner .analytics-banner-link {
  margin-right: auto;
  display: inline-block;
  position: relative;
  z-index: 1;
}

#cookie-consent-banner .analytics-banner-button {
  position: relative;
  z-index: 1;
  box-shadow: none;
  overflow: hidden;
}

#cookie-consent-banner .analytics-banner-button::before {
  content: none;
}

/* Specific fixes for the cookie consent banner buttons */
#cookie-consent-banner .analytics-banner-button {
  box-shadow: none;
  text-decoration: none;
  background-image: none;
  white-space: nowrap;
  text-align: center;
}

#cookie-consent-banner .analytics-settings-button {
  background: transparent;
  color: rgba(0, 229, 255, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.3);
  position: relative;
  transform: none;
  overflow: hidden;
}

#cookie-consent-banner .analytics-settings-button:hover,
#cookie-consent-banner .analytics-settings-button:focus {
  background: transparent;
  border-color: rgba(0, 229, 255, 0.6);
  color: #00e5ff;
  transform: translateY(-2px);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

/* Make absolutely sure only one banner appears at a time */
body[data-analytics-consent-visible="true"] #cookie-consent-banner {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(100%) !important;
  pointer-events: none !important;
  box-shadow: none !important;
}

body[data-cookie-consent-visible="true"] #analytics-consent-banner {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(100%) !important;
  pointer-events: none !important;
  box-shadow: none !important;
}

/* Prevent banners from showing together during animation */
.analytics-consent-banner.animate-fade-in-up + #cookie-consent-banner,
#cookie-consent-banner.animate-fade-in-up + .analytics-consent-banner {
  display: none !important;
} 

/* Prevent the secondary cookie consent banner from displaying */
#cookie-consent-banner {
  display: none !important;
}
#cookie-consent-banner.hidden {
  display: none !important;
} 