.fade-toggle {
    opacity: 0;
    transform: scale(0.95);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.fade-toggle.show {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

/* 
.slide-up {
    margin-top: -4rem;
} */

/* list styles */
#versionsList table {
    /* border-radius: 8px; */
    /* margin-bottom: -15rem !important; */
}

#versionsList .table-responsive {
    max-height: 40vh;
    overflow-y: auto;
    /* vertical scroll */
}

/* #versionsList tbody tr {
    transition: all 0.3s ease;
} */

#versionsList tbody tr td,
#versionsList tbody tr th {
    vertical-align: middle;
    padding: 12px 16px;
}

/* 
#versionsList .btn,
#mainDownloadButton {
    min-width: 100px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
} */

#versionsList .btn:hover,
#mainDownloadButton {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* smooth fade-in for new rows */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInRow 0.4s forwards;
}

@keyframes fadeInRow {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    #brandingLogo {
        margin-top: -5rem;
    }

    /* #btn_and_download_list {
        margin-top: -1rem;
    } */
    #versionsList .table-responsive {
        max-height: 70vh;
        margin-bottom: -5rem;
    }

    #mainDownloadButton {
        margin-top: -0.5rem;
    }

    #appName {
        margin-top: -3rem;
    }

    #moreDowloadsButton {
        margin-bottom: 1rem;
    }
}