/* Cookie Consent Banner Styles */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  color: #ffffff;
  padding: 20px;
  z-index: 10000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

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

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

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

.cookie-consent-text h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.cookie-consent-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #cccccc;
}

.cookie-consent-text a {
  color: #007bff;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-consent-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-consent-btn.accept {
  background: #28a745;
  color: white;
}

.cookie-consent-btn.accept:hover {
  background: #218838;
}

.cookie-consent-btn.decline {
  background: #6c757d;
  color: white;
}

.cookie-consent-btn.decline:hover {
  background: #5a6268;
}

.cookie-consent-btn.preferences {
  background: transparent;
  color: #007bff;
  border: 1px solid #007bff;
}

.cookie-consent-btn.preferences:hover {
  background: #007bff;
  color: white;
}

/* Cookie Preferences Modal */
.cookie-preferences-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-preferences-modal.show {
  display: flex;
}

.cookie-preferences-content {
  background: white;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.cookie-preferences-header {
  padding: 24px 24px 0 24px;
  border-bottom: 1px solid #eee;
  margin-bottom: 24px;
}

.cookie-preferences-header h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.cookie-preferences-header p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.cookie-preferences-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 4px;
}

.cookie-preferences-body {
  padding: 0 24px 24px 24px;
}

.cookie-category {
  margin-bottom: 24px;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
}

.cookie-category-header {
  background: #f8f9fa;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.cookie-category-title {
  font-weight: 600;
  color: #333;
  margin: 0;
}

.cookie-category-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: #ccc;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s;
}

.cookie-toggle.active {
  background: #28a745;
}

.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.cookie-toggle.active::after {
  transform: translateX(20px);
}

.cookie-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-category-content {
  padding: 16px;
  border-top: 1px solid #eee;
  display: none;
}

.cookie-category.expanded .cookie-category-content {
  display: block;
}

.cookie-category-description {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
}

.cookie-examples {
  font-size: 13px;
  color: #888;
}

.cookie-preferences-footer {
  padding: 24px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cookie-preferences-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-preferences-btn.save {
  background: #28a745;
  color: white;
}

.cookie-preferences-btn.save:hover {
  background: #218838;
}

.cookie-preferences-btn.cancel {
  background: #6c757d;
  color: white;
}

.cookie-preferences-btn.cancel:hover {
  background: #5a6268;
}

/* Cookie Settings Link */
.cookie-settings-link {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #007bff;
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 12px;
  z-index: 9999;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.cookie-settings-link:hover {
  opacity: 1;
  color: white;
  text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-consent-actions {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-consent-btn {
    flex: 1;
    min-width: 120px;
  }
  
  .cookie-preferences-content {
    margin: 10px;
    max-height: 90vh;
  }
  
  .cookie-preferences-footer {
    flex-direction: column;
  }
  
  .cookie-preferences-btn {
    width: 100%;
  }
} 