body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.upload-container {
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 24px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

h2 {
    font-size: 1.25rem;
    color: #333;
    margin-top: 0;
}

.info-message {
    background-color: #e6f7ff;
    border: 1px solid #b3e0ff;
    color: #0056b3;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.overwrite-option {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.overwrite-option input {
    margin-right: 8px;
}

.drop-zone {
    border: 2px dashed #007bff;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    color: #666;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

/* This style is added by JavaScript when you drag a file over */
.drop-zone.dragover {
    background-color: #e6f7ff;
    border-color: #0056b3;
}

.drop-zone p {
    margin: 8px 0;
    font-size: 1rem;
}

#selectFileBtn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#selectFileBtn:hover {
    background-color: #0056b3;
}

/* Styles for the file list and progress bar */
.file-list {
    margin-top: 20px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background: #f4f4f4;
    border-radius: 4px;
    margin-bottom: 8px;
}

.file-name {
    font-size: 0.9rem;
}

.file-progress {
    width: 100px;
    height: 8px;
    background: #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #28a745;
    transition: width 0.3s ease;
}

.file-status {
    font-size: 0.8rem;
    color: #28a745;
}
/* ... your existing styles ... */

/* New container for the file list */
.files-container {
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 24px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-top: 20px; /* Add space below the uploader */
}

/* Style for the 'Share' button */
.share-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.share-btn:hover {
    background-color: #0056b3;
}
/* ... your existing styles for .upload-container ... */

/* New container for the file list */
.files-container {
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 24px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: 20px auto; /* Center it on the page */
}

/* Style for the 'Share' button */
.share-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.share-btn:hover {
    background-color: #0056b3;
}
/* All other styles from your original file can be deleted.
  This is the ONLY style needed to handle the dynamic 'dragover' class 
  that your JavaScript adds.
*/

.drop-zone.dragover {
  /* Use Bootstrap's theme colors for consistency */
  background-color: var(--bs-info-bg-subtle);
  border-color: var(--bs-info);
}