/* Keep multi-select chips and their search field inside the shared form control. */
.select2-container--default .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .375rem;
    min-height: 2.5rem;
    padding: .25rem .625rem;
    border: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .375rem;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered:empty {
    display: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    position: static;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    flex: 0 0 1.5rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, .35);
    background: transparent;
    font: inherit;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove span {
    display: block;
    line-height: 1;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding: .125rem .5rem;
}

.select2-container .select2-selection--multiple .select2-search--inline {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 8rem;
    margin: 0;
}

.select2-container .select2-selection--multiple .select2-search__field {
    display: block;
    width: 100% !important;
    height: 1.5rem;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.circle {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.success {
  background-color: rgba(var(--bs-success-rgb));
}

.warning {
  background-color: rgba(var(--bs-warning-rgb));
}

.error {
  background-color: rgba(var(--bs-danger-rgb));
}

.spinner {
    border: 16px solid #ffffff;
    border-top: 16px solid rgba(var(--bs-success-rgb));
    animation: spin 1.2s infinite cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pulse {
    box-shadow: 0 0 0 0 #ffffff;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 19px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

/* Carousel */
.carousel-control-prev, .carousel-control-next {
  filter: invert(1);
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
}

.carousel-control-prev {
  left: -4%
}

.carousel-control-next {
  right: -4%
}

.carousel-content {
  padding-bottom: 10px;
  padding-left: 10%;
  padding-right: 10%;
}

/* table */
.small-table td {
  padding: 0.5rem; 
}

/* auth */
.aut-bg-img-gsf {
  background-image: url('/static/assets/images/speaker-gsf.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}
