body {
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
}

.container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 90%;
}

#drop-zone {
    border: 2px dashed #ccc;
    padding: 40px 20px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#drop-zone.dragover {
    background-color: #e0e0e0;
    border-color: #aaa;
}

#drop-zone p {
    margin: 0;
    color: #555;
}

#browse-btn,
#upload-btn,
#copy-link-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    font-size: 1em;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

#browse-btn {
    background-color: #6c757d;
}

#upload-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#browse-btn:hover,
#upload-btn:not(:disabled):hover,
#copy-link-btn:hover {
    opacity: 0.9;
}

#file-list {
    text-align: left;
    margin-bottom: 20px;
}

#file-list h2 {
    margin-bottom: 5px;
    font-size: 1.1em;
}

#pending-files {
    list-style: none;
    padding: 0;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #eee;
    padding: 5px;
}

#pending-files li {
    font-size: 0.9em;
    padding: 3px 0;
    border-bottom: 1px dashed #eee;
}

#pending-files li:last-child {
    border-bottom: none;
}

#status {
    margin-top: 15px;
    font-weight: bold;
}

#result {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

#result h2 {
    color: #28a745;
    margin-bottom: 10px;
}

#share-link-input {
    width: calc(100% - 80px);
    /* Adjust based on button width */
    padding: 8px;
    margin-right: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#copy-link-btn {
    padding: 9px 10px;
    /* Align height with input */
}

.error {
    color: #dc3545;
}

.success {
    color: #28a745;
}