/* Tabelo - Cookie Consent Banner Component */

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  animation: slideUp 0.4s var(--transition-base);
}

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

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

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

.cookie-consent-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-primary);
}

.cookie-consent-text strong {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cookie-consent-link {
  color: var(--accent-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.cookie-consent-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

.cookie-consent-actions button {
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  white-space: nowrap;
}

.btn-accept {
  background: var(--primary);
  color: var(--text-primary);
}

.btn-accept:hover {
  background: var(--primary-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-decline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.btn-decline:hover {
  background: var(--overlay-light);
  border-color: var(--text-secondary);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
    padding: var(--spacing-md);
    gap: var(--spacing-md);
  }

  .cookie-consent-text {
    text-align: center;
  }

  .cookie-consent-text p {
    font-size: 0.875rem;
  }

  .cookie-consent-actions {
    justify-content: center;
    width: 100%;
  }

  .cookie-consent-actions button {
    flex: 1;
    padding: 0.75rem 1rem;
  }
}
