/* Tom Select dressed as the site's own inputs (platform and client pages). */
.ts-wrapper { width: 100%; font: inherit; }
.ts-wrapper .ts-control { min-height: 46px; padding: 8px 12px; border: 1.5px solid #cfd7e3; border-radius: 12px; background: #fff; color: #0f172a;
  font: inherit; font-size: 15px; box-shadow: none; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.ts-wrapper.single .ts-control { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2315803d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.ts-wrapper.single .ts-control::after { display: none; }
/* tom-select resets `background` when the control is active: keep the arrow single, never tiled */
.ts-wrapper.single .ts-control, .ts-wrapper.single.input-active .ts-control { background-color: #fff; background-repeat: no-repeat !important; background-position: right 14px center !important; }
.ts-wrapper.single.dropdown-active .ts-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 6.5 6 1.5 11 6.5' fill='none' stroke='%2315803d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ts-wrapper.focus .ts-control, .ts-wrapper.dropdown-active .ts-control { border-color: #16a34a; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.ts-wrapper .ts-control input { font: inherit; font-size: 15px; color: #0f172a; }
.ts-wrapper .ts-control input::placeholder { color: #8a94a3; }
.ts-wrapper.multi .ts-control { gap: 6px; padding: 7px 10px; }
.ts-wrapper.multi .ts-control > .item { margin: 0; padding: 4px 4px 4px 11px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 650;
  color: #fff; background: linear-gradient(135deg, #15803d, #22c55e); box-shadow: 0 4px 12px -4px rgba(34, 197, 94, .6); }
.ts-wrapper.plugin-remove_button .item .remove { margin-left: 6px; padding: 0 7px; border: 0 !important; border-radius: 50%; color: #fff; font-size: 15px; line-height: 20px; }
.ts-wrapper.plugin-remove_button .item .remove:hover { background: rgba(255, 255, 255, .25); }
.ts-dropdown { margin-top: 6px; border: 1px solid #dfe5ee; border-radius: 14px; overflow: hidden; background: #fff; color: #0f172a; font-size: 15px;
  box-shadow: 0 20px 40px -18px rgba(15, 23, 42, .35); animation: ts-in .16s ease-out; z-index: 50; }
@keyframes ts-in { from { opacity: 0; transform: translateY(-4px); } }
.ts-dropdown .ts-dropdown-content { max-height: 300px; padding: 6px; }
.ts-dropdown .option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.ts-dropdown .option.active { background: #ecfdf3; color: #0f172a; }
.ts-dropdown .option.selected { font-weight: 700; color: #15803d; }
.ts-dropdown .option input[type=checkbox] { flex: none; width: 18px; min-width: 0; height: 18px; margin: 0; padding: 0; accent-color: #16a34a; }
.ts-dropdown .no-results { padding: 12px; color: #5b6678; }
.ts-dropdown [data-selectable] .highlight { background: #bbf7d0; border-radius: 3px; }
.ts-wrapper.disabled .ts-control { opacity: .6; }
@media (prefers-reduced-motion: reduce) { .ts-dropdown { animation: none; } }
/* the search box inside the control must not inherit the site's input styling */
.ts-wrapper .ts-control > input { flex: 1 1 4rem; min-width: 4rem; width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important;
  border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: none !important; }
