.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  display: none;
  max-width: 400px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-popup.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-content {
  padding: 24px;
}

.cookie-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 12px 0;
}

.cookie-description {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.cookie-preferences {
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.cookie-option {
  margin: 12px 0;
}

.cookie-option label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.875rem;
  color: #333;
}

.cookie-option input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cookie-option input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn-accept-all,
.btn-reject-all,
.btn-preferences,
.btn-save-preferences {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  min-width: 100px;
}

.btn-accept-all {
  background-color: #22c55e;
  color: white;
}

.btn-accept-all:hover {
  background-color: #16a34a;
}

.btn-reject-all {
  background-color: #fff;
  color: #333;
  border: 1px solid #e5e5e5;
}

.btn-reject-all:hover {
  background-color: #f5f5f5;
}

.btn-preferences {
  background: linear-gradient(135deg, #f97316, #a855f7);
  color: white;
}

.btn-preferences:hover {
  opacity: 0.9;
}

.btn-save-preferences {
  background-color: #3b82f6;
  color: white;
}

.btn-save-preferences:hover {
  background-color: #2563eb;
}

@media (max-width: 768px) {
  .cookie-popup {
    bottom: 0;
    right: 0;
    left: 0;
    max-width: 100%;
    border-radius: 12px 12px 0 0;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .btn-accept-all,
  .btn-reject-all,
  .btn-preferences,
  .btn-save-preferences {
    width: 100%;
  }
}
