.drop-area {
    width: 100%;
    height: 150px;
    border: 2px dashed #ccc;
    display: inline-block; /* Change to inline-block */
    white-space: nowrap; /* Prevent wrapping */
    overflow-x: scroll; /* Enable horizontal scrolling */
    overflow-y: hidden; /* Disable vertical scrolling */
    margin-bottom: 0px;
    position: relative;
    scroll-snap-type: x mandatory; /* Enable scroll snapping */
    text-align: center; /* Center text */
}

.drop-area p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold; /* Make font bolder */
    font-family: Arial, sans-serif; /* Clearer font */
    color: #333;
}
.drop-area .browse-link {
    color: black; /* Make browse link black */
    text-decoration: underline; /* Underline the link */
}
.drop-area.hover {
    border-color: #333;
}
.drop-area.hover::before {
    color: #000;
}
.drop-area.has-files::before {
    display: none;
}
.thumbnail {
    width: 100px;
    height: 100px;
    background-color: #eee;
    display: inline-block; /* Change to inline-block */
    margin: 20px 20px 0 0; /* Add top and right padding */
    position: relative;
    vertical-align: middle; /* Vertically center */
    scroll-snap-align: end; /* Snap to the end */
}
.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.remove-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background-color: red;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    line-height: 20px;
}
.single-upload-box .drop-area {
    width: 100%;
    height: 150px;
    border: 2px dashed #ccc;
    display: inline-block;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    margin-bottom: 0px;
    position: relative;
    scroll-snap-type: x mandatory;
    text-align: center; /* Center text */
}

.single-upload-box .drop-area .browse-link {
    color: black; /* Make browse link black */
    text-decoration: underline; /* Underline the link */
}
.single-upload-box .drop-area.hover {
    border-color: #333;
}
.single-upload-box .drop-area.hover::before {
    color: #000;
}
.single-upload-box .drop-area.has-files::before {
    display: none;
}
.loading-bar {
    width: 0;
    height: 5px;
    background-color: green;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.4s ease;
}
.loading-container {
    position: relative;
    width: 100%;
    height: 5px;
    background-color: #ccc;
    margin-top: 0px;
    margin-bottom: 20px;
}

.upload-button-container {
    display: flex;
    justify-content: flex-start; /* Align buttons to the left */
    gap: 10px; /* Add spacing between buttons */
    margin-top: 10px;
}

.browse-button, .upload-button {
    background-color: #007bff; /* Same color for both buttons */
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
}

.browse-button:hover, .upload-button:hover {
    background-color: #0056b3; /* Same hover color for both buttons */
}

.browse-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
}

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