body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-y: scroll;
}

.content-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.uploader-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 60%;
    width: 100%;
}

.upload-text {
    font-size: 28px;
    color: #005b78;
    margin-bottom: 20px;
    font-weight: bold;
}

.project-id-input {
    border: 2px solid #005b78;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    width: calc(15% - 30px);
    color: #005b78;
    font-size: 24px;
	text-align: center;
    transition: border-color 0.3s, background-color 0.3s;
}

.project-id-input::placeholder {
    color: #005b78;
    font-size: 18px;
    font-weight: normal;
}

.project-id-input:focus,
.project-id-input:not(:placeholder-shown) {
    border-color: #004a5d;
    background-color: #fff;
    outline: none;
}

/* Custom styles for the file input */
.choose-file-btn {
    background-color: #005b78;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.choose-file-btn:hover {
    background-color: #004a5d;
}

.drag-drop-box {
    border: 2px dashed #005b78;
    background-color: #f0f0f0;
    color: #005b78;
    padding: 20px;
	width: 50%;
	height: 50px;
    text-align: center;
	margin: auto;
    margin-top: 20px;
    cursor: pointer;
}

.drag-drop-text {
    font-size: 16px;
    margin: 0;
}

.drag-drop-box.drag-over {
    background-color: #e0e0e0;
}


/* Styling for the selected files section */
.selected-files {
    margin-top: 20px;
    font-size: 16px;
}

.submit-btn {
    background-color: #fff;
    color: #005b78;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s, color 0.3s;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #005b78;
    color: #fff;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    width: 80%;
    max-width: 400px;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.modal-content p {
    font-size: 24px;
    color: #005b78;
    margin-bottom: 20px;
    font-weight: bold;
}

.modal-content button {
    background-color: #005b78;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.modal-content button:hover {
    background-color: #004a5d;
}

/* Close button */
.close {
    color: #aaa;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 20px;
    border: 1px solid #000;
    margin-top: 10px;
    display: none; /* Hidden by default */
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: #4caf50;
    transition: width 0.4s ease;
}

/* File Preview */
.preview-wrapper {
    display: inline-block;
    margin: 10px;
    text-align: center;
    position: relative;
}

.preview-wrapper img {
    max-width: 100px;
    max-height: 100px;
    margin-bottom: 5px;
}

.preview-wrapper p {
    font-size: 12px;
    word-wrap: break-word;
}

/* Remove Button */
.preview-wrapper .remove-button {
    position: absolute;
    top: 0;
    right: 0;
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.preview-wrapper .remove-button:hover {
    background-color: darkred;
}

/* File Size Indicator */
.file-size-indicator {
    position: absolute;
    top: 3px;
    left: 3px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 3px;
    z-index: 1;
}

.submit-btn:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    border: none;
}


/* Drag-and-drop feedback animation */
@keyframes pulseBorder {
    0% { border-color: #00b894; }
    50% { border-color: #00cec9; }
    100% { border-color: #00b894; }
}

.drag-drop-box.drag-over {
    background-color: #e0f7fa;
    animation: pulseBorder 1.2s infinite;
    border-style: solid;
    border-width: 2px;
}

/* Toast Notification */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 17px;
    opacity: 0;
    transition: opacity 0.5s ease, bottom 0.5s ease;
}
.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

/* Upload Limit Feedback */
.upload-limits-text.over-limit {
    color: red;
    font-weight: bold;
}
.upload-limits-text.under-limit {
    color: green;
}

/* Invalid project ID input */
.project-id-input.invalid {
    border-color: red !important;
    background-color: #ffe5e5 !important;
}

/* Modern Progress Bar */
.progress-bar {
    width: 100%;
    height: 14px;
    background-color: #eee;
    border-radius: 7px;
    overflow: hidden;
    margin-top: 10px;
    display: none;
}
.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00b894, #00cec9);
    transition: width 0.4s ease;
}

/* More modern file preview */
.preview-wrapper {
    display: inline-block;
    margin: 10px;
    padding: 8px;
    background-color: #fafafa;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.preview-wrapper img {
    max-width: 180px;
    max-height: 180px;
    margin-bottom: 8px;
    border-radius: 6px;
}

.preview-wrapper p {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

/* Responsive Enhancements */
@media (max-width: 600px) {
    .uploader-container {
        padding: 20px;
        max-width: 90%;
    }
    .project-id-input,
    .choose-file-btn,
    .submit-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
}
/* Clear All Button */
.clear-btn {
    background-color: #f44336;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    margin-left: 10px;
}

.clear-btn:hover {
    background-color: #c62828;
}


.selected-files {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    justify-content: center;
}

.preview-wrapper {
    width: 100%;
    box-sizing: border-box;
}