.search-bar-container {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.search-box {
    flex: 2;
    min-width: 200px;
}

.filter-select {
    flex: 1;
    min-width: 150px;
}

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

.cmd-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, border-color 0.2s;
}

.cmd-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.cmd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.vendor-badge {
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    color: #000;
}

.badge-cisco { background: #00bceb; }
.badge-hp { background: #ff8300; }
.badge-netgear { background: #9d3bfb; color: white; }
.badge-ubiquiti { background: #0076ff; color: white; }

.cmd-title {
    font-weight: 600;
    color: #ddd;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.code-block {
    background: #000;
    color: #00ff9d;
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
    padding: 10px;
    border-radius: 5px;
    border-left: 3px solid var(--accent-color);
    word-break: break-all;
    white-space: pre-wrap;
    position: relative;
    cursor: pointer;
}

.code-block:hover {
    background: #111;
}

.code-block::after {
    content: "📋";
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.8rem;
    opacity: 0.5;
}

@media (max-width: 600px) {
    .search-bar-container { flex-direction: column; }
}