.fs-wrap {
    position: relative;
    display: inline-block;
    cursor: pointer;
    line-height: 1;
    width: 100%;
}

.fs-label-wrap {
    position: relative;
    background-color: #fff;
    border: none; /* Remove border */
    border-radius: 50px; /* Rounded like input */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* Bootstrap shadow-sm */
    cursor: default;
    padding: 6px 12px; /* Add padding similar to input */
}


.fs-label-wrap,
.fs-dropdown {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .fs-label-wrap .fs-label {
        padding: 6px 22px 6px 8px;
        text-overflow: ellipsis;
        /*white-space: nowrap;*/
        overflow: hidden;
    }

.fs-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    position: absolute;
    top: 0;
    right: 5px;
    bottom: 0;
    margin: auto;
    transition: ease-in 0.15s;
}

.fs-open .fs-arrow {
    transform: rotate(-180deg);
}

.fs-dropdown {
    position: absolute;
    top: 100%; /* places dropdown below the input */
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    z-index: 1000;
    max-height: 280px;
    overflow-y: auto;
}

    .fs-dropdown .fs-options {
        max-height: 100%;
        /*overflow: auto;*/
    }




.fs-search input {
    border: none !important;
    box-shadow: none !important;
    outline: none;
    padding: 6px 0;
    width: 100%;
}

.fs-option,
.fs-search,
.fs-optgroup-label {
    padding: 6px 8px;
    border-bottom: 1px solid #eee;
    cursor: default;
}

    .fs-option:last-child {
        border-bottom: none;
    }

.fs-search {
    padding: 0 8px;
}

.fs-no-results {
    padding: 6px 8px;
}

.fs-option {
    cursor: pointer;
    word-break: break-all;
}

    .fs-option.disabled {
        opacity: 0.4;
        cursor: default;
    }

    .fs-option.hl {
        background-color: #f5f5f5;
    }

.fs-wrap.multiple .fs-option {
    position: relative;
    padding-left: 30px;
}

.fs-wrap.multiple .fs-checkbox {
    position: absolute;
    display: block;
    width: 30px;
    top: 0;
    left: 0;
    bottom: 0;
}

.fs-wrap.multiple .fs-option .fs-checkbox i {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 14px;
    height: 14px;
    border: 1px solid #aeaeae;
    border-radius: 2px;
    background-color: #fff;
}

.fs-wrap.multiple .fs-option.selected .fs-checkbox i {
    background-color: rgb(17, 169, 17);
    border-color: transparent;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAYAAAD+Bd/7AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAABMSURBVAiZfc0xDkAAFIPhd2Kr1WRjcAExuIgzGUTIZ/AkImjSofnbNBAfHvzAHjOKNzhiQ42IDFXCDivaaxAJd0xYshT3QqBxqnxeHvhunpu23xnmAAAAAElFTkSuQmCC');
    background-repeat: no-repeat;
    background-position: center;
}

.fs-optgroup-label {
    font-weight: bold;
    text-align: center;
    background-color: #f8f8f8;
}

.hidden {
    display: none;
}


.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pagination-btn {
    background-color: transparent;
    color: #6a1b9a; /* Purple color */
    border: 2px solid #6a1b9a;
    /*padding: 10px 20px;*/
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    /* Active Button */
    .pagination-btn.active {
        background-color: #6a1b9a; /* Purple color */
        color: white;
        border-color: #6a1b9a;
    }

    /* Hover Effects */
    .pagination-btn:hover {
        background-color: #9c4dcc; /* Light Purple */
        color: white;
        border-color: #9c4dcc;
        transform: scale(1.1);
    }

    /* Disabled Button */
    .pagination-btn:disabled {
        background-color: #e0e0e0;
        color: #b0b0b0;
        border-color: #e0e0e0;
        cursor: not-allowed;
    }

    /* Button with Icons (optional) */
    .pagination-btn i {
        margin-right: 5px;
    }

.hover-effect {
    transition: all 0.3s ease;
}

    .hover-effect:hover {
        transform: translateY(-5px);
        /*box-shadow: 0 8px 24px rgba(0,0,0,0.1);*/
    }

.py-5 {
    padding-bottom: 20px;
}

.badge-custom {
    padding: 0.5rem 0.75rem;
    border-radius: 50rem;
    font-size: 0.875rem;
    transition: background-color 0.3s, color 0.3s;
}

    .badge-custom:hover {
        filter: brightness(95%);
    }
    /*
.bg-light-biomaterials {
    background-color: #e3f8ff;
    color: #036b94;
}

.bg-light-biocompatibility {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.bg-light-zirconium {
    background-color: #fff8e1;
    color: #8c6d1f;
}

.bg-light-biomedical {
    background-color: #e3eaff;
    color: #003a8c;
}*/

    .badge-custom:hover {
        transform: scale(1.05);
    }

/* Hover effect per custom badge */
.bg-light-biomaterials:hover {
    background-color: #c4ecfb;
    color: #024d6d;
}

.bg-light-biocompatibility:hover {
    background-color: #ccebd3;
    color: #1b5e20;
}

.bg-light-zirconium:hover {
    background-color: #fff3c0;
    color: #6e5617;
}

.bg-light-biomedical:hover {
    background-color: #c4d9ff;
    color: #002b6b;
}
