/* Search View Styles */
.search-header-container {
    padding: 10px 16px;
    background: var(--panel-bg);
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0 12px;
    height: 36px;
}

.search-box i.bi-search {
    color: var(--text-sub);
    margin-right: 8px;
}

#search-input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    min-width: 0;
}

#search-clear {
    background: none;
    border: none;
    color: var(--text-sub);
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.search-options {
    display: flex;
    padding: 8px 16px;
    gap: 12px;
    background: var(--panel-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 4px var(--shadow);
}

.scope-option {
    flex: 1;
    text-align: center;
    padding: 6px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-sub);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.scope-option.active {
    background: rgba(0, 167, 233, 0.2);
    color: var(--highlight);
    border-color: var(--highlight);
    font-weight: 600;
}

.search-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    color: #555;
    text-align: center;
}

#search-view {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#search-results {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}