#uploadStatus {
    display: block;
    margin-top: 8px; /* Adds space below the input */
    font-weight: normal;
    color: #444; /* Subtle color */
    text-align: left; /* Aligns correctly */
    font-size: 14px;
    padding-left: 10px;
    width: fit-content; /* Prevents it from stretching */
    position: relative;
    left: 0;
    float: none; /* Ensure it's not floating */
    clear: both; /* Pushes it to a new line */
}



/* General Styling for Upload Page */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    text-align: center;
    padding: 40px 0;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

.upload-container {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 90%;
    max-width: 600px;
    margin: auto;
}

h2 {
    text-align: center;
    color: #007bff;
    font-size: 22px;
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    display: block;
    margin: 15px 0 5px;
    color: #555;
}

input[type="file"], textarea, select, input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: all 0.3s;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

select {
    background: #fff;
    cursor: pointer;
}

/* Video Preview Styling */
#videoPreview {
    width: 100%;
    max-width: 100%;
    display: none;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: opacity 0.4s ease-in-out;
}

/* Progress Bar */
.progress-container {
    text-align: center;
    margin-top: 15px;
    position: relative;
}

progress {
    width: 100%;
    height: 12px;
    border-radius: 6px;
    background: #e0e0e0;
    overflow: hidden;
}

progress::-webkit-progress-bar {
    background: #e0e0e0;
}

progress::-webkit-progress-value {
    background: linear-gradient(to right, #007bff, #00d4ff);
    transition: width 0.4s ease-in-out;
}

progress::-moz-progress-bar {
    background: linear-gradient(to right, #007bff, #00d4ff);
}




/* Upload Button */
.upload-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    margin-top: 15px;
}

.upload-btn:hover {
    background: linear-gradient(to right, #0056b3, #003d82);
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .upload-container {
        width: 95%;
        max-width: 90%;
    }
    h2 {
        font-size: 20px;
    }
    label {
        font-size: 14px;
    }
    .upload-btn {
        font-size: 14px;
        padding: 10px;
    }
    progress {
        height: 10px;
    }
}

@media (max-width: 480px) {
    .upload-container {
        width: 98%;
        padding: 20px;
    }
    h2 {
        font-size: 18px;
    }
    label {
        font-size: 13px;
    }
    .upload-btn {
        font-size: 14px;
        padding: 8px;
    }
    progress {
        height: 8px;
    }
}
