
.modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}



.modal-content {
    position: relative;
    width: 500px;
    height: 400px;
    max-width: 90%;
        max-height: 90%;
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    animation: modalFade 0.25s ease;
    overflow-y: scroll;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    z-index: 10001;
}

.close-btn:hover {
    transform: scale(1.2);
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}