/* General Body & Container Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 550px;
    padding: 2rem;
}

.upload-container {
    background: #1e1e1e;
    padding: 2.5em 3em;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #2a2a2a;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

/* Typography */
h1 {
    color: #ffffff;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.5em;
}

p {
    color: #a0a0a0;
    margin-top: 0;
    margin-bottom: 1.5em;
}

/* Drop Zone */
#drop-zone {
    border: 2px dashed #444;
    border-radius: 10px;
    padding: 3rem 1rem;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
}

#drop-zone:hover, #drop-zone.drag-over {
    border-color: #00aaff;
    background-color: #252525;
}

.drop-zone-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #888;
}

.drop-zone-prompt svg {
    stroke: #888;
}

/* Progress Bar */
#upload-progress {
    margin-top: 1.5rem;
}

.progress-bar-container {
    width: 100%;
    background-color: #2a2a2a;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 10px;
    background-color: #007bff;
    border-radius: 5px;
    transition: width 0.3s ease-in-out;
}

.progress-text {
    margin-top: 0.5rem;
    font-size: 0.9em;
}

/* Result Display */
#result {
    margin-top: 1.5rem;
    text-align: left;
}

#result h2 {
    font-size: 1.2em;
    color: #28a745;
    text-align: center;
    margin-bottom: 1em;
}

.result-link-container {
    display: flex;
    gap: 10px;
}

#file-url {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #333;
    background-color: #252525;
    color: #e0e0e0;
    border-radius: 8px;
    font-size: 0.9em;
    font-family: 'Courier New', Courier, monospace;
}

#copy-button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

#copy-button:hover {
    background-color: #0056b3;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 600px) {
    .upload-container {
        padding: 2em 1.5em;
    }

    h1 {
        font-size: 1.8rem;
    }
}
