/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 16px 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.5;
}

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

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.cookie-banner-title {
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 4px 0;
}

.cookie-banner-description {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner-button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  min-width: 90px;
}

.cookie-banner-button:focus {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}

.cookie-banner-accept {
  background: #27ae60;
  color: white;
}

.cookie-banner-accept:hover {
  background: #229954;
}

.cookie-banner-reject {
  background: #e74c3c;
  color: white;
}

.cookie-banner-reject:hover {
  background: #c0392b;
}

.cookie-banner-settings {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-banner-settings:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 16px;
  }
  
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 16px;
  }
  
  .cookie-banner-text {
    min-width: auto;
  }
  
  .cookie-banner-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .cookie-banner-button {
    flex: 1;
    min-width: 120px;
  }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
  .cookie-banner {
    background: #000;
    border-top: 2px solid #fff;
  }
  
  .cookie-banner-button {
    border: 2px solid;
  }
}

/* Hide banner when consent is set */
.cookie-banner.hidden {
  display: none;

}
