/* Cookie Consent Banner */

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  z-index: 1050;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  padding: 20px 0;
  border-top: 3px solid var(--primary-blue, #1E88E5);
}

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

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

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-text strong {
  display: block;
  font-size: 1rem;
  color: #1f2937;
  margin-bottom: 4px;
}

.cookie-banner-text p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

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

.cookie-btn {
  border-radius: 12px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cookie-btn-accept {
  background: var(--primary-gradient, linear-gradient(135deg, #1E88E5, #8B5CF6));
  color: white;
  border: none;
}

.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
  color: white;
}

.cookie-btn-reject {
  background: transparent;
  color: #374151;
  border: 2px solid #d1d5db;
}

.cookie-btn-reject:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #374151;
}

.cookie-settings-link {
  font-size: 0.85rem;
  color: var(--primary-blue, #1E88E5);
  text-decoration: underline;
  white-space: nowrap;
}

.cookie-settings-link:hover {
  color: var(--ai-purple, #8B5CF6);
}

/* Cookie Settings Modal - Category Cards */
.cookie-category {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
}

.cookie-category h6 {
  color: #1f2937;
}

.cookie-category .form-check-input:checked {
  background-color: var(--primary-blue, #1E88E5);
  border-color: var(--primary-blue, #1E88E5);
}

.cookie-category .form-check-input:disabled {
  opacity: 0.7;
}

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

  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .cookie-btn {
    width: 100%;
  }

  .cookie-settings-link {
    margin-top: 4px;
  }
}

@media (max-width: 576px) {
  .cookie-consent-banner {
    padding: 16px 0;
  }

  .cookie-banner-content {
    padding: 0 16px;
  }

  .cookie-banner-text strong {
    font-size: 0.95rem;
  }

  .cookie-banner-text p {
    font-size: 0.8rem;
  }
}
