.pdf2word-converter {
    max-width: 600px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.pdf2word-upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pdf2word-upload-area:hover {
    border-color: #2271b1;
    background: #f0f6fc;
}

.pdf2word-upload-area.drag-over {
    border-color: #2271b1;
    background: #f0f6fc;
}

.pdf2word-upload-content .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #72777c;
    margin-bottom: 15px;
}

.pdf2word-upload-content p {
    margin: 0 0 15px;
    color: #72777c;
    font-size: 16px;
}

.pdf2word-browse-btn {
    background: #2271b1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.pdf2word-browse-btn:hover {
    background: #135e96;
}

.pdf2word-file-info {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: white;
}

.pdf2word-file-details {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 15px;
}

.pdf2word-file-details .dashicons-pdf {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #f40f02;
}

.file-info-content {
    flex-grow: 1;
}

.file-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.file-size {
    font-size: 14px;
    color: #666;
}

.pdf2word-remove-file {
    background: #d63638;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.pdf2word-remove-file:hover {
    background: #b32d2e;
}

.pdf2word-conversion-options {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-bottom: 15px;
}

.pdf2word-conversion-options h4 {
    margin: 0 0 12px 0;
    color: #1d2327;
}

.pdf2word-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.pdf2word-option label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.pdf2word-option input[type="checkbox"] {
    margin: 0;
}

.pdf2word-actions {
    text-align: center;
}

.pdf2word-convert-btn {
    background: #00a32a;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 200px;
}

.pdf2word-convert-btn:hover {
    background: #008a20;
    transform: translateY(-1px);
}

.pdf2word-convert-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.pdf2word-progress {
    margin-top: 20px;
}

.pdf2word-progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.pdf2word-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2271b1, #135e96);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.pdf2word-progress-text {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.pdf2word-messages {
    margin-top: 20px;
}

.pdf2word-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 14px;
    border-left: 4px solid;
}

.pdf2word-message.success {
    background: #d1e7dd;
    color: #0f5132;
    border-left-color: #0f5132;
}

.pdf2word-message.error {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #721c24;
}

.pdf2word-message.info {
    background: #cfe2ff;
    color: #084298;
    border-left-color: #084298;
}

.pdf2word-message.warning {
    background: #fff3cd;
    color: #856404;
    border-left-color: #856404;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2271b1;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.3s ease;
    font-weight: 500;
}

.download-link:hover {
    background: #135e96;
    color: white;
}

.download-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Responsive design */
@media (max-width: 768px) {
    .pdf2word-converter {
        margin: 10px;
    }
    
    .pdf2word-upload-area {
        padding: 30px 15px;
    }
    
    .pdf2word-file-details {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .pdf2word-options-grid {
        grid-template-columns: 1fr;
    }
    
    .pdf2word-convert-btn {
        width: 100%;
        min-width: auto;
    }
}

/* Animation for progress */
@keyframes progress-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.pdf2word-progress-fill.uploading {
    animation: progress-pulse 1.5s ease-in-out infinite;
}