.datatable-search {
    position: relative;
    width: 100%;
    /* Take full width */
    margin-bottom: -15px;
}

/* Add search icon */
.datatable-search::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23F44174' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    pointer-events: none;
}

/* Style the search input with your color scheme */
.datatable-input {
    display: block;
    width: 100%;
    /* Take full width */
    padding-top: 0.3rem !important;
    /* Keep top padding */
    padding-bottom: 0.3rem !important;
    /* Keep bottom padding */
    padding-left: 2.25rem !important;
    /* Space for icon */
    padding-right: 0.75rem !important;
    /* Slight padding on right for text not to touch edge */
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #E5F0FB;
    /* Using your secondary color */
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Container fixes to ensure full width */
.datatable-wrapper .datatable-top,
.datatable-wrapper .datatable-top .datatable-search {
    width: 100%;
}

/* Add focus styles with your primary color */
.datatable-input:focus {
    color: #212529;
    background-color: #fff;
    border-color: #F44174;
    /* Using your primary color */
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(244, 65, 116, 0.25);
    /* Primary with opacity */
}

/* Style the placeholder */
.datatable-input::placeholder {
    color: #6c757d;
    opacity: 0.7;
}