.search-interface {
    padding: 20px;
    max-width: 900px; /* Slightly wider to accommodate grid */
    margin: 0 auto;
}

.search-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#search-input {
    flex: 1;
    padding: 15px;
    background: #111;
    border: 1px solid #444;
    color: white;
    font-family: 'Audiowide Regular', sans-serif;
    font-size: 1.1rem;
    border-radius: 5px;
}

#search-type {
    padding: 15px;
    background: #222;
    color: var(--text-gold);
    border: 1px solid var(--text-gold);
    font-family: 'Starcraft Regular';
    border-radius: 5px;
}

#search-results {
    display: grid;
    gap: 10px;
    margin-bottom: 30px; /* Spacing before info panels */
}

.result-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.result-card:hover {
    border-color: var(--text-gold);
    background: rgba(255,255,255,0.1);
}

.res-icon {
    font-size: 2rem;
    color: var(--text-silver);
}

.res-info {
    flex: 1;
}

.res-info h4 {
    margin: 0;
    color: white;
    font-size: 1.2rem;
}

.status-badge {
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 2px 5px;
    border-radius: 3px;
}

.status-active { color: green; border: 1px solid green; }
.status-banned { color: red; border: 1px solid red; }
.status-probation { color: yellow; border: 1px solid yellow; }
.status-admin { color: #00ffff; border: 1px solid #00ffff; }

.btn-small {
    padding: 5px 15px;
    font-size: 0.8rem;
}

/* --- INFO PANELS (Query Starters & Tips) --- */
.info-panel {
    background: rgba(0,0,0,0.6);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.panel-heading {
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.panel-heading h2 {
    color: var(--text-gold);
    margin: 0 0 5px 0;
    font-size: 1.5rem;
}

.panel-sub {
    color: var(--text-silver);
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

/* Code Grid */
.code-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.code-card {
    background: #1a1a1a;
    border: 1px solid #444;
    padding: 15px;
    border-radius: 5px;
    transition: transform 0.2s;
}

.code-card:hover {
    transform: translateY(-2px);
    border-color: var(--text-gold);
}

.code-card h3 {
    font-size: 1rem;
    color: var(--text-silver);
    margin-top: 0;
}

pre {
    background: #000;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    border: 1px solid #333;
}

code {
    color: #00ff00; /* Tech green */
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
}

.note {
    font-size: 0.8rem;
    color: gray;
    margin-top: 5px;
}

/* Tip List */
.tip-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.tip-list li {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 5px;
    border-left: 3px solid var(--secondary-glow); /* Purple accent */
}

.tip-title {
    display: block;
    font-family: 'Starcraft Regular', sans-serif;
    color: var(--text-gold);
    margin-bottom: 5px;
    font-size: 1rem;
}

.tip-list p {
    margin: 0;
    font-size: 0.9rem;
    color: #ddd;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .code-grid, .tip-list {
        grid-template-columns: 1fr;
    }
}