.upload-section {
    position: fixed; /* Make the upload box fixed */
    top: 20%; /* Adjust as needed */
    left: 5%; /* Adjust as needed */
    width: 285px; /* Adjust width as needed */
    height: 410px; /* Adjust height as needed */
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Ensure padding is included in the height/width */
    overflow: auto; /* Add scroll if content overflows */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure the download button is at the bottom */
}

/* Additional styles for the form */
form {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Adjust to stretch within the upload-section */
}

label {
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 10px;
}

input[type="file"], select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #f9f9f9; /* Light grey background */
    color: var(--text-color); /* Text color */
    font-family: 'Roboto', sans-serif;
}

input[type="file"]:focus, select:focus {
    border-color: var(--accent-color); /* Change border color on focus */
    outline: none; /* Remove default outline */
}

button {
    background-color: #000000; /* Navy blue background */
    color: #ffffff; /* White text color */
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

button:hover {
    background-color: #002244; /* Darker navy blue on hover */
    transform: scale(1.05); /* Slightly increase size on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}

button:active {
    transform: scale(0.95); /* Slightly decrease size on active */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reduce shadow on active */
}

#loading {
    text-align: center;
    margin-top: 20px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
