/* Scoped to the sidebar search; existing theme, typography and menu routes stay intact. */
.main-sidebar .ef24-sidebar-search { overflow: visible; background: transparent; border: 0; }
.main-sidebar .ef24-sidebar-search__field { position: relative; width: 100%; }
.main-sidebar .ef24-sidebar-search #menuSearch {
    box-sizing: border-box;
    width: 100%;
    min-height: 36px;
    padding: 7px 31px 7px 32px;
    border: 1px solid transparent;
    border-radius: 20px;
    background: #374e58;
    color: #f4f9fc;
    font: inherit;
    line-height: 20px;
    box-shadow: none;
    transition: border-color .16s ease, background-color .16s ease;
}
.main-sidebar .ef24-sidebar-search #menuSearch::placeholder { color: #bccbd3; opacity: 1; }
.main-sidebar .ef24-sidebar-search #menuSearch:focus { outline: none; border-color: #9ac9e0; background: #304650; }
.main-sidebar .ef24-sidebar-search #menuSearch::-webkit-search-cancel-button,
.main-sidebar .ef24-sidebar-search #menuSearch::-webkit-search-decoration { appearance: none; }
.main-sidebar .ef24-sidebar-search__icon { position: absolute; left: 11px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); pointer-events: none; color: #c5d9e3; }
.main-sidebar .ef24-sidebar-search__clear { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 4px; border: 0; border-radius: 50%; color: #e3edf3; background: transparent; cursor: pointer; box-shadow: none; }
.main-sidebar .ef24-sidebar-search__clear svg { width: 16px; height: 16px; }
.main-sidebar .ef24-sidebar-search__clear:hover { background: #ffffff1a; }
.main-sidebar .ef24-sidebar-search__clear:focus-visible { outline: 2px solid #a8d8ee; outline-offset: 1px; }
.main-sidebar .ef24-sidebar-search__status { margin: 7px 9px 0; color: #c7d8e1; font: inherit; font-size: 11px; line-height: 16px; }
.main-sidebar .ef24-sidebar-search__empty {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    min-width: 0;
    margin: 11px 0 4px;
    padding: 17px 12px 15px;
    border: 1px solid rgba(180, 210, 225, .18);
    border-radius: 0;
    background: rgba(255, 255, 255, .035);
    color: #d9e7ee;
    font: inherit;
    text-align: center;
    box-shadow: none;
}
.main-sidebar .ef24-sidebar-search__empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; flex: 0 0 64px; border: 1px solid rgba(170, 215, 239, .12); border-radius: 50%; color: #a6d9ef; background: rgba(142, 201, 225, .06); }
.main-sidebar .ef24-sidebar-search__empty-icon svg { display: block; width: 50px; height: 50px; }
.main-sidebar .ef24-sidebar-search__empty-title { display: block; color: #eef7fb; font: inherit; font-size: 15px; font-weight: 600; line-height: 20px; }
.main-sidebar .ef24-sidebar-search__empty-text { margin: 0; color: #bcced8; font: inherit; font-size: 12px; line-height: 18px; overflow-wrap: anywhere; }
.main-sidebar .ef24-sidebar-search__empty-hint { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; margin-top: 2px; color: #9db5c2; font: inherit; font-size: 11px; line-height: 17px; }
.main-sidebar .ef24-sidebar-search__empty-hint kbd { padding: 1px 5px; border: 1px solid rgba(180, 210, 225, .22); border-radius: 3px; background: rgba(255, 255, 255, .045); color: #d8e8f0; font: inherit; line-height: 16px; box-shadow: none; }
.main-sidebar .ef24-sidebar-search [hidden] { display: none !important; }
.main-sidebar .sidebar-menu li.ef24-menu-search-hidden { display: none !important; }
html .main-sidebar .sidebar-menu li > ul.treeview-menu.ef24-menu-search-open { display: block !important; }
.main-sidebar .sidebar-menu a.ef24-menu-search-result:focus-visible { outline: 2px solid #a8d8ee; outline-offset: -3px; background: #ffffff12; }
@media (prefers-reduced-motion: reduce) {
    .main-sidebar .ef24-sidebar-search #menuSearch { transition: none; }
}
