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

.converton-box h3 { text-align: center; color: #2c3e50; margin-bottom: 0.5rem; }

.converton-lead {
    text-align: center;
    color: #64748b;
    font-size: 15px;
    margin-bottom: 1.25rem;
}

.converton-mode-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.converton-mode-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 130px;
    padding: 16px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.converton-mode-card:hover {
    border-color: #c7d2fe;
    background: #fafbff;
}

.converton-mode-card.is-active {
    border-color: #4e73df;
    background: #f0f4ff;
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.15);
}

.converton-mode-icon {
    font-size: 32px;
    line-height: 1;
}

.converton-mode-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.converton-mode-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.35;
}

.converton-mode-card.is-active .converton-mode-title {
    color: #4e73df;
}

.converton-drop {
    border: 2px dashed #ccc;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: .3s;
}

.converton-drop.dragover { background: #f8f9ff; border-color: #4e73df; }

.converton-hint {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 0.75rem;
}

.converton-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    margin-top: 1rem;
}

.converton-thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.converton-thumb img { width: 100%; display: block; }

.converton-thumb .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
}

.converton-btn, label.converton-btn {
    background: #4e73df;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin: 1rem auto 0;
    display: inline-block;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.converton-btn-success { background: #28a745; }

.converton-btn input { display: none; }

.converton-link-btn {
    background: none;
    border: none;
    color: #4e73df;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
    margin-top: 0.5rem;
}

.converton-progress { margin-top: 1.5rem; text-align: center; }

#progress-status { color: #64748b; font-size: 14px; margin-bottom: 0.5rem; }

.converton-bar {
    background: #f0f0f0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.converton-bar-inner {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4e73df, #224abe);
    transition: width .4s ease;
}

.converton-result { text-align: center; margin-top: 1.5rem; }

.converton-ok { font-size: 40px; }

.converton-result-note {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 1rem;
}

.converton-error { color: #e74c3c; margin-top: 1rem; text-align: center; font-size: 14px; }

@media (max-width: 640px) {
    .converton-box { padding: 1rem; }
    .converton-mode-cards { grid-template-columns: 1fr; }
}
