﻿
.form-floating1 > .choices {
    height: auto;
    padding-top: 1.325rem; /* space for label */
}

/* Match Bootstrap's select height and style */
.choices__inner {
    min-height: 3.5rem;
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    padding-top: 1.5rem;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fff;
    overflow-y: hidden;
    flex-wrap: nowrap;
}

    /* Match focus/hover behavior */
    .choices__inner:focus,
    .choices__inner.is-focused {
        border-color: #86b7fe;
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

/* Label float styling */
.form-floating-custom1 > label {
    left: 0.75rem;
    padding: 1 0.25rem;
    pointer-events: none;
    transform: scale(0.85) translateY(-0.6rem);
    transition: all 0.1s ease-in-out;
    background-color: transparent;
    z-index: 10;
    opacity: 0.5;
}

/* Ensure full width */
.choices {
    width: 100%;
}

.choices__inner {
    max-height: 120px;
    overflow-y: auto;
}

/* Optional: limit dropdown menu height too */
.choices__list--dropdown {
    max-height: 300px;
    overflow-y: auto;
}

.choices__input,
.choices__input:focus {
    background-color: white !important;
}

.choices__placeholder {
    background-color: white !important;
    color: #6c757d; /* optional: keep placeholder text color similar to Bootstrap's */
}
