/* General Styles */
body {
    font-family: Arial, sans-serif;
    background: url('Background.webp') center/cover;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #ffffff;
}

/* Blurred Container */
.container {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
    width: 90%;
    max-width: 600px;
    text-align: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
    position: relative;
}

/* File Input Button */
.file-input-wrapper {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 15px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: box-shadow 0.5s ease-in-out;
}

/* Hide the default file input */
.file-input-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

/* Upload Button */
#uploadButton {
    background-color: #28a745;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    max-width: 300px;
    transition: box-shadow 0.5s ease-in-out;
    position: relative;
    z-index: 2;
}

/* Uploaded Files List */
#file-list ul {
    list-style-type: none;
    padding: 0;
}

#file-list li {
    margin-bottom: 15px;
    position: relative;
}

/* Make Links White */
#file-list a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

#file-list a:hover {
    color: #ffffff;  /* Keep links pure white on hover */
    text-decoration: underline;
}


/* Remove (X) Button */
.remove-file-button {
    position: absolute;
    top: -5px;
    right: -15px;
    background: #ff4444;
    color: #ffffff;
    font-size: 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: background 0.3s;
}

.remove-file-button:hover {
    background: #ff0000;
}

/* Preview Styles */
.preview-img, .preview-video {
    max-width: 100%;
    max-height: 300px;
    margin: 10px 0;
    border-radius: 10px;
}
