#pdf-jpg-ui {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.ptj-section { text-align: center; }
.ptj-section h3, .ptj-section h4 { color: #2c3e50; margin-bottom: 1rem; }

#ptj-drop-zone {
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1rem;
    transition: all 0.25s ease;
}

#ptj-drop-zone.ptj-drag {
    border-color: #4e73df;
    background: #f8f9ff;
}

.ptj-icon { font-size: 48px; margin-bottom: 1rem; }
.ptj-icon-ok { color: #28a745; }

#ptj-drop-zone p { color: #7f8c8d; margin-bottom: 1rem; }
.ptj-hint { color: #95a5a6; font-size: 14px; margin-top: 0.5rem; line-height: 1.5; }
.ptj-filename { color: #4e73df; font-weight: 600; margin-top: 0.5rem; }

#ptj-file-input { display: none; }

.ptj-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
    text-decoration: none;
}

.ptj-btn-primary { background: #4e73df; color: #fff; }
.ptj-btn-primary:hover { background: #3d5fc4; }
.ptj-btn-success { background: #28a745; color: #fff; margin-top: 1rem; }
.ptj-btn-success:hover { background: #218838; }

.ptj-link-btn {
    background: none;
    border: none;
    color: #4e73df;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
    margin-top: 12px;
    display: inline-block;
}

.ptj-progress-track {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin: 1rem auto;
    max-width: 420px;
}

#ptj-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #4e73df, #f59e0b);
    transition: width 0.15s ease;
}

#ptj-progress-status { color: #64748b; font-size: 14px; }

.ptj-result-info {
    color: #475569;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ptj-status {
    margin-top: 1rem;
    color: #374151;
    font-size: 14px;
}

.ptj-status-error { color: #dc2626; }

@media (max-width: 640px) {
    #pdf-jpg-ui { padding: 1rem; }
}
