/* GDPR Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 20px;
  z-index: 10000;
  border-top: 3px solid #5a9fa6;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

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

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cookie-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.cookie-text {
  flex: 1;
}

.cookie-text h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.cookie-text p {
  color: #cccccc;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-text a {
  color: #5a9fa6;
  text-decoration: underline;
}

.cookie-text a:hover {
  color: #ffffff;
}

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

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  white-space: nowrap;
}

.cookie-btn.accept {
  background-color: #5a9fa6;
  color: #ffffff;
}

.cookie-btn.accept:hover {
  background-color: #4a8a8f;
  transform: translateY(-1px);
}

.cookie-btn.reject {
  background-color: transparent;
  color: #cccccc;
  border: 1px solid #666666;
}

.cookie-btn.reject:hover {
  background-color: #333333;
  color: #ffffff;
  border-color: #999999;
}

.cookie-btn.customize {
  background-color: transparent;
  color: #5a9fa6;
  border: 1px solid #5a9fa6;
}

.cookie-btn.customize:hover {
  background-color: #5a9fa6;
  color: #ffffff;
}

/* Cookie Customization Modal */
.cookie-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: 20px;
}

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

.cookie-modal-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.cookie-modal-header h3 {
  color: #1a1a1a;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #666666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-close:hover {
  color: #1a1a1a;
}

.cookie-categories {
  margin-bottom: 30px;
}

.cookie-category {
  margin-bottom: 25px;
  padding: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

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

.cookie-category h4 {
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

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

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

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

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

.cookie-toggle input:checked + .cookie-slider {
  background-color: #5a9fa6;
}

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

.cookie-toggle input:disabled + .cookie-slider {
  background-color: #5a9fa6;
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-category p {
  color: #666666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-category.essential {
  background-color: #f8f9fa;
}

.cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.cookie-modal-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.cookie-modal-btn.save {
  background-color: #5a9fa6;
  color: #ffffff;
}

.cookie-modal-btn.save:hover {
  background-color: #4a8a8f;
}

.cookie-modal-btn.cancel {
  background-color: transparent;
  color: #666666;
  border: 1px solid #cccccc;
}

.cookie-modal-btn.cancel:hover {
  background-color: #f5f5f5;
  border-color: #999999;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 15px;
  }
  
  .cookie-info {
    flex-direction: column;
    gap: 20px;
  }
  
  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 100px;
    text-align: center;
  }
  
  .cookie-modal-content {
    padding: 20px;
    margin: 10px;
  }
  
  .cookie-modal-actions {
    flex-direction: column;
  }
  
  .cookie-modal-btn {
    width: 100%;
  }
  
  .cookie-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}