/* ===============================
   FILAMENT GLOBAL SEARCH CUSTOM UI
   =============================== */

/* Move search input to the left + make it wider */
.fi-topbar .fi-global-search {
    position: absolute;
    left: 4.75rem;
    top: 50%;
    transform: translateY(-50%);

    /* MUCH wider */
    width: clamp(420px, 48vw, 900px);
}

/* Make search box taller + nicer */
.fi-topbar .fi-global-search input {
    height: 46px;
    font-size: 16px;
    padding-left: 50px;
    padding-right: 50px;
    border-radius: 10px;
}

/* Placeholder styling */
.fi-topbar .fi-global-search input::placeholder {
    font-size: 14px;
    opacity: 0.85;
}

/* Anchor dropdown to this container */
.fi-topbar .fi-global-search {
    position: absolute;
}

/* Move results dropdown to RIGHT edge of input */
.fi-topbar .fi-global-search .fi-dropdown-panel {
    left: auto !important;
    right: 0 !important;
    transform: none !important;

    /* Match input width */
    width: 100% !important;
}

/* Prevent header collapsing */
.fi-topbar .fi-topbar-content {
    position: relative;
    padding-left: clamp(460px, 50vw, 920px);
}
