/* Cookie Consent Banner */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 20px;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  animation: slideUp 0.5s ease;
}

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

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

.cookie-icon {
  font-size: 40px;
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
}

.cookie-text h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #4FC3F7;
}

.cookie-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn-primary,
.cookie-btn-secondary {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #4FC3F7, #29B6F6);
  color: #000;
}

.cookie-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 195, 247, 0.4);
}

.cookie-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-secondary:hover {
  border-color: #4FC3F7;
  color: #4FC3F7;
}

/* Cookie Settings Modal */
#cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal-content {
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: #666;
  cursor: pointer;
  transition: color 0.3s;
}

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

.cookie-modal-content h2 {
  margin: 0 0 10px 0;
  font-size: 28px;
  color: #222;
}

.cookie-modal-desc {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-category {
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 10px;
  border-left: 4px solid #4FC3F7;
}

.cookie-category-header {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.cookie-category h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: #222;
}

.cookie-category p {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}

.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.4s;
  border-radius: 26px;
}

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

.cookie-switch input:checked + .cookie-slider {
  background-color: #4FC3F7;
}

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

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

.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.cookie-modal-actions button {
  flex: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn-primary,
  .cookie-btn-secondary {
    width: 100%;
  }

  .cookie-modal-content {
    padding: 30px 20px;
  }

  .cookie-modal-content h2 {
    font-size: 24px;
  }

  .cookie-category-header {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-modal-actions {
    flex-direction: column;
  }
}
