﻿/* Tailwind-only modal primitives */
.lg-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow-y: auto;
}

    .lg-modal.hidden {
        display: none;
    }

.lg-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.65);
    backdrop-filter: blur(2px);
}

.lg-modal__wrap {
    position: relative;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* prevent background scroll while a modal is open */
body.lg-modal-open {
    overflow: hidden;
}
