/* static/css/search.css */

.search-page { max-width: 800px; margin: 40px auto; padding: 0 16px; }
.search-page-header h1 { font-size: 1.8rem; font-weight: 800; margin: 0 0 20px; color: var(--tbg-text); }
.search-page-form { display: flex; gap: 10px; margin-bottom: 32px; }
.search-page-input { flex: 1; padding: 12px 16px; border: 1px solid var(--tbg-border); border-radius: var(--tbg-radius-sm); font-size: 1rem; font-family: inherit; background: #050F0A; color: var(--tbg-text); transition: var(--tbg-transition); }
.search-page-input:focus { outline: none; border-color: var(--neon-mint); box-shadow: 0 0 0 3px rgba(33, 242, 139, .11); }

.search-summary { color: var(--tbg-text-muted); font-size: 0.9rem; margin-bottom: 24px; }
.search-section { margin-bottom: 32px; }
.search-section h2 { font-size: 1.1rem; font-weight: 700; color: var(--tbg-text); margin: 0 0 12px; }

.search-list { background: linear-gradient(150deg, #0A1912, #060E0A); border-radius: var(--tbg-radius-md); border: 1px solid var(--tbg-border); overflow: hidden; }
.search-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--tbg-border); transition: var(--tbg-transition); }
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: rgba(33, 242, 139, .05); }

.search-item-icon { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #79FFC0, #21F28B); color: #03150B; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; flex-shrink: 0; overflow: hidden; }
.search-item-icon img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 4px; }
.search-item-body { flex: 1; min-width: 0; }
.search-item-title { font-weight: 700; color: var(--tbg-text); font-size: 0.95rem; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-item-meta { color: var(--tbg-text-muted); font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 640px) {
    .search-page { margin: 20px auto; padding: 0 12px; }
    .search-page-header h1 { font-size: 1.4rem; }
    .search-page-form { flex-direction: column; }
    .search-item { padding: 12px 14px; }
    .search-item-icon { width: 38px; height: 38px; font-size: 1rem; }
}