/*!
 * MultiSelect5 - Bootstrap 5 Multiselect Plugin
 * Copyright (c) 2026 OVID Technologies Pvt Ltd, Visakhapatnam
 * All Rights Reserved.
 *
 * Author: OVID Technologies Pvt Ltd
 * Website: https://ovid.in
 *
 * This software is proprietary and confidential.
 * Unauthorized copying, modification, distribution,
 * or use of this file, via any medium, is strictly prohibited
 * without written permission from OVID Technologies Pvt Ltd.
 */
.ms5 {
  position: relative;
}

.ms5-control {
  min-height: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  cursor: text;
  padding-right:30px;
}

.ms5-input {
  border: none;
  outline: none;
  flex: 1;
  min-width: 120px;
}

.ms5-dropdown {
  position: absolute;
  width: 100%;
  z-index: 1055;
  max-height: 260px;
  overflow-y: auto;
  display: none;
}

.ms5-option {
  padding: 6px 12px;
  cursor: pointer;
}

.ms5-option.active,
.ms5-option:hover {
  background: var(--bs-primary-bg-subtle);
}

.ms5-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ms5-remove {
  cursor: pointer;
  font-weight: bold;
}

.ms5-actions {
  border-bottom: 1px solid var(--bs-border-color);
  padding: 6px;
}
.ms5-list {
  position: relative;
  height: 260px;
  overflow-y: auto;
}

.ms5-viewport {
  position: relative;
  width: 100%;
}

.ms5-row {
  position: relative;
  padding: 6px 12px;
  cursor: pointer;
}

.ms5-control.disabled {
  background: #e9ecef;
  cursor: not-allowed;
}

.ms5-control.disabled input {
  background: transparent;
  cursor: not-allowed;
}

.ms5-arrow {
  margin-left: auto;
  font-size: 12px;
  color: #6c757d;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.ms5-open .ms5-arrow {
  transform: rotate(180deg);
}
