/* Cookie Consent Banner Styles */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2c3e50;
  color: #fff;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  display: none;
  animation: slideUp 0.5s ease-out;
}

.cookie-consent-banner.show {
  display: block;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

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

.cookie-consent-text p {
  margin: 0;
  line-height: 1.6;
}

.cookie-consent-text a {
  color: #3498db;
  text-decoration: underline;
}

.cookie-consent-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

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

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

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

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

.cookie-consent-btn-settings {
  background: #95a5a6;
  color: white;
}

.cookie-consent-btn-settings:hover {
  background: #7f8c8d;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

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

.cookie-settings-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.cookie-settings-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #95a5a6;
}

.cookie-settings-close:hover {
  color: #2c3e50;
}

.cookie-category {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid #ecf0f1;
  border-radius: 5px;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 24px;
}

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

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: #27ae60;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(26px);
}

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

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