/* Cookie Banner Styles for MENDR */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--gray-200, #e5e7eb);
  box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cookie-banner-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.cookie-banner-text {
  flex: 1;
  min-width: 0;
}

.cookie-banner-text h4 {
  margin: 0 0 0.5rem 0;
  color: var(--gray-900, #111827);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.cookie-banner-text p {
  margin: 0;
  color: var(--gray-600, #4b5563);
  font-size: 0.875rem;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--primary-600, #2563eb);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cookie-banner-text a:hover {
  color: var(--primary-700, #1d4ed8);
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  align-items: flex-start;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  min-width: 120px;
  text-align: center;
}

.cookie-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.cookie-btn-secondary {
  background: var(--gray-100, #f3f4f6);
  color: var(--gray-700, #374151);
  border: 1px solid var(--gray-300, #d1d5db);
}

.cookie-btn-secondary:hover {
  background: var(--gray-200, #e5e7eb);
  border-color: var(--gray-400, #9ca3af);
}

.cookie-btn-primary {
  background: linear-gradient(135deg, var(--primary-600, #2563eb) 0%, var(--primary-700, #1d4ed8) 100%);
  color: white;
  border: 1px solid var(--primary-600, #2563eb);
}

.cookie-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.cookie-btn-primary:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.25rem;
  }

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

  .cookie-btn {
    flex: 1;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .cookie-banner-content {
    padding: 1rem;
  }

  .cookie-banner-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* Animation for showing/hiding */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.cookie-banner.animate-in {
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cookie-banner.animate-out {
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
