/* PPT转PDF工具专用样式 */
.file-upload-container {
    position: relative;
    margin-bottom: 20px;
}

.file-input {
    display: none;
}

.file-upload-area {
    border: 2px dashed #007bff;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.file-upload-area:hover {
    border-color: #0056b3;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    transform: translateY(-2px);
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.7;
}

.upload-text p {
    margin: 5px 0;
    color: #495057;
}

.upload-hint {
    font-size: 0.9em;
    color: #6c757d !important;
}

.selected-file {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #e8f5e8;
    border: 1px solid #28a745;
    border-radius: 8px;
    margin-top: 10px;
}

.file-icon {
    font-size: 24px;
    margin-right: 10px;
}

.file-name {
    flex: 1;
    font-weight: bold;
    color: #155724;
}

.file-size {
    color: #6c757d;
    margin-left: 10px;
}

.remove-file {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conversion-progress {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px 0;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #28a745);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 5px;
}

.conversion-result {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    padding: 8px 0;
    border-bottom: 1px solid #c3e6cb;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: bold;
    color: #155724;
}

.result-value {
    color: #155724;
}

.download-section {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #c3e6cb;
}

.download-btn {
    margin-right: 10px;
}

.error-tips {
    margin-top: 15px;
    padding: 15px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
}

.error-tips h4 {
    margin-bottom: 10px;
    color: #721c24;
}

.error-tips ul {
    margin: 0;
    padding-left: 20px;
}

.error-tips li {
    margin: 5px 0;
    color: #721c24;
}

.usage-guide {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.usage-guide h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #495057;
}

.guide-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    background: #007bff;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 5px 0;
    color: #495057;
}

.step-content p {
    margin: 0;
    color: #6c757d;
}

.features {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
}

.features h3 {
    text-align: center;
    margin-bottom: 25px;
    color: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.feature-item h4 {
    margin: 10px 0;
    color: white;
}

.feature-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .guide-content {
        gap: 15px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .download-section .button {
        width: 100%;
        margin: 5px 0;
    }
}