/* Cookie Consent Banner Styles */
/* Consistent with Digital Will Landing design system */

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99998;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

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

.cookie-consent-banner.hide {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-consent-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.cookie-consent-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-consent-icon i {
  font-size: 1.5rem;
  color: white;
}

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

.cookie-consent-message h3 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.cookie-consent-message p {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.cookie-btn-reject {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #475569;
}

.cookie-btn-reject:hover {
  background: #1e293b;
  color: white;
  border-color: #64748b;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  .cookie-consent-text {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .cookie-consent-icon {
    width: 40px;
    height: 40px;
  }
  
  .cookie-consent-icon i {
    font-size: 1.25rem;
  }
  
  .cookie-consent-message h3 {
    font-size: 0.95rem;
  }
  
  .cookie-consent-message p {
    font-size: 0.8rem;
  }
  
  .cookie-consent-actions {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    max-width: 150px;
    padding: 0.75rem 1rem;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .cookie-consent-actions {
    flex-direction: column;
  }
  
  .cookie-btn {
    max-width: 100%;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .cookie-consent-banner {
    transition: none;
  }
  
  .cookie-btn {
    transition: none;
  }
}

/* Print - hide banner */
@media print {
  .cookie-consent-banner {
    display: none !important;
  }
}
