/* Bootstrap 4 close buttons (class="close" data-dismiss="alert|modal") are still in many views and flash
 * messages, but the app runs Bootstrap 5, which dropped their style: they showed as a bare bordered box.
 * Drawn the way Bootstrap 4 did; assets/js/legacy-dismiss.js makes them close again. */
button.close,
.alert .close,
.modal .close {
    float: right;
    padding: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: inherit;
    text-shadow: none;
    background: transparent;
    border: 0;
    opacity: .5;
    cursor: pointer;
}

button.close:hover,
button.close:focus,
.alert .close:hover,
.modal .close:hover {
    opacity: .8;
    text-decoration: none;
}

.alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: .75rem 1rem;
}
