body {
    --sb-track-color: #ffffff;
    --sb-thumb-color: #a8a8a8;
    --sb-size: 9px;
}

body::-webkit-scrollbar {
    width: var(--sb-size)
}

body::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 10px;

}



body {
    background-color: #f4f7fc;
    font-family: 'Arial', sans-serif;
    color: #333;
    margin-top: 80px;

}

.pagination.d-none {
    display: none;
}

.pagination-lg .page-link {
    color: #007bff;
    background-color: #fff;
    margin: 20px;
    border-color: #ddd;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 18px;
}

.pagination-lg .page-link:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    text-decoration: none;
}

.pagination-lg .active .page-link {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.pagination-lg .page-item .page-link {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pagination-lg .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.page-item:first-child .page-link {
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
}

.page-item:last-child .page-link {
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}


.share-btn {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}


.modal-content {
    border-radius: 10px;
}


.pagination .page-item.active .page-link {
    background-color: #007bff;
    color: white;
}


#fileGrid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}



.modal-content {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.btn {
    transition: all 0.3s ease;
    border-radius: 30px;

}


.btn:hover {
    opacity: 0.9;
}


.btn-close {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}


.progress-bar {
    background-color: #007bff;
}


@media (max-width: 768px) {
    .table {
        width: 100%;

    }

    .table-container {
        padding: 15px;

    }

    .btn {
        width: 100%;

        margin-bottom: 10px;

    }
}



.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background: linear-gradient(145deg, #e0eaff, #b8d4ff);
}


.modal-header {
    background-color: #007bff;

    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-title {
    color: #fff;
    font-weight: bold;
}


.btn-close {
    background-color: transparent;
    border: none;
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}


.modal-body {
    padding: 20px;
    background-color: #f0f8ff;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}


.form-control {
    border: 2px solid #007bff;
    border-radius: 10px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}


.progress-bar {
    background-color: #0056b3;
    height: 20px;
}


.modal-footer {
    justify-content: space-between;
    padding: 15px 20px;
    border-top: none;
    background-color: #e0f0ff;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}


.btn-primary {
    background-color: #007bff;
    border: none;
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 8px 16px;
}

.btn-primary:hover {
    background-color: #0056b3;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background-color: #6c757d;
    border: none;
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 8px 16px;
}

.btn-secondary:hover {
    background-color: #5a6268;
    box-shadow: 0 0 10px rgba(108, 117, 125, 0.3);
}


@media (max-width: 768px) {
    .modal-dialog {
        margin: 10px;
    }

    .modal-content {
        border-radius: 10px;
    }

    .modal-header,
    .modal-footer {
        border-radius: 10px;
    }

    .modal-footer .btn {
        width: 100%;

        margin-bottom: 10px;

    }
}


.progress {
    height: 30px;
    background-color: #e0f0ff;

    border-radius: 15px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.progress-bar {
    background-color: #007bff;

    height: 100%;
    transition: width 0.4s ease-in-out;

    border-radius: 15px 0 0 15px;

    line-height: 40px;

    color: #fff;

    text-align: center;

    font-weight: bold;

}


.progress-bar::after {
    content: attr(data-content);
    display: block;
    font-size: 14px;
    color: #fff;

}


footer {
    background-color: #343a40;
    color: #ffffff;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
    position: fixed;
    width: 100%;
    bottom: 0;
}