/* Converter-specific styles — extends OmniTools style.css */

.privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.drop-zone {
    border: 2.5px dashed #e2e8f0;
    border-radius: 14px;
    background: #fff;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
    margin-bottom: 1rem;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: #2563eb;
    background: #eff6ff;
}

.drop-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.drop-zone h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.3rem; }
.drop-zone p  { font-size: 0.85rem; color: #64748b; }

.file-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
}

.file-item span { color: #64748b; font-size: 0.8rem; }
.file-item button { background: none; border: none; color: #dc2626; cursor: pointer; font-size: 1rem; }

.options-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.option-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.option-group select,
.option-group input[type="number"] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #f8fafc;
    color: #1e293b;
    outline: none;
}

.option-group select:focus,
.option-group input:focus { border-color: #2563eb; }

.btn-convert {
    display: block;
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #2b5ce6, #7c3aed);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    margin-bottom: 1rem;
}

.btn-convert:hover   { opacity: 0.92; transform: translateY(-1px); }
.btn-convert:disabled { background: #94a3b8; cursor: not-allowed; transform: none; }

.progress-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    margin-bottom: 1rem;
    overflow: hidden;
    display: none;
}

.progress-bar.active { display: block; }
.progress-fill { height: 100%; background: #2563eb; border-radius: 999px; transition: width 0.3s; width: 0%; }

.status-msg {
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: none;
}

.status-msg.show    { display: block; }
.status-msg.success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.status-msg.error   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.result-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
}

.result-card img { width: 100%; height: 120px; object-fit: cover; display: block; }

.result-card-body { padding: 0.6rem; }
.result-card-body p { font-size: 0.75rem; color: #64748b; margin-bottom: 0.4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.btn-download {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, #38a169, #48bb78);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.btn-download-all {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #38a169, #48bb78);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.5rem;
}

.ad-slot {
    background: #f1f5f9;
    border: 1.5px dashed #cbd5e1;
    border-radius: 14px;
    text-align: center;
    padding: 1.5rem;
    color: #64748b;
    font-size: 0.8rem;
    margin: 1.5rem 0;
}

.seo-content { line-height: 1.75; margin-top: 2rem; }
.seo-content h2 { font-size: 1.3rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.seo-content h3 { font-size: 1.05rem; font-weight: 600; margin: 1.25rem 0 0.5rem; }
.seo-content p  { color: #334155; margin-bottom: 0.75rem; }
.seo-content ul { padding-left: 1.25rem; margin-bottom: 0.75rem; color: #334155; }
.seo-content ul li { margin-bottom: 0.3rem; }
.seo-content a  { color: #2563eb; }

.faq-item { border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 0.75rem; overflow: hidden; }
.faq-q { padding: 0.85rem 1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; background: #fff; font-size: 0.95rem; }
.faq-q:hover { background: #f8fafc; }
.faq-a { padding: 0 1rem; max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; font-size: 0.9rem; color: #64748b; background: #fff; }
.faq-a.open { max-height: 200px; padding: 0.75rem 1rem; }

@media (max-width: 640px) {
    .options-panel { grid-template-columns: 1fr 1fr; }
    .drop-zone { padding: 2rem 1rem; }
}
