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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

p {
    margin-bottom: 20px;
    text-align: center;
    color: #7f8c8d;
}

.upload-area {
    border: 3px dashed #3498db;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    position: relative;
}

.upload-area.dragover {
    border-color: #2ecc71;
    background-color: #e8f6f3;
}

.upload-area p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #3498db;
}

#fileInput {
    display: none;
}

.upload-area label {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.upload-area label:hover {
    background-color: #2980b9;
}

.progress-container {
    width: 100%;
    height: 20px;
    background-color: #ecf0f1;
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
    display: none;
}

.progress-bar {
    height: 100%;
    background-color: #2ecc71;
    width: 0%;
    transition: width 0.3s ease;
}

#statusText {
    margin-top: 15px;
    font-size: 14px;
    color: #95a5a6;
}

.file-list {
    margin-bottom: 30px;
}

.file-list h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #3498db;
    color: white;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

tbody tr:hover {
    background-color: #f5f5f5;
}

.status-pending {
    color: #f39c12;
    font-weight: bold;
}

-status-converting {
    color: #3498db;
    font-weight: bold;
}

.status-completed {
    color: #2ecc71;
    font-weight: bold;
}

.status-error {
    color: #e74c3c;
    font-weight: bold;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-success {
    background-color: #2ecc71;
    color: white;
}

.btn-success:hover {
    background-color: #27ae60;
}

.btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

#downloadAll {
    display: block;
    margin: 0 auto 30px;
    padding: 15px 30px;
    font-size: 18px;
}

.storage-info {
    text-align: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #3498db;
}

.storage-info p {
    margin: 0;
    color: #2c3e50;
    font-weight: bold;
}

#storageUsage {
    color: #e74c3c;
}

#storageLimit {
    color: #2ecc71;
}