/* Pro-Jazz Live Search Styles */

.live-search-dropdown {
    position: absolute;
    z-index: 99999;
    background: #243342;
    border: 1px solid #3d536b;
    border-radius: 8px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    font-family: inherit;
    line-height: normal;
    color: #e2e8f0;
    overflow: hidden;
}

.live-search-dropdown * {
    box-sizing: border-box;
}

.live-search-content {
    max-height: 460px;
    overflow-y: auto;
}

.live-search-content::-webkit-scrollbar {
    width: 6px;
}
.live-search-content::-webkit-scrollbar-track {
    background: #1c2834;
}
.live-search-content::-webkit-scrollbar-thumb {
    background: #3d536b;
    border-radius: 3px;
}

.live-search-loading {
    padding: 20px;
    text-align: center;
    color: #cbd5e1;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.live-search-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(245, 207, 83, 0.25);
    border-top-color: #F5CF53;
    border-radius: 50%;
    animation: liveSearchSpin 0.7s linear infinite;
}

@keyframes liveSearchSpin {
    to { transform: rotate(360deg); }
}

.live-search-empty {
    padding: 20px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    background: #243342;
}
.live-search-empty b {
    color: #F5CF53;
}

.live-search-section {
    border-bottom: 1px solid #2d3f52;
}
.live-search-section:last-child {
    border-bottom: none;
}

.live-search-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a2530;
    padding: 6px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.live-search-section-title {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #F5CF53;
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-search-section-title .cat-icon {
    display: inline-flex;
    align-items: center;
    color: #F5CF53;
}

.live-search-section-more {
    color: #8fa3b8;
    font-size: 11px;
    text-decoration: none;
}
.live-search-section-more:hover {
    color: #fff;
    text-decoration: underline;
}

.live-search-section-list {
    margin: 0;
    padding: 0;
}

.live-search-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.12s ease;
}
.live-search-item:last-child {
    border-bottom: none;
}

.live-search-item:hover,
.live-search-item.is-selected {
    background: #1d395c;
    text-decoration: none;
}

.live-search-thumb {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
    background: #18222c;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.live-search-thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.live-search-info {
    flex: 1;
    min-width: 0;
}

.live-search-title {
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
}

.live-search-item:hover .live-search-title,
.live-search-item.is-selected .live-search-title {
    color: #F5CF53;
}

.live-search-title mark {
    background: rgba(245, 207, 83, 0.25);
    color: #F5CF53;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

.live-search-meta {
    color: #7b91a7;
    font-size: 11px;
    margin-top: 2px;
}

.live-search-footer {
    display: block;
    background: #18222c;
    padding: 10px 14px;
    text-align: center;
    color: #F5CF53;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    border-top: 1px solid #2d3f52;
    transition: background 0.15s ease;
}
.live-search-footer:hover {
    background: #111a22;
    color: #ffd700;
    text-decoration: none;
}
