/* --- AI Prompt Hub CSS (SolaimanLipi Mobile Friendly) --- */
.ph-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; background: #f8fafc; padding: 10px; border-radius: 12px; }
.ph-lang-toggle { display: flex; background: #e2e8f0; padding: 4px; border-radius: 50px; }

/* সব ব&#2494;&#2434;ল&#2494; ল&#2503;খ&#2494;র জ&#2494;য়গ&#2494;য় স&#2507;ল&#2494;ইম&#2494;ন ল&#2495;প&#2495; */
.ph-tab, .cat-btn, .prompt-card h4, .btn-copy-ph span, #ph-subtitle, .ph-search input {
    font-family: &#39;SolaimanLipi&#39;, sans-serif !important;
}

.ph-tab { border: none; padding: 8px 20px; border-radius: 50px; cursor: pointer; font-weight: 800; font-size: 13px; transition: 0.3s; background: transparent; color: #64748b; }
.ph-tab.active { background: #6366f1; color: #fff; box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3); }

.ph-search { position: relative; flex: 1; max-width: 300px; }
.ph-search input { width: 100%; padding: 10px 35px 10px 15px; border-radius: 50px; border: 1px solid #cbd5e1; outline: none; font-size: 14px; }
.ph-search i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #94a3b8; }

.ph-category-wrapper { overflow-x: auto; margin-bottom: 20px; padding-bottom: 5px; scrollbar-width: none; }
.ph-tabs { display: flex; gap: 10px; }
.cat-btn { white-space: nowrap; padding: 8px 18px; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; cursor: pointer; font-size: 13px; font-weight: 700; transition: 0.2s; }
.cat-btn.active { background: #eff6ff; border-color: #6366f1; color: #6366f1; }

.ph-prompt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 15px; max-height: 500px; overflow-y: auto; padding: 5px; }
.prompt-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 15px; padding: 15px; display: flex; flex-direction: column; transition: 0.3s; }
.prompt-card:hover { border-color: #6366f1; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.prompt-card h4 { margin: 0 0 10px; font-size: 15px; color: #1e293b; font-weight: 800; border-bottom: 1px solid #f1f5f9; padding-bottom: 8px; }
.prompt-box { background: #f1f5f9; padding: 10px; border-radius: 8px; font-size: 12px; color: #475569; font-family: monospace; line-height: 1.4; flex: 1; border: 1px solid #e2e8f0; margin-bottom: 12px; position: relative; word-break: break-word; }
.btn-copy-ph { background: #6366f1; color: #fff; border: none; padding: 10px; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.2s; }
.btn-copy-ph.copied { background: #059669; }

@media (max-width: 600px) {
    .ph-prompt-grid { grid-template-columns: 1fr; }
    .ph-search { max-width: 100%; }
    .prompt-card { padding: 12px; }
}
