﻿
.custom-file-upload {
    display: inline-block;
    padding: 5px 20px;
    cursor: pointer;
    background-color: #17a2b8;
    color: white;
    border-radius: 20px;
    text-align: center;
}

    .custom-file-upload input[type="file"] {
        display: none;
    }

/* Modal overlay styles */
.modal-overlay-upload {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content-upload {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Spinner styles */
.spinner-upload {
    margin: 10px auto;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin-upload 1s linear infinite;
}

@keyframes spin-upload {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Progress bar styles */
.progress-bar-upload {
    background-color: #e0e0e0;
    border-radius: 5px;
    width: 100%;
    height: 20px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill-upload {
    background-color: #3498db;
    height: 100%;
    transition: width 0.3s ease;
}


