.img2pdf-converter {
    max-width: 600px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.img2pdf-upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.img2pdf-upload-area:hover {
    border-color: #2271b1;
    background: #f0f6fc;
}

.img2pdf-upload-area.drag-over {
    border-color: #2271b1;
    background: #f0f6fc;
}

.img2pdf-upload-content .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #72777c;
    margin-bottom: 15px;
}

.img2pdf-upload-content p {
    margin: 0 0 15px;
    color: #72777c;
    font-size: 16px;
}

.img2pdf-browse-btn {
    background: #2271b1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.img2pdf-browse-btn:hover {
    background: #135e96;
}

.img2pdf-file-list {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: white;
}

.img2pdf-file-list h4 {
    margin: 0 0 15px;
    color: #1d2327;
}

#img2pdf-file-queue {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    max-height: 200px;
    overflow-y: auto;
}

#img2pdf-file-queue li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 5px;
}

.file-info {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.file-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
}

.file-details {
    flex-grow: 1;
}

.file-name {
    font-weight: 500;
    margin-bottom: 2px;
}

.file-size {
    font-size: 12px;
    color: #666;
}

.remove-file {
    background: #d63638;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.remove-file:hover {
    background: #b32d2e;
}

.img2pdf-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.img2pdf-convert-btn {
    background: #00a32a;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.img2pdf-convert-btn:hover:not(:disabled) {
    background: #008a20;
}

.img2pdf-convert-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.img2pdf-clear-btn {
    background: #72777c;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.img2pdf-clear-btn:hover {
    background: #50575e;
}

.img2pdf-progress {
    margin-top: 20px;
}

.img2pdf-progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.img2pdf-progress-fill {
    height: 100%;
    background: #2271b1;
    width: 0%;
    transition: width 0.3s ease;
}

.img2pdf-progress-text {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

.img2pdf-messages {
    margin-top: 20px;
}

.img2pdf-message {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
}

.img2pdf-message.success {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.img2pdf-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.img2pdf-message.info {
    background: #cfe2ff;
    color: #084298;
    border: 1px solid #b6d4fe;
}

.download-link {
    display: inline-block;
    background: #2271b1;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.download-link:hover {
    background: #135e96;
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .img2pdf-converter {
        margin: 10px;
    }
    
    .img2pdf-upload-area {
        padding: 30px 15px;
    }
    
    .img2pdf-actions {
        flex-direction: column;
    }
    
    .img2pdf-convert-btn,
    .img2pdf-clear-btn {
        width: 100%;
    }
}