body, html {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    padding: 20px; /* Ensure there's some padding around the container */
}

.upload-container {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    background-color: white;
    padding: 20px;
    width: 100%; /* Adjust based on the maximum width you desire */
    max-width: 500px; /* Increased max width of the container for wider layout */
    text-align: center;
    box-sizing: border-box; /* Include padding and border in the element's width and height */
}

.drop-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    width: calc(100% - 40px); /* Adjust width based on padding, automatically adjusts with container width */
    height: 200px;
    margin: 0 auto 20px; /* Center align and add margin at the bottom */
    padding: 20px;
    box-sizing: border-box; /* Include padding and border */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.drop-area:hover, .drop-area.dragover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: auto; /* Adjust if you want buttons to have specific width */
}

button:hover {
    background-color: #0056b3;
}

#fileCount {
    margin-top: 0;
    margin-bottom: 20px;
    color: #555;
}

#combineButton {
    width: 100%; /* Ensures the combine button stretches to match the container's width */
    font-weight: bold;
}

input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}
