/* CSS-only Modal Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup__content {
    position: relative;
    width: 75%;
    max-width: 800px;
    max-height: 90vh;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow-y: auto;
    margin: 20px;
}

.popup__close {
    position: sticky;
    top: 10px;
    float: right;
    font-size: 30px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
    z-index: 10;
    line-height: 1;
    margin-bottom: 10px;
}

.popup__close:hover {
    color: #000;
}

.popup__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
