/*
 * Modern SaaS Tagsinput Styles
 */

.bootstrap-tagsinput {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  box-shadow: none;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: #1e293b;
  border-radius: 12px;
  width: 100%;
  line-height: 24px;
  cursor: text;
  transition: all 0.2s ease;
  min-height: 48px;
}

.bootstrap-tagsinput:focus-within {
  background-color: #ffffff;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.bootstrap-tagsinput input {
  border: none;
  box-shadow: none;
  outline: none;
  background-color: transparent;
  padding: 4px 6px;
  margin: 0;
  width: auto;
  max-width: inherit;
  font-size: 13.5px;
  color: #0f172a;
}

.bootstrap-tagsinput input::placeholder {
  color: #94a3b8;
}

.bootstrap-tagsinput .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #312e81;
  background-color: #e0e7ff;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid #c7d2fe;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
  transition: all 0.15s ease;
}

.bootstrap-tagsinput .badge:hover {
  background-color: #c7d2fe;
}

.bootstrap-tagsinput .badge [data-role="remove"] {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(49, 46, 129, 0.15);
  color: #312e81;
  font-size: 11px;
  line-height: 1;
  transition: background 0.15s ease;
}

.bootstrap-tagsinput .badge [data-role="remove"]:hover {
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
}

.bootstrap-tagsinput .badge [data-role="remove"]:after {
  content: "×";
  font-weight: bold;
}
