/* CSS style for the modal dialog base styles */
/* ===== MODAL BASE STYLES ===== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; 
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.visible {
  display: flex;
}

.modal-content {
  background: #222;
  border-radius: 12px;
  padding: 2em;
  width: 90vw;
  max-width: 600px;
  box-shadow: 0 4px 32px #000;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5em;
  cursor: pointer;
}

.hidden-fullscreen {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
