.afc-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.afc-upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
    margin-bottom: 20px;
    background: #fafafa;
}

.afc-upload-area.dragover {
    border-color: #0073aa;
    background: #f0f8ff;
}

.afc-upload-area i {
    font-size: 48px;
    color: #0073aa;
    margin-bottom: 10px;
}

.afc-upload-area p {
    margin: 10px 0;
    color: #333;
}

.afc-upload-area small {
    color: #666;
}

.afc-file-info {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.afc-file-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.afc-file-info p {
    margin: 5px 0;
    color: #555;
}

.afc-convert-section {
    margin-bottom: 20px;
}

.afc-convert-section label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.afc-convert-section select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
}

.afc-button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.afc-button:hover {
    background: #005a87;
}

.afc-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.afc-progress {
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.afc-progress-bar {
    height: 100%;
    background: #0073aa;
    width: 0%;
    transition: width 0.3s;
}

.afc-preview {
    margin-bottom: 20px;
    text-align: center;
}

.afc-preview h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.afc-preview img,
.afc-preview video {
    max-width: 100%;
    max-height: 300px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.afc-preview audio {
    width: 100%;
}

.afc-message {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

.afc-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.afc-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.afc-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.afc-download {
    text-align: center;
}

.afc-download .afc-button {
    background: #28a745;
}

.afc-download .afc-button:hover {
    background: #218838;
}

/* Responsive */
@media (max-width: 480px) {
    .afc-container {
        padding: 15px;
    }

    .afc-upload-area {
        padding: 30px 15px;
    }

    .afc-upload-area i {
        font-size: 36px;
    }

    .afc-button {
        width: 100%;
        text-align: center;
    }
}