/* Minimal custom CSS - most styling moved to Tailwind classes */

/* Custom classes to avoid bracket notation (not supported in CDN Tailwind) */
.modal-overlay {
  z-index: 9999;
}

.cookie-consent {
  z-index: 10000;
}

.modal-content-width {
  width: 90%;
}

.max-h-screen-90 {
  max-height: 90vh;
}

.min-w-300 {
  min-width: 300px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUpCookie {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease;
}

.animate-slideUp {
  animation: slideUp 0.3s ease;
}

.animate-slideUpCookie {
  animation: slideUpCookie 0.3s ease-out;
}

/* Modal active state */
#cookieSettings.active,
#trialModal.active {
  display: flex !important;
}

/* Form message states - complementing Tailwind */
#trialMessage.success {
  @apply bg-green-100 text-green-800 block;
}

#trialMessage.error {
  @apply bg-red-100 text-red-800 block;
}

/* Display utilities for roiMessage */
#roiMessage.success {
  background-color: #c6f6d5;
  color: #22543d;
  display: block;
}

#roiMessage.error {
  background-color: #fed7d7;
  color: #742a2a;
  display: block;
}
