
/* ==========================================================
   /assets/ui/ljh-modal.css - V 1.0 : 2025/12/27
   LJH MODAL SYSTEM – v1.0
   Bas för alla framtida modaler
========================================================== */

/* MODAL WRAPPER – dolt grundläge */
.aqua-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(5, 10, 25, 0.65);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* AKTIV MODAL */
.aqua-modal {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.aqua-modal.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}


/* SJÄLVA GLASRUTAN */
.aqua-modal-glass {
  width: 90%;
  max-width: 860px;
  max-height: 85vh;

  overflow-y: auto;

  border-radius: 24px;
  padding: 2.2rem 2.4rem;

  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);

  border: 1px solid rgba(255,255,255,0.18);

  box-shadow:
    inset 0 0 32px rgba(255,255,255,0.12),
    0 28px 60px rgba(0,0,0,0.65);
}

.modal-hidden {
  display: none;
}


