/* Lobby Search Styles */
.lobby-search-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.lobby-search-input {
    width: 100%;
    background: #252525;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px 40px 12px 16px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lobby-search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: none;
}

.search-results-dropdown.active {
    display: block;
}

.search-result-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border-bottom: 1px solid #2a2a2a;
    transition: background 0.2s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #2a2a2a;
}

.result-icon {
    font-size: 1.5rem;
}

.result-info {
    flex: 1;
}

.result-name {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
}

.result-desc {
    color: #888;
    font-size: 0.8rem;
    margin-top: 2px;
}

.no-results {
    padding: 16px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.search-chip {
    background: #3b82f6;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 8px;
    text-transform: uppercase;
    font-weight: 700;
}