/* Search Overlay — clean centered modal */
.gm-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.15s;
}

.gm-search-overlay[hidden] { display: none; }
.gm-search-overlay.active { opacity: 1; }

.gm-search-overlay__bar {
    background: #fff;
    width: 100%;
    max-width: 560px;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.gm-search-overlay__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.gm-search-overlay__icon {
    color: #1B8271;
    font-size: 16px;
    flex-shrink: 0;
}

.gm-search-overlay__inner input {
    flex: 1;
    border: none !important;
    outline: none !important;
    font-size: 16px !important;
    color: #222 !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: auto !important;
    font-family: inherit;
}

.gm-search-overlay__inner input::placeholder { color: #aaa !important; }

.gm-search-overlay__close {
    background: none;
    border: none;
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    line-height: 1;
}

.gm-search-overlay__close:hover { color: #666; }

/* Results inside the card */
.gm-search-overlay__results {
    max-height: 50vh;
    overflow-y: auto;
    padding: 8px;
}

.gm-search__section { padding: 4px 0; }

.gm-search__section-header {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #1B8271;
    padding: 8px 12px 4px;
}

.gm-search__section-header i { margin-right: 6px; }

.gm-search__item {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
}

.gm-search__item:hover {
    background: #f5f9f8;
    text-decoration: none;
    color: #333;
}

.gm-search__item-title { font-size: 14px; font-weight: 500; }
.gm-search__item-subtitle { font-size: 12px; color: #888; margin-top: 1px; }

.gm-search__locked {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    color: #888;
    text-decoration: none;
    font-size: 13px;
}

.gm-search__locked:hover { background: #f5f9f8; color: #1B8271; text-decoration: none; }

.gm-search__empty, .gm-search__loading {
    text-align: center;
    padding: 24px;
    color: #aaa;
    font-size: 14px;
}
