.modal-modern .modal-content {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-modern .modal-header {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    color: #fff;
    border-bottom: none;
}

.modal-modern .btn-close {
    filter: invert(1);
}

.modal-modern .modal-footer {
    border-top: none;
}

.modal-modern .form-floating > .form-control,
.modal-modern .form-floating > .form-select {
    border-radius: .5rem;
}

.modal-modern .modal-dialog {
    transform: translateY(-15%);
}

/* A form between modal-content and modal-body must participate in the flex
   layout, otherwise long option lists and the footer are clipped. */
.modal-dialog-scrollable .modal-content > form{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden}
.modal-dialog-scrollable .modal-content > form > .modal-body{min-height:0}
[data-leadership-options] .selection-card[hidden]{display:none!important}
