.form-floating > .form-control, .form-floating > .form-control-plaintext {
    padding: .3rem .9rem;
}

.form-floating > .form-control, .form-floating > .form-control-plaintext, .form-floating > .form-select {
    height: auto;
    min-height: auto;
    line-height: normal;
}

.form-floating > label {
    padding: .3rem .9rem;
    line-height: normal;
    z-index: 0;
}

.form-floating > .form-control-plaintext ~ label, .form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-select ~ label {
    -webkit-transform: scale(.85) translateY(-0.9rem) translateX(.15rem);
    transform: scale(.85) translateY(-0.9rem) translateX(.15rem);
    z-index: 0;
}

.form-floating > .form-control-plaintext:focus, .form-floating > .form-control-plaintext:not(:placeholder-shown), .form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

    .form-floating > .form-control-plaintext ~ label::after, .form-floating > .form-control:focus ~ label::after, .form-floating > .form-control:not(:placeholder-shown) ~ label::after, .form-floating > .form-select ~ label::after {
        inset: .3rem .45rem;
    }

.choices[data-type*=select-one] .choices__inner {
    padding: .3rem 0.6rem .3rem .9rem;
    min-height: auto;
}

.choices__list--single .choices__item {
    font-weight: 500;
    font-size: 12px;
}

.choices[data-type*=select-one] .choices__input {
    padding: .3rem .9rem;
}

.choices__list--single {
    padding: 0;
}
/* Styles for the autocomplete list */
#autocompleteList {
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    position: absolute;
    width: 100%;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    #autocompleteList div {
        padding: 8px;
        cursor: pointer;
    }

        #autocompleteList div:hover {
            background-color: #f1f1f1;
        }

.no-result {
    padding: 8px;
    color: #888;
    font-style: italic;
}

#autocompleteListmobile {
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    position: absolute;
    width: 100%;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    #autocompleteListmobile div {
        padding: 8px;
        cursor: pointer;
    }

        #autocompleteListmobile div:hover {
            background-color: #f1f1f1;
        }

.no-result {
    padding: 8px;
    color: #888;
    font-style: italic;
}
