
/* Unified Marketplace */

.mp-container { max-width: 1400px; margin: 0 auto; padding: 24px; }

.mp-header { text-align: center; margin-bottom: 32px; }

.mp-header h1 { font-size: 32px; margin-bottom: 8px; }

.mp-header p { color: var(--text-secondary); }

.mp-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; align-items: center; }

.mp-search-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; width: 100%; }

.mp-search { flex: 1; min-width: 200px; padding: 12px 16px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-secondary); color: var(--text-primary); font-size: 14px; }

.mp-filters select { padding: 12px 16px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-secondary); color: var(--text-primary); font-size: 14px; }

.mp-btn { padding: 10px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; display: inline-block; cursor: pointer; border: none; font-size: 14px; transition: all 0.2s; }

.mp-btn.primary { background: var(--accent-primary); color: white; }

.mp-btn.secondary { background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border-color); }

.mp-btn.active { background: var(--accent-primary); color: white; }

.mp-btn:hover { opacity: 0.9; transform: translateY(-1px); }


.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.mp-card { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; transition: all 0.2s; }

.mp-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.mp-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }

.mp-tier { padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; }

.mp-tier.core { background: rgba(59,130,246,0.2); color: #3b82f6; }

.mp-tier.native { background: rgba(168,85,247,0.2); color: #a855f7; }

.mp-tier.ecosystem { background: rgba(234,179,8,0.2); color: #eab308; }

.mp-tier.partner { background: rgba(236,72,153,0.2); color: #ec4899; }

.mp-active-badge { background: rgba(34,197,94,0.2); color: #22c55e; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }

.mp-card-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }

.mp-card-desc { color: var(--text-secondary); font-size: 14px; margin-bottom: 12px; line-height: 1.5; min-height: 42px; }

.mp-card-meta { margin-bottom: 16px; }

.mp-category { font-size: 12px; color: var(--text-tertiary); text-transform: capitalize; }

.mp-card-actions { display: flex; gap: 10px; align-items: center; }


.mp-toggle { width: 50px; height: 26px; background: var(--bg-tertiary); border-radius: 13px; position: relative; cursor: pointer; border: 1px solid var(--border-color); transition: all 0.3s; }

.mp-toggle.active { background: #22c55e; border-color: #22c55e; }

.mp-toggle .toggle-slider { position: absolute; width: 20px; height: 20px; background: white; border-radius: 50%; top: 2px; left: 2px; transition: all 0.3s; }

.mp-toggle.active .toggle-slider { left: 26px; }

@media (max-width: 768px) {

    .mp-grid { grid-template-columns: 1fr; }

    .mp-search-form { flex-direction: column; }

    .mp-search { width: 100%; }

}

.mp-core-label { font-size: 11px; color: var(--text-tertiary); font-weight: 500; }
.mp-toggle.disabled { opacity: 0.6; cursor: not-allowed; }
.mp-always-active { font-size: 12px; color: #22c55e; font-weight: 500; background: rgba(34,197,94,0.1); padding: 6px 12px; border-radius: 20px; }
.mp-btn-small.deactivate { font-size: 12px; padding: 6px 12px; background: rgba(239,68,68,0.1); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); border-radius: 6px; cursor: pointer; }
