/* ==========================================================================
   Fuzzy Search
   ========================================================================== */

.fuzzy-search-container {
    margin-bottom: 10px;
}

.fuzzy-search-popup {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

.fuzzy-search-results {
    flex: 1;
}

.fuzzy-search-result {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    background-color: white;
}

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

.fuzzy-search-result:hover {
    background-color: #f5f5f5;
}

.fuzzy-search-result.selected {
    background-color: #d1ecf1;
    border-left: 3px solid var(--primary-color);
    padding-left: 9px;
}

.player-result-number {
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 10px;
    min-width: 30px;
}

.player-result-name {
    flex-grow: 1;
}

.fuzzy-search-create {
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: #d4edda;
    border-top: 2px solid var(--success-color);
    flex-shrink: 0;
    font-weight: 600;
}

.fuzzy-search-create:hover {
    background-color: #c3e6cb;
}

.create-icon {
    font-weight: bold;
    color: #155724;
    margin-right: 8px;
    font-size: 20px;
}
