/* Cookie Consent Banner Styles */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  border-top: 3px solid #007bff;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 300px;
}

.cookie-consent-text h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.cookie-consent-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #e0e0e0;
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  min-width: 120px;
}

.cookie-btn-primary {
  background: #007bff;
  color: #ffffff;
}

.cookie-btn-primary:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

.cookie-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.cookie-btn-secondary:hover {
  background: #ffffff;
  color: #1a1a1a;
}

.cookie-btn-settings {
  background: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

.cookie-btn-settings:hover {
  background: #007bff;
  color: #ffffff;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-settings-modal.show {
  display: flex;
}

.cookie-settings-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
  margin-bottom: 1.5rem;
}

.cookie-settings-header h2 {
  margin: 0 0 0.5rem 0;
  color: #1a1a1a;
  font-size: 1.5rem;
}

.cookie-settings-header p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cookie-category-title {
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 24px;
  background: #ccc;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s;
}

.cookie-toggle.active {
  background: #007bff;
}

.cookie-toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s;
}

.cookie-toggle.active .cookie-toggle-slider {
  transform: translateX(26px);
}

.cookie-category-description {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

.cookie-settings-footer {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-consent {
    padding: 1rem;
  }
  
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .cookie-consent-text {
    min-width: auto;
  }
  
  .cookie-consent-buttons {
    justify-content: center;
    width: 100%;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 100px;
  }
  
  .cookie-settings-content {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .cookie-settings-footer {
    flex-direction: column;
  }
}

/* Animation for cookie icon */
.cookie-icon {
  display: inline-block;
  margin-right: 0.5rem;
  animation: cookie-bounce 2s infinite;
}

@keyframes cookie-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-3px);
  }
  60% {
    transform: translateY(-2px);
  }
}
