/* Cookie Consent Banner Styles */
.cookie-consent-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  transition: all 0.3s ease-in-out;
  display: none;
}

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

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

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

.cookie-consent-text h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.cookie-consent-text p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  font-family: 'Lato', sans-serif;
}

.cookie-consent-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  align-items: center;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
  white-space: nowrap;
}

.cookie-btn-primary {
  background-color: #000;
  color: #fff;
}

.cookie-btn-primary:hover {
  background-color: #333;
  transform: translateY(-1px);
}

.cookie-btn-secondary {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.cookie-btn-secondary:hover {
  background-color: #e9e9e9;
  border-color: #ccc;
}

.cookie-btn-settings {
  background-color: transparent;
  color: #666;
  border: 1px solid #ccc;
}

.cookie-btn-settings:hover {
  background-color: #f9f9f9;
  color: #333;
}

/* Cookie Consent Modal */
.cookie-consent-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-consent-modal.show {
  opacity: 1;
}

.cookie-consent-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-consent-modal-header {
  padding: 20px 20px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.cookie-consent-modal-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.cookie-modal-close:hover {
  background-color: #f5f5f5;
  color: #333;
}

.cookie-consent-modal-body {
  padding: 0 20px;
}

.cookie-category {
  margin-bottom: 25px;
}

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

.cookie-category-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.cookie-category p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  font-family: 'Lato', sans-serif;
}

/* Toggle Switch Styles */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

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

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

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

input:checked + .cookie-slider {
  background-color: #000;
}

input:focus + .cookie-slider {
  box-shadow: 0 0 1px #000;
}

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

input:disabled + .cookie-slider {
  background-color: #4CAF50;
  cursor: not-allowed;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .cookie-consent-buttons {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
  
  .cookie-consent-modal-content {
    width: 95%;
    max-height: 85vh;
  }
  
  .cookie-consent-modal-header,
  .cookie-consent-modal-body,
  .cookie-consent-modal-footer {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .cookie-consent-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cookie-consent-text h3 {
    font-size: 16px;
  }
  
  .cookie-consent-text p {
    font-size: 13px;
  }
  
  .cookie-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .cookie-consent-modal-header h2 {
    font-size: 18px;
  }
  
  .cookie-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Animation for smooth appearance */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent-banner.show {
  animation: slideUp 0.3s ease-out;
}