.search-results {
    max-height: 500px;
    overflow-y: auto;
}

.list-group-item {
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.list-group-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.list-group-item h5 {
    color: #ffffff;  /* White text for titles */
    font-weight: 600;
}

.list-group-item small {
    color: #9a9a9a;  /* Light grey for type indicator */
}

.list-group-item p {
    color: #dfdfdf;  /* Light grey for description */
}

#globalSearch {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

#globalSearch::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modal-title {
    color: #ffffff !important;
}

.search-description {
    /* color: #ffffff !important;  Bright white */
    /* OR */
    /* color: #e4e4e4 !important;  Light grey */
    /* OR */
    color: #f4c179 !important;  /*Theme blue*/
}

.search-divider {
    margin: 15px 0;
    border-top: 1px solid #2b3553;
}

.search-type-header {
    color: #1d8cf8;
    font-weight: 600;
    padding: 10px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Search Results Keyboard Navigation - For Global Search */
.search-result-item.selected {
    background-color: #7f9ebf !important;
    color: white !important;
    border-color: #7f9ebf !important;
}

.search-result-item.selected .text-warning {
    color: #fff3cd !important;
}

.search-result-item.selected .search-description {
    color: #e9ecef !important;
}

.search-result-item.selected h5 {
    color: white !important;
}

/* Smooth transition for better UX */
.search-result-item {
    transition: background-color 0.2s ease, color 0.2s ease;
}