/* GDPR Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 26, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(108, 92, 231, 0.3);
  padding: 24px 20px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

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

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

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cookie-banner-text {
  color: #b2b2d0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-banner-text strong {
  color: #ffffff;
}

.cookie-banner-text a {
  color: #00cec9;
  text-decoration: underline;
}

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

.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #6c5ce7 0%, #5a4bd1 100%);
  color: #ffffff;
}

.cookie-btn-primary:hover {
  background: linear-gradient(135deg, #7d6df0 0%, #6b5ce0 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.4);
}

.cookie-btn-secondary {
  background: transparent;
  color: #b2b2d0;
  border: 1px solid #2d2d4a;
}

.cookie-btn-secondary:hover {
  border-color: #6c5ce7;
  color: #ffffff;
  background: rgba(108, 92, 231, 0.1);
}

.cookie-btn-outline {
  background: transparent;
  color: #6c5ce7;
  border: 1px solid #6c5ce7;
}

.cookie-btn-outline:hover {
  background: rgba(108, 92, 231, 0.15);
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.cookie-modal {
  background: #1a1a2e;
  border-radius: 12px;
  border: 1px solid #2d2d4a;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.cookie-modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #2d2d4a;
}

.cookie-modal-header h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.cookie-modal-header p {
  color: #b2b2d0;
  font-size: 0.9rem;
}

.cookie-modal-body {
  padding: 24px;
}

.cookie-type-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(108, 92, 231, 0.05);
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid #2d2d4a;
}

.cookie-type-item:last-child {
  margin-bottom: 0;
}

.cookie-type-checkbox {
  flex-shrink: 0;
  margin-top: 4px;
}

.cookie-type-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #6c5ce7;
}

.cookie-type-info h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 4px;
}

.cookie-type-info p {
  color: #b2b2d0;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.cookie-type-info .cookie-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-chip {
  background: rgba(108, 92, 231, 0.2);
  color: #a29bfe;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.cookie-chip.required {
  background: rgba(253, 121, 168, 0.2);
  color: #fd79a8;
}

.cookie-modal-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid #2d2d4a;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-banner-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cookie-banner-buttons {
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }

  .cookie-modal {
    margin: 10px;
    max-height: calc(100vh - 20px);
  }
}
