/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.modal-overlay.hidden {
  display: none !important;
}

.modal-content {
  background: rgba(26, 26, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  /* Default max-width, can be overridden by Tailwind classes */
}

/* Default modal size for most modals */
.modal-content:not([class*="w-["]):not([class*="max-w-"]) {
  max-width: 32rem;
}

/* Wide modal variant for biomarker analysis */
.modal-content-wide {
  max-width: 75vw !important;
  width: 90% !important;
}

@media (min-width: 768px) {
  .modal-content-wide {
    width: 75% !important;
  }
}
