    /* ... (Keep your existing global variables/fonts) ... */

    

    /* Unified Search Container */
    .search-row {
        position: relative; 
        z-index: 5000;
        display: flex;
        align-items: center; 
        margin-top: 28px;
        
        /* Container Background is WHITE (This is the color of the input part) */
        background: #ffffff; 
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 14px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }

    .search-row:focus-within {
        border-color: #fff;
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    }

    /* 🟢 UPDATED: Dropdown Styling (Added Color) */
    .search-filter {
        /* 🎨 CHANGE HERE: Light Grey/Blue Background */
        background-color: #f1f5f9; 
        
        border: none;
        padding: 16px 15px 16px 20px; 
        font-size: 15px;
        font-weight: 600;
        color: #475569; /* Slightly darker text for contrast */
        cursor: pointer;
        outline: none;
        
        /* Divider Line */
        border-right: 1px solid #e2e8f0; 
        
        /* Round the left corners to match the container */
        border-radius: 14px 0 0 14px; 
        transition: background 0.3s ease;
    }
    
    .search-filter:hover {
        /* Darker grey on hover */
        background-color: #e2e8f0; 
        color: #667eea;
    }

    /* Input Styling */
    .search-row input {
        flex: 1; 
        padding: 16px 20px;
        border: none; 
        
        /* Transparent so it shows the Container's White Background */
        background: transparent; 
        
        font-size: 16px;
        font-weight: 500;
        outline: none;
        border-radius: 0 14px 14px 0; 
        color: #333;
    }

    /* 🟢 POPUP CSS (Kept exactly as you liked it) */
    .search-results-popup {
        position: absolute;
        top: 115%; 
        left: 0;
        right: 0;
        background: #ffffff;
        border-radius: 16px;
        z-index: 99999; 
        box-shadow: 
            0 20px 50px -10px rgba(0,0,0,0.3), 
            0 0 0 1px rgba(0,0,0,0.05);
        max-height: 0; 
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        transform: translateY(-10px);
    }

    .search-results-popup.active {
        max-height: 450px;
        opacity: 1;
        transform: translateY(0);
        overflow-y: auto;
        padding: 8px 0;
    }

    .search-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 12px 20px;
        cursor: pointer;
        transition: background-color 0.2s ease;
        border-bottom: 1px solid #f1f5f9;
    }

    .search-item:last-child { border-bottom: none; }
    .search-item:hover { background-color: #f8fafc; }

    .search-thumb {
        width: 48px;
        height: 72px;
        object-fit: cover;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        background: #e2e8f0;
        flex-shrink: 0;
    }

    .search-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }

    .search-info h4 {
        margin: 0 0 4px 0;
        font-size: 15px;
        font-weight: 700;
        color: #1e293b;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .search-info p {
        margin: 0;
        font-size: 13px;
        font-weight: 500;
        color: #64748b;
    }

    .search-empty, .search-loading {
        padding: 30px;
        text-align: center;
        color: #64748b;
        font-size: 14px;
        font-weight: 500;
    }
    
    /* 🔥 FORCE SIDE-BY-SIDE LAYOUT (Add at the very bottom of CSS) */

.search-row {
    display: flex !important;
    flex-direction: row !important; /* Force horizontal row */
    flex-wrap: nowrap !important;   /* Never allow wrapping */
    align-items: center !important;
}

.search-filter {
    /* Dropdown Settings */
    flex: 0 0 auto !important;      /* Do not grow or shrink randomly */
    width: auto !important;         /* Fit to text */
    max-width: 35% !important;      /* Limit width so search bar has space */
    padding-right: 5px !important;  /* Reduce padding */
}

.search-row input {
    /* Search Bar Settings */
    flex: 1 1 auto !important;      /* Take all remaining space */
    min-width: 0 !important;        /* Allow shrinking if needed */
    width: 100% !important;
}

/* Mobile Specific Tweak */
@media (max-width: 600px) {
    .search-filter {
        font-size: 13px !important;
        padding: 14px 5px 14px 10px !important;
    }
}