/* Wrapper for positioning dropdown */
.psm-search-wrapper {
    position: relative;
    min-width: 400px;
    max-width: 400px;
}

/* Input styling */
#psm-search-input {
    width: 100%;
    padding: 10px;
    border: none;
    color: #000;
}

/* Dropdown results container */
#psm-results {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

#psm-results li {
    padding: 10px;
    cursor: pointer;
    background: #fff;
}

#psm-results li:hover,
#psm-results li.active {
    background: #f2f2f2;
}

/* No result message */
.psm-no-result {
    color: #000;
}

/* Highlight after scroll */
.psm-highlight {
    background-color: #e5e5e5 !important; /* solid light gray */
    transition: background-color 1.2s ease;
}
.psm-highlight.fade-out {
    background-color: #f7f7f7 !important; /* almost normal background */
}

/* Search bar alignment */
.psm-align-right {
    display: flex;
    justify-content: flex-end;
}