body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa; /* Off-white background */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.header2{
    margin-bottom:60px;
    color: blue;
}

#pdf-uploader {
    background-color: white;
    padding: 50px 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 700px; /* Max width */
    width: 100%; /* Full width for smaller screens */
    border: 2px dashed #007bff;
    text-align: center;
}

.remove {
    color: red;
    margin-left: 10px;
    cursor: pointer;
}

#download-container a {
    display: inline-block;
    cursor: pointer;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    text-decoration: none; /* Removes underline from links */
    margin-right: 5px;
}

#download-container a:hover {
    background-color: #0056b3;
}

/* Progress bar */
#progress-container {
    width: 100%;
    margin: 10px 0;
}

#progress-bar {
    width: 100%;
    height: 20px;
}

#progress-bar::-webkit-progress-value {
    background-color: #007bff; /* For WebKit browsers */
}

#progress-bar {
    /* For non-WebKit browsers */
    background-color: #007bff;
}

.pdf-thumbnail {
    width: 50px;
    margin-right: 10px;
}

#pdf-preview {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping to next line */
    justify-content: flex-start;
    width: 100%; /* Full width of the container */
    margin-top: 10px;
    gap: 10px; /* Space between file previews */
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between thumbnail, filename, and remove icon */
}

.pdf-thumbnail {
    width: 50px; /* Size of the PDF thumbnail */
    margin-right: 10px;
}


.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 10px;
}

.custom-file-upload:hover {
    background-color: #e2e6ea;
}

button {
    cursor: pointer;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}
