.alert-dismissible {
    padding-right: 1rem;
}

.alert-dismissible .btn-close {
    left: 0;
    padding: 0.5rem 0.5rem;
}

.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-control, .input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-select, .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-radius: 0 var(--bs-border-radius) var(--bs-border-radius) 0;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    /*margin-left: calc(var(--bs-border-width) * -1);*/
    border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius);
}

.btn-group>.btn-group:not(:last-child)>.btn, .btn-group>.btn.dropdown-toggle-split:first-child, .btn-group>.btn:not(:last-child):not(.dropdown-toggle) {
    border-radius: 0 var(--bs-btn-border-radius) var(--bs-btn-border-radius) 0;
}

.btn-group>.btn-group:not(:first-child)>.btn, .btn-group>.btn.dropdown-toggle-split:last-child, .btn-group>.btn:not(:first-child):not(.dropdown-toggle) {
    border-radius: var(--bs-btn-border-radius) 0 0 var(--bs-btn-border-radius);
}

.page-item:first-child .page-link {
    border-radius: 0 var(--bs-pagination-border-radius) var(--bs-pagination-border-radius) 0;
}

.page-item:last-child .page-link {
    border-radius: var(--bs-pagination-border-radius) 0 0 var(--bs-pagination-border-radius);
}
