/* AlmaCalma — custom polish (layout is mostly Tailwind) */

.material-symbols-outlined{
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

html{ scroll-behavior:smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation:none !important; transition:none !important; }
}

/* Soft entrance animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
.animate-fade-in-up{
  animation: fadeInUp .8s ease-out both;
}

/* =========================
   MODAL SYSTEM (JS-DRIVEN)
========================= */

.modal{
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 1rem;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);

  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.modal.active{
  opacity: 1;
  pointer-events: auto;
}

.modal-content{
  max-height: 80vh;
  overflow-y: auto;
}

/* Nice scrollbar (WebKit) */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ccd5ae; border-radius: 6px; }

/* details markers */
details > summary { list-style:none; }
details > summary::-webkit-details-marker { display:none; }
