/* kcsi Cheatsheet - Specific Styles */

.search-container {
    background: #f8f9fa;
    padding: 30px 40px;
    border-bottom: 2px solid #e9ecef;
}

.search-box {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    font-size: 1.1em;
    border: 2px solid #667eea;
    border-radius: 30px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 1.5em;
}

.category {
    margin-bottom: 40px;
}

.category-title {
    font-size: 2em;
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    display: flex;
    align-items: center;
    gap: 10px;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.command-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.command-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.command-card.hidden {
    display: none;
}

.command-syntax {
    font-family: 'Courier New', monospace;
    background: #2d2d2d;
    color: #50fa7b;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 0.95em;
    overflow-x: auto;
}

.command-description {
    color: #495057;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.command-example {
    background: #e9ecef;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    color: #495057;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75em;
    margin-right: 5px;
    margin-top: 10px;
}

.tag-get { background: #d4edda; color: #155724; }
.tag-delete { background: #f8d7da; color: #721c24; }
.tag-describe { background: #d1ecf1; color: #0c5460; }
.tag-logs { background: #fff3cd; color: #856404; }
.tag-exec { background: #e7d4f5; color: #5a2a7a; }
.tag-diagnostic { background: #e2e3e5; color: #383d41; }
.tag-context { background: #cfe2ff; color: #084298; }

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 1.2em;
    display: none;
}

.no-results.show {
    display: block;
}

/* Footer styles moved to common.css */

@media (max-width: 768px) {
    .command-grid {
        grid-template-columns: 1fr;
    }
}
