/* modalne okna nad hlavnou strankou a s vypnutym reagovanim hlavnej stranky, kym su vidiet */

@keyframes modalPop {
    from { transform: translate(-50%, -48%) scale(0.99); opacity: 0.6; }
    to   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;         /* top:0; right:0; bottom:0; left:0; */
    z-index: 10000;
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    pointer-events: auto;
}

.modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    color: #111;
    max-width: 60%;
    width: 300px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 10001;
    pointer-events: auto;
}

.modal-overlay.show .modal-content {
    animation: modalPop .18s ease-out;
}

