/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #000000;
    line-height: 1.5;
}

/* Simple Navigation */
.nav {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0;
}

.logo {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 600;
}

.logo i {
    color: #dc2626;
}

/* Main Container */
.tool-container {
    max-width: 700px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000000;
}

.header p {
    color: #666666;
    font-size: 1rem;
}

/* Upload Box */
.upload-box {
    border: 2px dashed #cccccc;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.2s;
}

.upload-box:hover {
    border-color: #000000;
    background: #f5f5f5;
}

.upload-box i {
    font-size: 3rem;
    color: #666666;
    margin-bottom: 12px;
}

.upload-box h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #000000;
    font-weight: 500;
}

.upload-box p {
    color: #666666;
    margin: 10px 0;
}

.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
}

.btn-primary:hover {
    background: #333333;
}

.btn-success {
    background: #059669;
    color: #ffffff;
}

.btn-success:hover {
    background: #047857;
}

.btn-secondary {
    background: #e5e5e5;
    color: #000000;
}

.btn-secondary:hover {
    background: #d4d4d4;
}

.hint {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #666666;
}

/* Files List */
.files-list {
    margin: 20px 0;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 6px;
}

.file-item i {
    font-size: 1.3rem;
    color: #dc2626;
    margin-right: 12px;
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 500;
    color: #000000;
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.file-size {
    font-size: 0.8rem;
    color: #666666;
}

.file-actions {
    display: flex;
    gap: 6px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #666666;
    border-radius: 4px;
    font-size: 0.9rem;
}

.icon-btn:hover {
    background: #e5e5e5;
    color: #000000;
}

.icon-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.icon-btn.remove:hover {
    color: #dc2626;
    background: #fee2e2;
}

/* Actions */
.actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 25px 0;
}

/* Progress Area */
.progress-area {
    margin: 20px 0;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #e5e5e5;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: #059669;
    width: 0%;
    transition: width 0.3s;
}

.progress-text {
    color: #666666;
    font-size: 0.9rem;
}

/* Info Box */
.info-box {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 20px;
    margin-top: 30px;
}

.info-box h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #000000;
    font-weight: 600;
}

.info-box ol {
    margin-left: 20px;
    color: #333333;
    font-size: 0.95rem;
}

.info-box li {
    margin-bottom: 5px;
}

.note {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
    color: #059669;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 20px;
    color: #666666;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 500px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .file-item {
        flex-wrap: wrap;
    }
    
    .file-actions {
        margin-left: auto;
    }
}