/**
 * Akeia AI Cookie Consent Banner Styles
 * Branded with Akeia green gradient colors
 */

#akeia-cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 1.5rem 1rem;
  z-index: 10000;
  display: none;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #CDE899, #89B362, #5D8D49) 1;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

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

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

.cookie-consent-content {
  flex: 1;
  min-width: 280px;
}

.cookie-consent-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.cookie-consent-text {
  font-size: 0.9375rem;
  color: #4B5563;
  line-height: 1.6;
  margin: 0;
}

.cookie-consent-text a {
  color: #5D8D49;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.cookie-consent-text a:hover {
  color: #89B362;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-consent-btn {
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.2s ease;
  min-height: 44px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-consent-btn:focus {
  outline: 2px solid #5D8D49;
  outline-offset: 2px;
}

.cookie-consent-btn-accept {
  background: linear-gradient(135deg, #89B362 0%, #5D8D49 100%);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(93, 141, 73, 0.2);
}

.cookie-consent-btn-accept:hover {
  background: linear-gradient(135deg, #7BA968 0%, #4F7A3D 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(93, 141, 73, 0.3);
}

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

.cookie-consent-btn-decline {
  background: #ffffff;
  color: #4B5563;
  border: 2px solid #D1D5DB;
}

.cookie-consent-btn-decline:hover {
  background: #F9FAFB;
  border-color: #9CA3AF;
  color: #111827;
}

.cookie-consent-btn-decline:active {
  background: #F3F4F6;
}

.cookie-consent-btn-manage {
  background: transparent;
  color: #5D8D49;
  padding: 0.625rem 1rem;
  font-weight: 500;
  text-decoration: underline;
  border: none;
}

.cookie-consent-btn-manage:hover {
  color: #89B362;
  background: rgba(137, 179, 98, 0.1);
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  #akeia-cookie-consent-banner {
    padding: 1.25rem 1rem;
  }
  
  .cookie-consent-container {
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
  }
  
  .cookie-consent-content {
    min-width: 100%;
  }
  
  .cookie-consent-title {
    font-size: 1rem;
  }
  
  .cookie-consent-text {
    font-size: 0.875rem;
  }
  
  .cookie-consent-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.625rem;
  }
  
  .cookie-consent-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .cookie-consent-title {
    font-size: 0.9375rem;
  }
  
  .cookie-consent-text {
    font-size: 0.8125rem;
  }
  
  .cookie-consent-btn {
    font-size: 0.875rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  #akeia-cookie-consent-banner {
    border-top: 4px solid #5D8D49;
  }
  
  .cookie-consent-btn-accept {
    background: #5D8D49;
  }
  
  .cookie-consent-btn-decline {
    border-width: 3px;
  }
}

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

/* Print styles - hide banner when printing */
@media print {
  #akeia-cookie-consent-banner {
    display: none !important;
  }
}




