.am-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
    background: #f8f9fa;
}

.am-upload-area:hover {
    border-color: #2196F3;
    background: rgba(33, 150, 243, 0.05);
}

.am-upload-area.am-dragover {
    border-color: #2196F3;
    background: rgba(33, 150, 243, 0.1);
}

.am-upload-icon {
    font-size: 48px;
    color: #2196F3;
    margin-bottom: 10px;
}

.am-upload-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.am-upload-hint {
    font-size: 13px;
    color: #666;
}

.am-file-list {
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #dee2e6;
}

.am-file-list h4 {
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.am-file-list h4 i {
    color: #2196F3;
}

.am-file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 8px;
    border: 1px solid #dee2e6;
}

.am-file-item:hover {
    border-color: #2196F3;
}

.am-file-drag {
    cursor: move;
    color: #666;
    font-size: 18px;
    padding: 5px;
}

.am-file-drag:hover {
    color: #2196F3;
}

.am-file-index {
    width: 28px;
    height: 28px;
    background: #2196F3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
}

.am-file-info {
    flex: 1;
    min-width: 0;
}

.am-file-name {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.am-file-meta {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}

.am-file-remove {
    padding: 6px 10px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}

.am-file-remove:hover {
    background: #c82333;
}

.am-params-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}

.am-params-section h4 {
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.am-params-section h4 i {
    color: #faad14;
}

.am-param-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.am-param-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.am-param-item label {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.am-param-item select,
.am-param-item input[type="number"] {
    padding: 10px 12px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

.am-param-item select:focus,
.am-param-item input[type="number"]:focus {
    outline: none;
    border-color: #2196F3;
}

.am-progress-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    border: 1px solid #dee2e6;
}

.am-progress-section.am-visible {
    display: block;
}

.am-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.am-progress-title {
    font-size: 14px;
    font-weight: 500;
}

.am-progress-percent {
    font-size: 14px;
    color: #2196F3;
    font-weight: 500;
}

.am-progress-bar {
    width: 100%;
    height: 10px;
    background: #dee2e6;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.am-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2196F3, #2ecc71);
    border-radius: 5px;
    transition: width 0.3s;
    width: 0%;
}

.am-progress-info {
    font-size: 13px;
    color: #666;
}

.am-download-section {
    border: 2px solid #2196F3;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    margin-bottom: 20px;
    display: none;
    background: #f8f9fa;
}

.am-download-section.am-visible {
    display: block;
}

.am-download-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2196F3;
}

.am-download-section h4 i {
    vertical-align: middle;
}

.am-download-section .am-file-info-display {
    font-size: 14px;
    margin-bottom: 15px;
    color: #333;
}

.am-btn-download {
    padding: 12px 35px;
    background: #2196F3;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.am-btn-download:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .am-param-row {
        grid-template-columns: 1fr;
    }
}
