 
.fms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fms-client-item {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    text-align: center;
}

.fms-client-item h3 {
    margin: 0 0 10px;
}

#fms-load-more {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    border: none;
    background: #004b23;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#fms-load-more:hover {
    background: #006d36;
}

/* Make everything align perfectly */
#fms-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    background: #f8f8f8;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Style the dropdowns */
#fms-filter-form select {
    width: 250px; /* Set a fixed width for consistency */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background: #fff;
}

/* Style the search box */
#fms-search-title {
    width: 250px;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Style the search button to match */
#fms-filter-form button {
    height: 42px !important;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    background: #004b23;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

#fms-filter-form button:hover {
    background: #006d36;
}

/* Adjust spacing for mobile */
@media (max-width: 768px) {
    #fms-filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    #fms-filter-form select,
    #fms-search-title,
    #fms-filter-form button {
        width: 100%;
    }
}

#fms-filter-form select,
#fms-search-title {
    height: 40px; /* Match dropdown height */
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Make Select2 dropdowns and the search box exactly the same height */
#fms-filter-form .select2-container .select2-selection--single {
    height: 42px !important; /* Match the search input height */
    line-height: 40px !important;
    padding: 4px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

/* Ensure the search input has the same height */
#fms-search-title {
    height: 42px !important;
    padding: 4px 12px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}