/**
 * Bootstrap Multiselect (http://davidstutz.de/bootstrap-multiselect/)
 *
 * Apache License, Version 2.0:
 * Copyright (c) 2012 - 2022 David Stutz
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a
 * copy of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations
 * under the License.
 *
 * BSD 3-Clause License:
 * Copyright (c) 2012 - 2022 David Stutz
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *    - Redistributions of source code must retain the above copyright notice,
 *      this list of conditions and the following disclaimer.
 *    - Redistributions in binary form must reproduce the above copyright notice,
 *      this list of conditions and the following disclaimer in the documentation
 *      and/or other materials provided with the distribution.
 *    - Neither the name of David Stutz nor the names of its contributors may be
 *      used to endorse or promote products derived from this software without
 *      specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
span.multiselect-native-select {
  position: relative;
}
span.multiselect-native-select select {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px -1px -1px -3px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  left: 50%;
  top: 30px;
}
.multiselect.dropdown-toggle:after {
  display: none;
}
.multiselect {
  overflow: hidden;
  text-overflow: ellipsis;
}
.multiselect-container {
  position: absolute;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.multiselect-container .multiselect-reset .input-group {
  width: 93%;
}
.multiselect-container .multiselect-filter > .fa-search {
  z-index: 1;
  padding-left: 0.75rem;
}
.multiselect-container .multiselect-filter > input.multiselect-search {
  border: none;
  border-bottom: 1px solid lightgrey;
  padding-left: 2rem;
  margin-left: -1.625rem;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.multiselect-container .multiselect-filter > input.multiselect-search:focus {
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}
.multiselect-container .multiselect-filter > .multiselect-moz-clear-filter {
  margin-left: -1.5rem;
  display: none;
}
.multiselect-container .multiselect-option.multiselect-group-option-indented-full {
  padding-left: 2.6rem;
}
.multiselect-container .multiselect-option.multiselect-group-option-indented {
  padding-left: 1.8rem;
}
.multiselect-container .multiselect-group {
  cursor: pointer;
}
.multiselect-container .multiselect-group.closed .dropdown-toggle::after {
  transform: rotate(-90deg);
}
.multiselect-container .multiselect-group .caret-container ~ .form-check {
  margin-left: 0.5rem;
}
.multiselect-container .multiselect-option,
.multiselect-container .multiselect-group,
.multiselect-container .multiselect-all {
  padding: 0.25rem 0.25rem 0.25rem 0.75rem;
}
.multiselect-container .multiselect-option.dropdown-item,
.multiselect-container .multiselect-group.dropdown-item,
.multiselect-container .multiselect-all.dropdown-item,
.multiselect-container .multiselect-option.dropdown-toggle,
.multiselect-container .multiselect-group.dropdown-toggle,
.multiselect-container .multiselect-all.dropdown-toggle {
  cursor: pointer;
}
.multiselect-container .multiselect-option .form-check-label,
.multiselect-container .multiselect-group .form-check-label,
.multiselect-container .multiselect-all .form-check-label {
  cursor: pointer;
}
.multiselect-container .multiselect-option.active:not(.multiselect-active-item-fallback),
.multiselect-container .multiselect-group.active:not(.multiselect-active-item-fallback),
.multiselect-container .multiselect-all.active:not(.multiselect-active-item-fallback),
.multiselect-container .multiselect-option:not(.multiselect-active-item-fallback):active,
.multiselect-container .multiselect-group:not(.multiselect-active-item-fallback):active,
.multiselect-container .multiselect-all:not(.multiselect-active-item-fallback):active {
  background-color: lightgrey;
  color: black;
}
.multiselect-container .multiselect-option:hover,
.multiselect-container .multiselect-group:hover,
.multiselect-container .multiselect-all:hover,
.multiselect-container .multiselect-option:focus,
.multiselect-container .multiselect-group:focus,
.multiselect-container .multiselect-all:focus {
  background-color: darkgray !important;
}
.multiselect-container .multiselect-option .form-check,
.multiselect-container .multiselect-group .form-check,
.multiselect-container .multiselect-all .form-check {
  padding: 0 5px 0 20px;
}
.multiselect-container .multiselect-option:focus,
.multiselect-container .multiselect-group:focus,
.multiselect-container .multiselect-all:focus {
  outline: none;
}
.form-inline .multiselect-container span.form-check {
  padding: 3px 20px 3px 40px;
}
.input-group.input-group-sm > .multiselect-native-select .multiselect {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  padding-right: 1.75rem;
  height: calc(1.5em + 0.5rem + 2px);
}
.input-group > .multiselect-native-select {
  flex: 1 1 auto;
  width: 1%;
}
.input-group > .multiselect-native-select > div.btn-group {
  width: 100%;
}
.input-group > .multiselect-native-select:not(:first-child) .multiselect {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.input-group > .multiselect-native-select:not(:last-child) .multiselect {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.select2-container {
  box-sizing: border-box;
  display: inline-block;
  margin: 0;
  position: relative;
  vertical-align: middle; }
  .select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 28px;
    user-select: none;
    -webkit-user-select: none; }
    .select2-container .select2-selection--single .select2-selection__rendered {
      display: block;
      padding-left: 8px;
      padding-right: 20px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap; }
    .select2-container .select2-selection--single .select2-selection__clear {
      position: relative; }
  .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
    padding-right: 8px;
    padding-left: 20px; }
  .select2-container .select2-selection--multiple {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    min-height: 32px;
    user-select: none;
    -webkit-user-select: none; }
    .select2-container .select2-selection--multiple .select2-selection__rendered {
      display: inline-block;
      overflow: hidden;
      padding-left: 8px;
      text-overflow: ellipsis;
      white-space: nowrap; }
  .select2-container .select2-search--inline {
    float: left; }
    .select2-container .select2-search--inline .select2-search__field {
      box-sizing: border-box;
      border: none;
      font-size: 100%;
      margin-top: 5px;
      padding: 0; }
      .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
        -webkit-appearance: none; }

.select2-dropdown {
  background-color: white;
  border: 1px solid #aaa;
  border-radius: 4px;
  box-sizing: border-box;
  display: block;
  position: absolute;
  left: -100000px;
  width: 100%;
  z-index: 1051; }

.select2-results {
  display: block; }

.select2-results__options {
  list-style: none;
  margin: 0;
  padding: 0; }

.select2-results__option {
  padding: 6px;
  user-select: none;
  -webkit-user-select: none; }
  .select2-results__option[aria-selected] {
    cursor: pointer; }

.select2-container--open .select2-dropdown {
  left: 0; }

.select2-container--open .select2-dropdown--above {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0; }

.select2-container--open .select2-dropdown--below {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0; }

.select2-search--dropdown {
  display: block;
  padding: 4px; }
  .select2-search--dropdown .select2-search__field {
    padding: 4px;
    width: 100%;
    box-sizing: border-box; }
    .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
      -webkit-appearance: none; }
  .select2-search--dropdown.select2-search--hide {
    display: none; }

.select2-close-mask {
  border: 0;
  margin: 0;
  padding: 0;
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  min-height: 100%;
  min-width: 100%;
  height: auto;
  width: auto;
  opacity: 0;
  z-index: 99;
  background-color: #fff;
  filter: alpha(opacity=0); }

.select2-hidden-accessible {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important; }

.select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #aaa;
  border-radius: 4px; }
  .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 28px; }
  .select2-container--default .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold; }
  .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999; }
  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px; }
    .select2-container--default .select2-selection--single .select2-selection__arrow b {
      border-color: #888 transparent transparent transparent;
      border-style: solid;
      border-width: 5px 4px 0 4px;
      height: 0;
      left: 50%;
      margin-left: -4px;
      margin-top: -2px;
      position: absolute;
      top: 50%;
      width: 0; }

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
  float: left; }

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
  left: 1px;
  right: auto; }

.select2-container--default.select2-container--disabled .select2-selection--single {
  background-color: #eee;
  cursor: default; }
  .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
    display: none; }

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #888 transparent;
  border-width: 0 4px 5px 4px; }

.select2-container--default .select2-selection--multiple {
  background-color: white;
  border: 1px solid #aaa;
  border-radius: 4px;
  cursor: text; }
  .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0 5px;
    width: 100%; }
    .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
      list-style: none; }
  .select2-container--default .select2-selection--multiple .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin-top: 5px;
    margin-right: 10px;
    padding: 1px; }
  .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px; }
  .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #999;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 2px; }
    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
      color: #333; }

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
  float: right; }

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  margin-left: 5px;
  margin-right: auto; }

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
  margin-left: 2px;
  margin-right: auto; }

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border: solid black 1px;
  outline: 0; }

.select2-container--default.select2-container--disabled .select2-selection--multiple {
  background-color: #eee;
  cursor: default; }

.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
  display: none; }

.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
  border-top-left-radius: 0;
  border-top-right-radius: 0; }

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0; }

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #aaa; }

.select2-container--default .select2-search--inline .select2-search__field {
  background: transparent;
  border: none;
  outline: 0;
  box-shadow: none;
  -webkit-appearance: textfield; }

.select2-container--default .select2-results > .select2-results__options {
  max-height: 200px;
  overflow-y: auto; }

.select2-container--default .select2-results__option[role=group] {
  padding: 0; }

.select2-container--default .select2-results__option[aria-disabled=true] {
  color: #999; }

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #ddd; }

.select2-container--default .select2-results__option .select2-results__option {
  padding-left: 1em; }
  .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
    padding-left: 0; }
  .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -1em;
    padding-left: 2em; }
    .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
      margin-left: -2em;
      padding-left: 3em; }
      .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
        margin-left: -3em;
        padding-left: 4em; }
        .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
          margin-left: -4em;
          padding-left: 5em; }
          .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
            margin-left: -5em;
            padding-left: 6em; }

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #5897fb;
  color: white; }

.select2-container--default .select2-results__group {
  cursor: default;
  display: block;
  padding: 6px; }

.select2-container--classic .select2-selection--single {
  background-color: #f7f7f7;
  border: 1px solid #aaa;
  border-radius: 4px;
  outline: 0;
  background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
  background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
  background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
  .select2-container--classic .select2-selection--single:focus {
    border: 1px solid #5897fb; }
  .select2-container--classic .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 28px; }
  .select2-container--classic .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin-right: 10px; }
  .select2-container--classic .select2-selection--single .select2-selection__placeholder {
    color: #999; }
  .select2-container--classic .select2-selection--single .select2-selection__arrow {
    background-color: #ddd;
    border: none;
    border-left: 1px solid #aaa;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
    background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
    background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
    background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
    .select2-container--classic .select2-selection--single .select2-selection__arrow b {
      border-color: #888 transparent transparent transparent;
      border-style: solid;
      border-width: 5px 4px 0 4px;
      height: 0;
      left: 50%;
      margin-left: -4px;
      margin-top: -2px;
      position: absolute;
      top: 50%;
      width: 0; }

.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
  float: left; }

.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
  border: none;
  border-right: 1px solid #aaa;
  border-radius: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  left: 1px;
  right: auto; }

.select2-container--classic.select2-container--open .select2-selection--single {
  border: 1px solid #5897fb; }
  .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
    background: transparent;
    border: none; }
    .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
      border-color: transparent transparent #888 transparent;
      border-width: 0 4px 5px 4px; }

.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
  background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
  background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }

.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
  background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
  background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }

.select2-container--classic .select2-selection--multiple {
  background-color: white;
  border: 1px solid #aaa;
  border-radius: 4px;
  cursor: text;
  outline: 0; }
  .select2-container--classic .select2-selection--multiple:focus {
    border: 1px solid #5897fb; }
  .select2-container--classic .select2-selection--multiple .select2-selection__rendered {
    list-style: none;
    margin: 0;
    padding: 0 5px; }
  .select2-container--classic .select2-selection--multiple .select2-selection__clear {
    display: none; }
  .select2-container--classic .select2-selection--multiple .select2-selection__choice {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px; }
  .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
    color: #888;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 2px; }
    .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
      color: #555; }

.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  float: right;
  margin-left: 5px;
  margin-right: auto; }

.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
  margin-left: 2px;
  margin-right: auto; }

.select2-container--classic.select2-container--open .select2-selection--multiple {
  border: 1px solid #5897fb; }

.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0; }

.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0; }

.select2-container--classic .select2-search--dropdown .select2-search__field {
  border: 1px solid #aaa;
  outline: 0; }

.select2-container--classic .select2-search--inline .select2-search__field {
  outline: 0;
  box-shadow: none; }

.select2-container--classic .select2-dropdown {
  background-color: white;
  border: 1px solid transparent; }

.select2-container--classic .select2-dropdown--above {
  border-bottom: none; }

.select2-container--classic .select2-dropdown--below {
  border-top: none; }

.select2-container--classic .select2-results > .select2-results__options {
  max-height: 200px;
  overflow-y: auto; }

.select2-container--classic .select2-results__option[role=group] {
  padding: 0; }

.select2-container--classic .select2-results__option[aria-disabled=true] {
  color: grey; }

.select2-container--classic .select2-results__option--highlighted[aria-selected] {
  background-color: #3875d7;
  color: white; }

.select2-container--classic .select2-results__group {
  cursor: default;
  display: block;
  padding: 6px; }

.select2-container--classic.select2-container--open .select2-dropdown {
  border-color: #5897fb; }

@charset "UTF-8";:root{--tagify-dd-color-primary:rgb(53,149,246);--tagify-dd-text-color:black;--tagify-dd-bg-color:white;--tagify-dd-item-pad:.3em .5em;--tagify-dd-max-height:300px}.tagify{--tags-disabled-bg:#F1F1F1;--tags-border-color:#DDD;--tags-hover-border-color:#CCC;--tags-focus-border-color:#3595f6;--tag-border-radius:3px;--tag-bg:#E5E5E5;--tag-hover:#D3E2E2;--tag-text-color:black;--tag-text-color--edit:black;--tag-pad:0.3em 0.5em;--tag-inset-shadow-size:1.1em;--tag-invalid-color:#D39494;--tag-invalid-bg:rgba(211, 148, 148, 0.5);--tag--min-width:1ch;--tag--max-width:100%;--tag-hide-transition:0.3s;--tag-remove-bg:rgba(211, 148, 148, 0.3);--tag-remove-btn-color:black;--tag-remove-btn-bg:none;--tag-remove-btn-bg--hover:#c77777;--input-color:inherit;--placeholder-color:rgba(0, 0, 0, 0.4);--placeholder-color-focus:rgba(0, 0, 0, 0.25);--loader-size:.8em;--readonly-striped:1;display:inline-flex;align-items:flex-start;flex-wrap:wrap;border:1px solid var(--tags-border-color);padding:0;line-height:0;outline:0;position:relative;box-sizing:border-box;transition:.1s}@keyframes tags--bump{30%{transform:scale(1.2)}}@keyframes rotateLoader{to{transform:rotate(1turn)}}.tagify:has([contenteditable=true]){cursor:text}.tagify:hover:not(.tagify--focus):not(.tagify--invalid){--tags-border-color:var(--tags-hover-border-color)}.tagify[disabled]{background:var(--tags-disabled-bg);filter:saturate(0);opacity:.5;pointer-events:none}.tagify[disabled].tagify--select,.tagify[readonly].tagify--select{pointer-events:none}.tagify[disabled]:not(.tagify--mix):not(.tagify--select),.tagify[readonly]:not(.tagify--mix):not(.tagify--select){cursor:default}.tagify[disabled]:not(.tagify--mix):not(.tagify--select)>.tagify__input,.tagify[readonly]:not(.tagify--mix):not(.tagify--select)>.tagify__input{visibility:hidden;width:0;margin:5px 0}.tagify[disabled]:not(.tagify--mix):not(.tagify--select) .tagify__tag>div,.tagify[readonly]:not(.tagify--mix):not(.tagify--select) .tagify__tag>div{padding:var(--tag-pad)}.tagify[disabled]:not(.tagify--mix):not(.tagify--select) .tagify__tag>div::before,.tagify[readonly]:not(.tagify--mix):not(.tagify--select) .tagify__tag>div::before{animation:readonlyStyles 1s calc(-1s * (var(--readonly-striped) - 1)) paused}@keyframes readonlyStyles{0%{background:linear-gradient(45deg,var(--tag-bg) 25%,transparent 25%,transparent 50%,var(--tag-bg) 50%,var(--tag-bg) 75%,transparent 75%,transparent) 0/5px 5px;box-shadow:none;filter:brightness(.95)}}.tagify[disabled] .tagify__tag__removeBtn,.tagify[readonly] .tagify__tag__removeBtn{display:none}.tagify--loading .tagify__input>br:last-child{display:none}.tagify--loading .tagify__input::before{content:none}.tagify--loading .tagify__input::after{content:"";vertical-align:middle;opacity:1;width:.7em;height:.7em;width:var(--loader-size);height:var(--loader-size);min-width:0;border:3px solid;border-color:#eee #bbb #888 transparent;border-radius:50%;animation:rotateLoader .4s infinite linear;content:""!important;margin:-2px 0 -2px .5em}.tagify--loading .tagify__input:empty::after{margin-left:0}.tagify+input,.tagify+textarea{position:absolute!important;left:-9999em!important;transform:scale(0)!important}.tagify__tag{display:inline-flex;align-items:center;max-width:var(--tag--max-width);margin-inline:5px 0;margin-block:5px;position:relative;z-index:1;outline:0;line-height:normal;cursor:default;transition:.13s ease-out}.tagify__tag>div{display:flex;flex:1;vertical-align:top;box-sizing:border-box;max-width:100%;padding:var(--tag-pad);color:var(--tag-text-color);line-height:inherit;border-radius:var(--tag-border-radius);white-space:nowrap;transition:.13s ease-out}.tagify__tag>div>*{white-space:pre-wrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;vertical-align:top;min-width:var(--tag--min-width);max-width:var(--tag--max-width);transition:.8s ease,.1s color}.tagify__tag>div>[contenteditable]{display:block;outline:0;-webkit-user-select:text;user-select:text;cursor:text;margin:-2px;padding:2px;max-width:350px}.tagify__tag>div>:only-child{width:100%}.tagify__tag>div::before{content:"";position:absolute;border-radius:inherit;inset:var(--tag-bg-inset,0);z-index:-1;pointer-events:none;transition:120ms ease;animation:tags--bump .3s ease-out 1;box-shadow:0 0 0 var(--tag-inset-shadow-size) var(--tag-bg) inset}.tagify__tag:focus div::before,.tagify__tag:hover:not([readonly]) div::before{--tag-bg-inset:-2.5px;--tag-bg:var(--tag-hover)}.tagify__tag--loading{pointer-events:none}.tagify__tag--loading .tagify__tag__removeBtn{display:none}.tagify__tag--loading::after{--loader-size:.4em;content:"";vertical-align:middle;opacity:1;width:.7em;height:.7em;width:var(--loader-size);height:var(--loader-size);min-width:0;border:3px solid;border-color:#eee #bbb #888 transparent;border-radius:50%;animation:rotateLoader .4s infinite linear;margin:0 .5em 0 -.1em}.tagify__tag--flash div::before{animation:none}.tagify__tag--hide{width:0!important;padding-left:0;padding-right:0;margin-left:0;margin-right:0;opacity:0;transform:scale(0);transition:var(--tag-hide-transition);pointer-events:none}.tagify__tag--hide>div>*{white-space:nowrap}.tagify__tag.tagify--noAnim>div::before{animation:none}.tagify__tag.tagify--notAllowed:not(.tagify__tag--editable) div>span{opacity:.5}.tagify__tag.tagify--notAllowed:not(.tagify__tag--editable) div::before{--tag-bg:var(--tag-invalid-bg);transition:.2s}.tagify__tag[readonly] .tagify__tag__removeBtn{display:none}.tagify__tag[readonly]>div::before{animation:readonlyStyles 1s calc(-1s * (var(--readonly-striped) - 1)) paused}@keyframes readonlyStyles{0%{background:linear-gradient(45deg,var(--tag-bg) 25%,transparent 25%,transparent 50%,var(--tag-bg) 50%,var(--tag-bg) 75%,transparent 75%,transparent) 0/5px 5px;box-shadow:none;filter:brightness(.95)}}.tagify__tag--editable>div{color:var(--tag-text-color--edit)}.tagify__tag--editable>div::before{box-shadow:0 0 0 2px var(--tag-hover) inset!important}.tagify__tag--editable>.tagify__tag__removeBtn{pointer-events:none}.tagify__tag--editable>.tagify__tag__removeBtn::after{opacity:0;transform:translateX(100%) translateX(5px)}.tagify__tag--editable.tagify--invalid>div::before{box-shadow:0 0 0 2px var(--tag-invalid-color) inset!important}.tagify__tag__removeBtn{order:5;display:inline-flex;align-items:center;justify-content:center;border-radius:50px;cursor:pointer;font:14px/1 Arial;background:var(--tag-remove-btn-bg);color:var(--tag-remove-btn-color);width:14px;height:14px;margin-inline:auto 4.6666666667px;overflow:hidden;transition:.2s ease-out}.tagify__tag__removeBtn::after{content:"×";transition:.3s,color 0s}.tagify__tag__removeBtn:hover{color:#fff;background:var(--tag-remove-btn-bg--hover)}.tagify__tag__removeBtn:hover+div>span{opacity:.5}.tagify__tag__removeBtn:hover+div::before{box-shadow:0 0 0 var(--tag-inset-shadow-size) var(--tag-remove-bg,rgba(211,148,148,.3)) inset!important;transition:box-shadow .2s}.tagify:not(.tagify--mix) .tagify__input br{display:none}.tagify:not(.tagify--mix) .tagify__input *{display:inline;white-space:nowrap}.tagify__input{flex-grow:1;display:inline-block;min-width:110px;margin:5px;padding:var(--tag-pad);line-height:normal;position:relative;white-space:pre-wrap;color:var(--input-color);box-sizing:inherit;overflow:hidden}.tagify__input:focus{outline:0}.tagify__input:focus::before{transition:.2s ease-out;opacity:0;transform:translatex(6px)}@supports (-ms-ime-align:auto){.tagify__input:focus::before{display:none}}.tagify__input:focus:empty::before{transition:.2s ease-out;opacity:1;transform:none;color:rgba(0,0,0,.25);color:var(--placeholder-color-focus)}@-moz-document url-prefix(){.tagify__input:focus:empty::after{display:none}}.tagify__input::before{content:attr(data-placeholder);width:100%;height:100%;margin:auto 0;z-index:1;color:var(--placeholder-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;pointer-events:none;opacity:0;position:absolute}.tagify__input::after{content:attr(data-suggest);display:inline-block;vertical-align:middle;position:absolute;min-width:calc(100% - 1.5em);text-overflow:ellipsis;overflow:hidden;white-space:pre;color:var(--tag-text-color);opacity:.3;pointer-events:none;max-width:100px}.tagify__input .tagify__tag{margin:0 1px}.tagify--mix{display:block}.tagify--mix .tagify__input{padding:5px;margin:0;width:100%;height:100%;line-height:1.5;display:block}.tagify--mix .tagify__input::before{height:auto;display:none;line-height:inherit}.tagify--mix .tagify__input::after{content:none}.tagify--select{cursor:default}.tagify--select::after{content:">";opacity:.5;position:absolute;top:50%;right:0;bottom:0;font:16px monospace;line-height:8px;height:8px;pointer-events:none;transform:translate(-150%,-50%) scaleX(1.2) rotate(90deg);transition:.2s ease-in-out}.tagify--select[aria-expanded=true]::after{transform:translate(-150%,-50%) rotate(270deg) scaleY(1.2)}.tagify--select .tagify__tag{flex:1;max-width:none;margin-inline-end:2em;margin-block:0;padding-block:5px;cursor:text}.tagify--select .tagify__tag div::before{display:none}.tagify--select .tagify__tag+.tagify__input{display:none}.tagify--empty .tagify__input::before{transition:.2s ease-out;opacity:1;transform:none;display:inline-block;width:auto}.tagify--mix .tagify--empty .tagify__input::before{display:inline-block}.tagify--focus{--tags-border-color:var(--tags-focus-border-color);transition:0s}.tagify--invalid{--tags-border-color:#D39494}.tagify__dropdown{position:absolute;z-index:9999;transform:translateY(-1px);border-top:1px solid var(--tagify-dd-color-primary);overflow:hidden}.tagify__dropdown[dir=rtl]{transform:translate(-100%,-1px)}.tagify__dropdown[placement=top]{margin-top:0;transform:translateY(-100%)}.tagify__dropdown[placement=top] .tagify__dropdown__wrapper{border-top-width:1.1px;border-bottom-width:0}.tagify__dropdown[position=text]{box-shadow:0 0 0 3px rgba(var(--tagify-dd-color-primary),.1);font-size:.9em}.tagify__dropdown[position=text] .tagify__dropdown__wrapper{border-width:1px}.tagify__dropdown__wrapper{max-height:var(--tagify-dd-max-height);overflow:hidden;overflow-x:hidden;color:var(--tagify-dd-text-color);background:var(--tagify-dd-bg-color);border:1px solid;border-color:var(--tagify-dd-color-primary);border-bottom-width:1.5px;border-top-width:0;box-shadow:0 2px 4px -2px rgba(0,0,0,.2);transition:.3s cubic-bezier(.5,0,.3,1),transform .15s;animation:dd-wrapper-show 0s .3s forwards}@keyframes dd-wrapper-show{to{overflow-y:auto}}.tagify__dropdown__header:empty{display:none}.tagify__dropdown__footer{display:inline-block;margin-top:.5em;padding:var(--tagify-dd-item-pad);font-size:.7em;font-style:italic;opacity:.5}.tagify__dropdown__footer:empty{display:none}.tagify__dropdown--initial .tagify__dropdown__wrapper{max-height:20px;transform:translateY(-1em)}.tagify__dropdown--initial[placement=top] .tagify__dropdown__wrapper{transform:translateY(2em)}.tagify__dropdown__item{box-sizing:border-box;padding:var(--tagify-dd-item-pad);margin:1px;white-space:pre-wrap;cursor:pointer;border-radius:2px;position:relative;outline:0;max-height:60px;max-width:100%;line-height:normal;position:relative}.tagify__dropdown__item--active{background:var(--tagify-dd-color-primary);color:#fff}.tagify__dropdown__item:active{filter:brightness(105%)}.tagify__dropdown__item--hidden{padding-top:0;padding-bottom:0;margin:0 1px;pointer-events:none;overflow:hidden;max-height:0;transition:var(--tagify-dd-item--hidden-duration,.3s)!important}.tagify__dropdown__item--hidden>*{transform:translateY(-100%);opacity:0;transition:inherit}.tagify__dropdown__item--selected::before{content:"✓";font-family:monospace;position:absolute;inset-inline-start:6px;text-indent:0;line-height:1.1}.tagify__dropdown:has(.tagify__dropdown__item--selected) .tagify__dropdown__item{text-indent:1em}
.rz-fileupload-control {
	left: 0;
}

.rz-fileupload-control .rz-fileupload-buttonbar .rz-fileupload-choose {
	width: 100%;
	text-align: center;
	font-size: 16px;
	padding: 100px 0;
}

.rz-fileupload-choose input[type=file] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}

.rz-file-drop-zone {
	position: relative;
	width: 100%;
	min-height: 100px;
	border: 2px dashed #ccc;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 16px;
}

.rz-file-drop-zone:hover {
	border-color: #007bff;
	background-color: var(--bs-component-hover-bg);
}

.rz-file-input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 1;
}

.rz-drop-zone-content {
	width: 100%;
	text-align: center;
	pointer-events: none;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100px;
}

.rz-drop-zone-content.has-files {
	min-height: 60px;
	flex: 0;
}

.rz-files-container {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
	pointer-events: auto;
	position: relative;
	z-index: 3;
}

.rz-file-tile {
	position: relative;
	width: 120px;
	height: 100px;
	border: 1px solid #555;
	border-radius: 6px;
	background-color: rgba(var(--bs-component-border-color-rgb),.15);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	overflow: hidden;
	z-index: 4;
}

.rz-file-tile:hover {
	border-color: #dc3545;
	background-color: rgba(255, 53, 02, 0.1);
	transform: scale(0.98);
}

.rz-file-tile:hover .rz-remove-overlay {
	opacity: 1;
}

.rz-file-thumbnail {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 8px;
}

.rz-file-icon {
	font-size: 32px;
	margin-bottom: 8px;
}

.rz-file-name {
	font-size: 11px;
	color: white;
	text-align: center;
	line-height: 1.2;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 0 4px;
}

.rz-remove-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255, 53, 02, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s ease;
	border-radius: 6px;
}

.rz-remove-icon {
	color: red;
	font-size: 24px;
	font-weight: bold;
}

.rz-drop-zone-content i {
	font-size: 48px;
	margin-bottom: 16px;
	display: block;
}

/* Video Container - Fixed Layout */
.video-container {
	position: relative;
	border-radius: 0.375rem;
	overflow: hidden;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	transition: all 0.3s ease;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #000; /* dark fallback while we swap MSE */
	/* Auto from JS via --slot-aspect; fall back to 16/9 if unknown yet */
	aspect-ratio: var(--slot-aspect, 16/9);
}

	

	.video-container:hover {
		box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	}

.video-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	cursor: pointer;
	overflow: hidden;
	flex: 1;
	display: flex;
	align-items: stretch;
}

.video-player {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border: none;
	outline: none;
	transition: all 0.3s ease;
}

	.video-player.fullscreen-custom {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		width: 100vw !important;
		height: 100vh !important;
		z-index: 9999 !important;
		object-fit: contain !important;
		background: #000 !important;
	}

.video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.7) 100%);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 0.75rem;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	z-index: 10;
}

.video-container:hover .video-overlay,
.video-container.fullscreen .video-overlay {
	opacity: 1;
	pointer-events: auto;
}

.video-overlay > * {
	pointer-events: auto;
}

.video-info h6 {
	color: white;
	font-weight: 600;
	text-shadow: 0 1px 2px rgba(0,0,0,0.8);
	margin: 0;
	pointer-events: none;
}

.video-info small {
	color: rgba(255,255,255,0.8);
	text-shadow: 0 1px 2px rgba(0,0,0,0.8);
	pointer-events: none;
}

.video-controls {
	align-self: flex-end;
	display: flex;
	gap: 0.25rem;
}

	.video-controls .btn {
		backdrop-filter: blur(4px);
		border-color: rgba(255,255,255,0.3);
		background-color: rgba(0,0,0,0.3);
		color: white;
		pointer-events: auto;
		z-index: 11;
	}

		.video-controls .btn:hover {
			background-color: rgba(255,255,255,0.2);
			border-color: rgba(255,255,255,0.5);
			color: white;
		}

/* Loading State - Centered and maintains aspect ratio */
.video-loading {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	color: white;
}

	.video-loading .text-center h6 {
		color: white;
		margin-bottom: 0.5rem;
	}

	.video-loading .text-center small {
		color: rgba(255, 255, 255, 0.7);
	}

/* Error State - Maintains panel dimensions */
.video-error-state {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	border: 2px solid var(--bs-danger);
	border-radius: 0.375rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 8px rgba(var(--bs-danger-rgb), 0.3);
	position: relative;
}

.video-error-content {
	text-align: center;
	padding: 1rem;
	color: white;
}

	.video-error-content h6 {
		margin: 0 0 0.5rem 0;
		font-weight: 600;
		color: white;
	}

	.video-error-content p {
		font-size: 0.875rem;
		margin: 0 0 1rem 0;
		color: var(--bs-gray-400);
	}

	.video-error-content .btn {
		min-width: 80px;
	}

/* Panel specific fixes */
.video-panel {
	display: inline-block;
	width: auto !important;
	max-width: 100%;
}

/* Override panel margins in grid context */
.video-grid-item .video-panel {
	width: 100% !important;
	height: 100%;
	margin: 0 !important;
	max-width: 100% !important;
	display: block;
}

.video-panel .panel-body {
	position: relative;
	overflow: hidden;
}

/* Fullscreen body class to prevent scroll */
:global(body.video-fullscreen-active) {
	overflow: hidden;
}

/* Autoplay overlay styles */
.autoplay-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	cursor: pointer;
	z-index: 15;
	text-align: center;
	border-radius: inherit;
}

.autoplay-button {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	transition: transform 0.2s ease;
}

	.autoplay-button:hover {
		transform: scale(1.1);
	}

	.autoplay-button i {
		color: rgba(255,255,255,0.9);
		filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
	}

	.autoplay-button p {
		margin: 0;
		font-size: 1.1rem;
		font-weight: 500;
		text-shadow: 0 1px 2px rgba(0,0,0,0.8);
	}

/* Responsive adjustments */
@media (max-width: 768px) {
	.video-overlay {
		opacity: 1;
		pointer-events: auto;
	}

	.video-controls .btn {
		padding: 0.25rem 0.5rem;
		font-size: 0.875rem;
	}

	.video-error-content {
		padding: 0.5rem;
	}

		.video-error-content h6 {
			font-size: 0.9rem;
		}

		.video-error-content p {
			font-size: 0.8rem;
		}
}


canvas.video-freeze {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: none;
}

canvas.video-freeze.video-freeze--visible {
	display: block;
}

.video-container .play-overlay {
	pointer-events: none; /* default: don’t block clicks */
	opacity: 0; /* default: hidden */
	transition: opacity 120ms ease;
	
}

.video-container.show-overlay .play-overlay {
	pointer-events: auto; /* clickable only when we explicitly show */
	opacity: 1;
	
}





/* Grid Layout Fixes */
.video-css-grid {
	display: grid;
	gap: 1rem;
	width: 100%;
	grid-auto-rows: minmax(250px, auto);
}

.video-grid-item {
	width: 100%;
	aspect-ratio: 16/9;
	min-height: 250px;
	position: relative;
}

	/* Ensure grid items maintain consistent dimensions */
	.video-grid-item .video-panel {
		width: 100% !important;
		height: 100%;
		margin: 0 !important;
		max-width: 100% !important;
		display: block;
	}

		.video-grid-item .video-panel .panel-body {
			height: calc(100% - 48px); /* Subtract header height */
		}

	/* Disconnected state styling for grid */
	.video-grid-item.disconnected {
		opacity: 0.7;
	}

.add-video-card {
	width: 100%;
	height: 100%;
	border: 2px dashed var(--bs-gray-400);
	border-radius: 0.375rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	color: var(--bs-gray-600);
	background: transparent;
	aspect-ratio: 16/9;
}

	.add-video-card:hover {
		border-color: var(--bs-primary);
		color: var(--bs-primary);
		background: rgba(var(--bs-primary-rgb), 0.05);
		transform: translateY(-2px);
	}

	.add-video-card h6 {
		margin: 0;
		font-weight: 500;
	}

/* Grid Layout Fixes - Aggressive Responsive Handling */
.video-css-grid {
	display: grid;
	width: 100%;
	grid-auto-rows: minmax(250px, auto);
	box-sizing: border-box;
	max-width: 100%;
	overflow: hidden;
}

.video-grid-item {
	width: 100%;
	aspect-ratio: 16/9;
	min-height: 250px;
	position: relative;
	box-sizing: border-box;
	min-width: 0; /* Allows items to shrink below content size */
}

/* Responsive CSS Grid - Override inline styles aggressively */
@media (max-width: 576px) {
	.video-css-grid {
		grid-template-columns: 1fr !important;
		gap: 0.5rem !important;
		grid-auto-rows: minmax(200px, auto);
	}

	.video-grid-item {
		min-height: 200px;
	}
}

@media (min-width: 577px) and (max-width: 768px) {
	.video-css-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 0.5rem !important;
	}
}

@media (min-width: 769px) and (max-width: 1199px) {
	.video-css-grid[style*="repeat(4"] {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 0.5rem !important;
	}

	.video-css-grid[style*="repeat(3"] {
		gap: 0.5rem !important;
	}
}

@media (min-width: 1200px) and (max-width: 1599px) {
	.video-css-grid[style*="repeat(4"] {
		gap: 0.25rem !important;
	}
}

/* Large screens can handle 4 columns with minimal gap */
@media (min-width: 1600px) {
	.video-css-grid[style*="repeat(4"] {
		gap: 0.5rem !important;
	}
}

/* Ensure videos maintain aspect ratio in grid */
.video-grid-item > * {
	width: 100%;
	height: 100%;
}

/* Glow effects (keeping your existing styles) */
.video-container.glow-effect {
	box-shadow: 0 0 6px rgba(var(--bs-theme-rgb), 0.25), 0 0 12px rgba(var(--bs-theme-rgb), 0.15);
	transition: box-shadow 0.3s ease;
}

	.video-container.glow-effect:hover {
		box-shadow: 0 0 8px rgba(var(--bs-theme-rgb), 0.45), 0 0 16px rgba(var(--bs-theme-rgb), 0.35), 0 0 24px rgba(var(--bs-theme-rgb), 0.25);
	}

.video-container.glow-connected {
	box-shadow: 0 0 12px rgba(var(--bs-success-rgb, 25, 135, 84), 0.5);
}

.video-container.glow-disconnected {
	box-shadow: 0 0 12px rgba(var(--bs-danger-rgb, 220, 53, 69), 0.5);
}

.video-container.glow-loading {
	box-shadow: 0 0 12px rgba(var(--bs-warning-rgb, 255, 193, 7), 0.5);
	animation: loadingPulse 1s ease-in-out infinite;
}

@keyframes loadingPulse {
	0%, 100% {
		opacity: 1;
	}

	50% {
		opacity: 0.7;
	}
}

/* Performance optimization for animations */
.video-container[class*="glow-"] {
	will-change: box-shadow, transform;
	backface-visibility: hidden;
}

/* Video Grid Container */
.css-video-grid-container {
	position: relative;
	width: 100%;
}

/* Desktop Slide-out Menu */
.add-feeds-slideout {
	position: fixed;
	top: 0;
	left: -400px;
	width: 400px;
	height: 100vh;
	background: white;
	box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
	z-index: 1050;
	transition: left 0.3s ease;
	display: flex;
	flex-direction: column;
	border-right: 1px solid var(--bs-border-color);
}

	.add-feeds-slideout.active {
		left: 0;
	}

.add-feeds-slideout-header {
	padding: 1rem;
	border-bottom: 1px solid var(--bs-border-color);
	background: var(--bs-light);
	display: flex;
	justify-content: between;
	align-items: center;
	gap: 1rem;
}

	.add-feeds-slideout-header h5 {
		flex: 1;
		margin: 0;
	}

.add-feeds-slideout-content {
	flex: 1;
	overflow-y: auto;
	padding: 1rem;
}

/* Mobile Overlay */
.add-feeds-mobile-overlay {
	position: relative;
	width: 100%;
	background: white;
	border: 1px solid var(--bs-border-color);
	border-radius: 0.375rem;
	margin-bottom: 1rem;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.add-feeds-mobile-header {
	padding: 1rem;
	border-bottom: 1px solid var(--bs-border-color);
	background: var(--bs-light);
	border-radius: 0.375rem 0.375rem 0 0;
	display: flex;
	justify-content: between;
	align-items: center;
	gap: 1rem;
}

	.add-feeds-mobile-header h5 {
		flex: 1;
		margin: 0;
	}

.add-feeds-mobile-content {
	padding: 1rem;
	max-height: 60vh;
	overflow-y: auto;
}

/* Overlay for desktop slide-out */
.add-feeds-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1040;
	backdrop-filter: blur(2px);
}

/* Available Feeds Grid */
.available-feeds-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1rem;
	padding: 0;
}

.available-feed-item {
	border: 2px solid var(--bs-border-color);
	border-radius: 0.375rem;
	padding: 0.75rem;
	cursor: pointer;
	transition: all 0.3s ease;
	background: white;
	text-align: center;
	position: relative;
	overflow: hidden;
}

	.available-feed-item:hover {
		border-color: var(--bs-primary);
		transform: translateY(-2px);
		box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.15);
	}

.feed-thumbnail-container {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	border-radius: 0.25rem;
	overflow: hidden;
	margin-bottom: 0.75rem;
	background: var(--bs-gray-100);
}

.feed-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0.25rem;
}

.feed-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	opacity: 0;
	transition: opacity 0.3s ease;
	border-radius: 0.25rem;
}

.available-feed-item:hover .feed-overlay {
	opacity: 1;
}

.feed-info {
	text-align: center;
}

.feed-title {
	font-size: 0.875rem;
	font-weight: 600;
	margin: 0 0 0.25rem 0;
	color: var(--bs-dark);
	line-height: 1.2;
}

.feed-description {
	font-size: 0.75rem;
	color: var(--bs-gray-600);
	margin: 0 0 0.5rem 0;
	display: block;
	line-height: 1.3;
}

.feed-add-text {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--bs-primary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Remove button styling */
.panel-heading-btn .btn-danger {
	background-color: var(--bs-danger);
	border-color: var(--bs-danger);
	color: white;
}

	.panel-heading-btn .btn-danger:hover {
		background-color: #dc2626;
		border-color: #dc2626;
		color: white;
	}

/* Responsive adjustments */
@media (max-width: 768px) {
	.add-feeds-slideout {
		width: 100vw;
		left: -100vw;
	}

	.available-feeds-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 0.75rem;
	}

	.available-feed-item {
		padding: 0.5rem;
	}

	.feed-title {
		font-size: 0.8rem;
	}

	.feed-description {
		font-size: 0.7rem;
	}
}

@media (max-width: 576px) {
	.available-feeds-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.5rem;
	}

	.feed-thumbnail-container {
		margin-bottom: 0.5rem;
	}

	.available-feed-item {
		padding: 0.5rem;
	}
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
	.add-feeds-slideout {
		background: var(--bs-dark);
		color: var(--bs-light);
	}

	.add-feeds-slideout-header {
		background: var(--bs-gray-800);
		border-color: var(--bs-gray-700);
	}

	.add-feeds-mobile-overlay {
		background: var(--bs-dark);
		color: var(--bs-light);
		border-color: var(--bs-gray-700);
	}

	.add-feeds-mobile-header {
		background: var(--bs-gray-800);
		border-color: var(--bs-gray-700);
	}

	.available-feed-item {
		background: var(--bs-gray-800);
		border-color: var(--bs-gray-700);
		color: var(--bs-light);
	}

		.available-feed-item:hover {
			border-color: var(--bs-primary);
		}

	.feed-title {
		color: var(--bs-light);
	}

	.feed-description {
		color: var(--bs-gray-400);
	}
}


.video-datetime-overlay {
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	z-index: 12;
	pointer-events: none;
}

.datetime-display {
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 8px 12px;
	border-radius: 6px;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 14px;
	font-weight: 500;
	display: inline-block;
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.datetime-text {
	font-family: 'Monaco', 'Consolas', 'Roboto Mono', monospace;
	letter-spacing: 0.5px;
}

.gap-indicator {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

	.gap-indicator small {
		font-size: 11px;
		opacity: 0.9;
	}

/* Hide datetime overlay when video controls are visible */
.video-container.show-controls .video-datetime-overlay {
	opacity: 0.7;
}

/* Animation for smooth updates */
.datetime-display {
	transition: all 0.3s ease;
}

.video-datetime-overlay.has-gap .datetime-display {
	border-color: rgba(255, 193, 7, 0.5);
	background: rgba(255, 193, 7, 0.1);
}

/* fixes for multi select */
/* Keep multi-select from expanding */
.select2-container--default .select2-selection--multiple {
	min-height: 38px;
	max-height: 38px;
	overflow: hidden;
	cursor: pointer; /* Add pointer cursor */
}

/* Make sure the arrow/caret is visible */
.select2-container--default .select2-selection--multiple .select2-selection__arrow {
	display: block !important;
	height: 34px;
	position: absolute;
	top: 1px;
	right: 1px;
	width: 20px;
}

/* Style the arrow */
.select2-container--default .select2-selection--multiple .select2-selection__arrow b {
	border-color: #888 transparent transparent transparent;
	border-style: solid;
	border-width: 5px 4px 0 4px;
	height: 0;
	left: 50%;
	margin-left: -4px;
	margin-top: -2px;
	position: absolute;
	top: 50%;
	width: 0;
}

/* Style the count as plain text */
.select2-selection__rendered .selection-count {
	background-color: transparent !important;
	border: none;
	color: #495057;
	padding: 0 8px;
	line-height: 28px;
	display: inline-block;
	font-size: 14px;
	margin: 4px 4px 4px 0;
	cursor: default;
}

/* Make sure pills and count are on same line */
.select2-selection--multiple .select2-selection__rendered {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	padding-right: 25px; /* Make room for the arrow */
}

/* Hide the remove button on the count display */
.selection-count .select2-selection__choice__remove {
	display: none !important;
}

/* Pointer cursor on the whole selection area */
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
	cursor: pointer;
}

.select2-selection--multiple:before {
	content: "";
	position: absolute;
	right: 7px;
	top: 42%;
	border-top: 5px solid #888;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	color: var(--bs-component-color) !important;
}

.ws-container { width: 100%; max-width: 100%; }
.ws-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:4px; }
.ws-clock { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ws-waveform { width:100%; }
.ws-timeline { height:20px; }
.ws-timeline-top { margin-bottom:2px; }
.ws-timeline-bottom { margin-top:2px; }
.ws-controls { margin-top:6px; display:flex; gap:6px; }
.bg-theme {
	background-color: rgba(var(--bs-app-theme-rgb));
}

/* HexlitixSelect dropdown item fix to expand to size of title */
.multiselect-container.dropdown-menu.show {
	width: 100%;
}

.multiselect-container.dropdown-menu.show {
	padding-bottom: 30px; /* for some reason the bottom item gets dropped off if item list is larger than screen height */
	overflow-y: auto;
}

.text-left {
	text-align: left !important;
}

.text-right {
	text-align: right !important;
}

.text-center {
	text-align: center !important;
}

select option {
	background-color: rgba(0, 0, 0, 0.8); /* Dark and transparent */
	color: white; /* Text color */
}

.invalid {
	outline: 1px solid #e50000 !important;
}

.validation-message {
	color: #e50000;
}

.valid-custom {
	outline: 1px solid #26b050;
}

.tagify {
	width: 100%;
	font-size: .75rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--bs-component-color);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: var(--bs-component-bg);
	background-clip: padding-box;
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 4px;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

/* classes used for fading elements in and out */
.element-fade {
	opacity: 0;
	transition: opacity 2s ease-in-out;
	display: none;
}

.element-fade-out {
	transition: opacity 2s ease-in-out;
	opacity: 0;
}

.element-fade-in {
	transition: opacity 1s ease-in-out;
	opacity: 1;
	display: block;
}

/* form control styles */
.form-control[readonly] {
	color: #a9a9a9 !important; /* Slightly darker than white */
}

/* from control normal outline */
input.form-control:not(.invalid):not([readonly]), textarea.form-control:not(.invalid):not([readonly]), button.form-select:not(.invalid), tags.tagify:not(.invalid) {
	border: 1px solid #999; /* Slightly darker than white */
}

/* form control dark theme outline */
html[data-bs-theme="dark"] input.form-control:not(.invalid):not([readonly]),
html[data-bs-theme="dark"] textarea.form-control:not(.invalid):not([readonly]),
html[data-bs-theme="dark"] button.form-select:not(.invalid),
html[data-bs-theme="dark"] tags.tagify:not(.invalid) {
	border: 1px solid #555; /* Lighter grey for dark theme */
}

/* form control dark theme readonly outline */
html[data-bs-theme="dark"] input.form-control[readonly],
html[data-bs-theme="dark"] textarea.form-control[readonly],
html[data-bs-theme="dark"] .tagify-readonly {
	border: 1px solid #222
}

/* random number placeholders - used to show rotating/changing numbers until a value is provided from the db */
/* just add to any class for random numbers: e.g. <p class="random-placeholder random-3"></p> */
/* 1 Digit Random Numbers */
@keyframes randomNumbers1 {
	0% {
		content: "7";
	}

	10% {
		content: "8";
	}

	20% {
		content: "3";
	}

	30% {
		content: "0";
	}

	40% {
		content: "4";
	}

	50% {
		content: "6";
	}

	60% {
		content: "9";
	}

	70% {
		content: "2";
	}

	80% {
		content: "6";
	}

	90% {
		content: "5";
	}

	100% {
		content: "1";
	}
}

.random-1::after {
	content: "0";
	animation: randomNumbers1 1s infinite steps(1);
}

/* 2 Digit Random Numbers */
@keyframes randomNumbers2 {
	0% {
		content: "12";
	}

	10% {
		content: "34";
	}

	20% {
		content: "56";
	}

	30% {
		content: "78";
	}

	40% {
		content: "90";
	}

	50% {
		content: "23";
	}

	60% {
		content: "45";
	}

	70% {
		content: "67";
	}

	80% {
		content: "89";
	}

	90% {
		content: "10";
	}

	100% {
		content: "69";
	}
}

.random-2::after {
	content: "00";
	animation: randomNumbers2 1s infinite steps(1);
}

/* 3 Digit Random Numbers */
@keyframes randomNumbers3 {
	0% {
		content: "752";
	}

	10% {
		content: "456";
	}

	20% {
		content: "789";
	}

	30% {
		content: "112";
	}

	40% {
		content: "345";
	}

	50% {
		content: "678";
	}

	60% {
		content: "901";
	}

	70% {
		content: "234";
	}

	80% {
		content: "567";
	}

	90% {
		content: "890";
	}

	100% {
		content: "123";
	}
}

.random-3::after {
	content: "000";
	animation: randomNumbers3 1s infinite steps(1);
}

/* 4 Digit Random Numbers */
@keyframes randomNumbers4 {
	0% {
		content: "4352";
	}

	10% {
		content: "5678";
	}

	20% {
		content: "9012";
	}

	30% {
		content: "3456";
	}

	40% {
		content: "7890";
	}

	50% {
		content: "2345";
	}

	60% {
		content: "6789";
	}

	70% {
		content: "3123";
	}

	80% {
		content: "4567";
	}

	90% {
		content: "8901";
	}

	100% {
		content: "1125";
	}
}

.random-4::after {
	content: "0000";
	animation: randomNumbers4 1s infinite steps(1);
}

/* 5 Digit Random Numbers with Commas */
@keyframes randomNumbers5 {
	0% {
		content: "12,345";
	}

	10% {
		content: "67,890";
	}

	20% {
		content: "23,456";
	}

	30% {
		content: "78,901";
	}

	40% {
		content: "34,567";
	}

	50% {
		content: "89,012";
	}

	60% {
		content: "45,678";
	}

	70% {
		content: "90,123";
	}

	80% {
		content: "56,789";
	}

	90% {
		content: "01,234";
	}

	100% {
		content: "12,345";
	}
}

.random-5::after {
	content: "00,000";
	animation: randomNumbers5 1s infinite steps(1);
}

/* General Styling */
.random-placeholder {
	display: inline-block;
	font-family: monospace;
	font-size: 2em;
	font-weight: bold;
}

.leaflet-custom-icon {
	width: 20px;
	height: 20px;
	background-color: #0078FF;
	border: 2px solid white;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	position: absolute; /* Crucial fix: Prevents marker drift */
	top: 0; /* Ensures correct alignment */
	left: 0;
	cursor: pointer;
}

	.leaflet-custom-icon:hover {
		background-color: #0056CC;
		transform: scale(1.1); /* Maintain this effect */
		transition: 0.2s ease-in-out;
	}

	/* Corrected drop pointer positioning */
	.leaflet-custom-icon::after {
		content: '';
		position: absolute;
		bottom: -10px; /* Lower this if the pointer appears too high */
		left: 50%;
		transform: translateX(-50%);
		width: 6px;
		height: 10px;
		background-color: #0078FF;
		clip-path: polygon(50% 0, 0% 100%, 100% 100%);
	}
/* Popup Container */
.leaflet-popup-content-wrapper {
	background-color: #1a1a1a; /* Dark background */
	color: #ffffff; /* White text */
	border: 2px solid #b3b3b3; /* Grey/white border */
	border-radius: 8px; /* Rounded corners */
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8); /* Stronger shadow for depth */
	padding: 8px; /* Padding for text */
}

/* Popup Close Button */
.leaflet-popup-close-button {
	color: #ffffff; /* White 'X' close button */
	text-shadow: none; /* Remove default shadow */
	opacity: 0.8; /* Slight transparency */
}

	.leaflet-popup-close-button:hover {
		color: #b3b3b3; /* Slight grey tone on hover */
		opacity: 1;
	}

/* Popup Tip (Pointer) */
.leaflet-popup-tip {
	background-color: #1a1a1a; /* Match popup background */
	border: 2px solid #b3b3b3; /* Grey/white outline */
}

/* Popup Text Styling */
.leaflet-popup-content {
	font-family: 'Arial', sans-serif; /* Clean, modern font */
	font-size: 14px; /* Readable text size */
	line-height: 1.5; /* Improved text spacing */
	text-align: center; /* Center-align content (optional) */
}

.select2-sm .select2-selection {
	height: 30px !important;
}

.whitespace-nowrap {
	white-space: nowrap;
}

.live-indicator {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	margin-right: 8px;
	animation: smoothPulse 1.5s ease-in-out infinite;
	position: relative;
	/* This will inherit the background color and use it for everything */
}

	.live-indicator::before {
		content: '';
		position: absolute;
		top: -3px;
		left: -3px;
		width: calc(100% + 6px);
		height: calc(100% + 6px);
		border-radius: 50%;
		background-color: inherit;
		animation: smoothRipple 1.5s ease-out infinite;
		opacity: 0.6;
	}

@keyframes smoothPulse {
	0%, 100% {
		transform: scale(1);
		opacity: 1;
		filter: brightness(1);
	}

	50% {
		transform: scale(1.05);
		opacity: 0.9;
		filter: brightness(1.2);
	}
}

@keyframes smoothRipple {
	0% {
		transform: scale(0.6);
		opacity: 0.4;
	}

	50% {
		transform: scale(1);
		opacity: 0.2;
	}

	100% {
		transform: scale(1.6);
		opacity: 0;
	}
}


.file-upload-message {
	font-weight: 300 !important;
	color: inherit !important;
	font-size: 1.875rem !important;
	text-align: center !important;
	margin: 2.8125rem 0 !important;
	cursor: pointer;
}

.btn-glow-hover:hover {
	box-shadow: 0 0 8px currentColor;
}

/* Dark buttons slightly */
/* Primary (blue) */
.btn-primary {
	background-color: #0066cc;
	border-color: #005bb5;
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: #005bb5;
	border-color: #004c99;
}

/* Secondary (grey) */
.btn-secondary {
	background-color: #5a6268;
	border-color: #4e555b;
}

.btn-secondary:hover,
.btn-secondary:focus {
	background-color: #4e555b;
	border-color: #43494e;
}

/* Success (green) */
.btn-success {
	background-color: #218838;
	border-color: #1e7e34;
}

.btn-success:hover,
.btn-success:focus {
	background-color: #1e7e34;
	border-color: #19692c;
}

/* Danger (red) */
.btn-danger {
	background-color: #cc0000;
	border-color: #b30000;
}

.btn-danger:hover,
.btn-danger:focus {
	background-color: #b30000;
	border-color: #990000;
}

/* Warning (orange/yellow) */
.btn-warning {
	background-color: #e0a800;
	border-color: #d39e00;
	color: #fff; /* makes text more visible on dark */
}

.btn-warning:hover,
.btn-warning:focus {
	background-color: #c69500;
	border-color: #b38600;
}

/* Info (cyan/teal) */
.btn-info {
	background-color: #138496;
	border-color: #117a8b;
}

.btn-info:hover,
.btn-info:focus {
	background-color: #117a8b;
	border-color: #0f6674;
}

/* Light (greyish white, for dark bg) */
.btn-light {
	background-color: #d6d8d9;
	border-color: #c6c8ca;
	color: #212529;
}

.btn-light:hover,
.btn-light:focus {
	background-color: #c6c8ca;
	border-color: #b6b8ba;
}

/* Dark (dark grey) */
.btn-dark {
	background-color: #23272b;
	border-color: #1d2124;
}

.btn-dark:hover, .btn-dark:focus {
	background-color: #1d2124;
	border-color: #171a1d;
}


/* Universal dynamic min-width classes */
.col-sm-min-width {
	/* Default fallback */
	--min-width: 200px;
}

@media (min-width: 576px) {
	.col-sm-min-width {
		min-width: var(--min-width, 200px);
	}
}

.col-md-min-width {
	--min-width: 250px;
}

@media (min-width: 768px) {
	.col-md-min-width {
		min-width: var(--min-width, 250px);
	}
}

.col-lg-min-width {
	--min-width: 300px;
}

@media (min-width: 992px) {
	.col-lg-min-width {
		min-width: var(--min-width, 300px);
	}
}

.col-xl-min-width {
	--min-width: 350px;
}

@media (min-width: 1200px) {
	.col-xl-min-width {
		min-width: var(--min-width, 350px);
	}
}


.modal-open .daterangepicker, .modal-open .daterangepicker-visibility-visible {
	position: absolute;
	z-index: 2000 !important; /* higher than modal & backdrop */
}

.widget-stats .stats-info, .widget.widget-stats .stats-info {
	margin-bottom: .5rem;
	font-weight: 500;
	letter-spacing: .0625rem;
	overflow-wrap: anywhere;
}

.text-show-line-breaks {
	white-space: pre-line;
}

/* Wrapper provides the Font Awesome caret overlay */
.hx-select-fa {
	position: relative;
	display: inline-block;
	width: 100%;
}

/* keep your existing fake-select2 styling */
.hx-select2-look {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 2rem; /* room for caret */
	background-image: none; /* kill any previous SVG chevron if you added one */
}

/* Font Awesome caret (solid triangle, like Select2) */
.hx-select-fa::after {
	content: "\f0d7"; /* fa-caret-down */
	font-family: "Font Awesome 6 Free","Font Awesome 5 Free","FontAwesome";
	font-weight: 900; /* required for FA5/FA6 solid */
	position: absolute;
	right: .75rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--bs-body-color, #212529); /* BS5 var with fallback */
	pointer-events: none; /* clicks go to the select */
	line-height: 1;
}

/* Optional: dim when disabled */
.hx-select-fa select:disabled + .hx-select-fa::after,
.hx-select-fa:has(select:disabled)::after {
	opacity: .5;
}

.daterangepicker.drop-up::after {
	border-top: none !important;
}

/* for the form label info button */
.info-sup {
	font-size: 0.85em;
	vertical-align: super;
	line-height: 0;
	cursor: pointer;
	text-decoration: none;
}

.info-sup-alert {
	font-size: var(--bs-body-font-size) !important;
	font-weight: var(--bs-body-font-weight) !important;
	line-height: var(--bs-body-line-height) !important;
}

.btn-link.no-underline,
.btn-link.no-underline:hover {
	text-decoration: none;
}


/* width helpers */
.max-width-100 {
	max-width: 100% !important;
}
.max-width-90 {
	max-width: 90% !important;
}
.max-width-80 {
	max-width: 80% !important;
}
.max-width-75 {
	max-width: 75% !important;
}


