* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background: rgb(53, 59, 64);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
}

h1 {
    text-align: center;
    color: rgb(53, 59, 64);
    margin-bottom: 30px;
    font-size: 2rem;
}

h2 {
    text-align: center;
    color: rgb(53, 59, 64);
    margin-bottom: 30px;
    font-size: 1rem;
}

.upload-area {
    border: 3px dashed #ccc;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: rgb(53, 59, 64);
    background-color: #f8f9ff;
}

.upload-icon {
    font-size: 3rem;
    color: rgb(53, 59, 64);
    margin-bottom: 15px;
}

.upload-text {
    color: rgb(53, 59, 64);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

#fileInput {
    display: none;
}

.file-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    display: none;
}

.file-info.show {
    display: block;
}

.upload-btn {
    font-family: 'Courier New', Courier, monospace;
    background: rgb(53, 59, 64);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: transform 0.2s ease;
}

.upload-btn:hover {
    transform: translateY(-2px);
    background: rgb(43, 49, 54);
}

.upload-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 20px;
    display: none;
}

.progress-bar.show {
    display: block;
}

.progress-fill {
    height: 100%;
    background: rgb(53, 59, 64);
    width: 0%;
    transition: width 0.3s ease;
}

.status-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 8px;
    background: #f8f9fa;
    display: none;
}

.status-message.show {
    display: block;
}

.result {
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    display: none;
}

.result.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    display: block;
}

.result.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    display: block;
}

.url-container {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #c3e6cb;
}

.url-link {
    word-break: break-all;
    color: rgb(53, 59, 64);
    text-decoration: none;
    font-weight: bold;
}

.url-link:hover {
    text-decoration: underline;
}

.copy-btn {
    font-family: 'Courier New', Courier, monospace;
    background: rgb(53, 59, 64);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 10px;
}

.copy-btn:hover {
    background: rgb(43, 49, 54);
}

@media (max-width: 600px) {
    .container {
        padding: 30px 20px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline;
    }
}

@media (min-width: 601px) {
    .desktop-only {
        display: inline;
    }

    .mobile-only {
        display: none;
    }
}
