.dropdown-item.active, .dropdown-item:active {
    background: rgb(0 0 0 / 0.1) !important;
    color: inherit !important
}

.form-floating .form-control.btn.btn-secondary:focus,
.form-floating .dropdown.show .form-control.btn.btn-secondary,
.form-floating .form-control.btn.btn-secondary[aria-expanded="true"] {
    background-color: var(--tblr-secondary) !important; /* deja el color original */
    color: var(--tblr-secondary-text, #fff) !important; /* ajusta texto si necesitas */
}

/* si usas btn-primary */
.form-floating .form-control.btn.btn-primary:focus,
.form-floating .dropdown.show .form-control.btn.btn-primary,
.form-floating .form-control.btn.btn-primary[aria-expanded="true"] {
    background-color: var(--tblr-primary) !important;
    color: var(--tblr-primary-text, #000) !important;
}
.btn:not([data-bs-toggle="dropdown"]):focus,
.btn:not([data-bs-toggle="dropdown"]):active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgb(37 140 251 / 0.3) !important;
}

/* ── Readonly ────────────────────────────────────────── */
.form-floating.dropdown[data-readonly] .dropdown-toggle {
    pointer-events: none;
    background-color: var(--tblr-gray-100) !important;
    border-style: dashed !important;
    cursor: default;
}

.form-floating.dropdown[data-readonly] .bi-caret-down-fill {
    transition: opacity 0.2s ease;
    opacity: 0;
}

@media(min-width: 576px) {
    .dropdown-menu {
        opacity: 0;
        transition: all 0.3s
    }

        .dropdown-menu.show {
            margin-top: 0;
            opacity: 1;
        }
}
