.ts-wrapper {
  direction: rtl;
  font-family: inherit;
  font-size: 0.9rem;
}
.ts-wrapper .ts-control {
  padding: 10px 36px 10px 12px;
  border: 1px solid var(--stone);
  border-bottom: 2px solid var(--gold-300);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text-primary);
  min-height: 42px;
  line-height: 1.5;
  direction: rtl;
}
.ts-wrapper .ts-control:focus-within {
  border-color: var(--gold);
  border-bottom-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.15);
}
.ts-wrapper .ts-dropdown {
  direction: rtl;
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 1000;
  max-height: 260px;
  overflow-y: auto;
  margin-top: 4px;
}
.ts-wrapper .ts-dropdown .ts-dropdown-content {
  direction: rtl;
}
.ts-wrapper .ts-dropdown .ts-option {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--stone-light);
}
.ts-wrapper .ts-dropdown .ts-option:hover,
.ts-wrapper .ts-dropdown .ts-option.active {
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold-800);
}
.ts-wrapper .ts-dropdown .ts-option.selected {
  background: rgba(201, 169, 110, 0.15);
  font-weight: 600;
}
.ts-wrapper .ts-item {
  direction: rtl;
  background: var(--gold-100, rgba(201, 169, 110, 0.12));
  border: 1px solid var(--gold-300, rgba(201, 169, 110, 0.3));
  border-radius: 4px;
  padding: 3px 8px;
  margin: 2px 4px 2px 0;
  font-size: 0.82rem;
  color: var(--gold-800, #5a4a2a);
}
.ts-wrapper .ts-item .remove {
  border: none;
  background: none;
  color: var(--gold-800, #5a4a2a);
  cursor: pointer;
  padding: 0 2px;
  font-weight: bold;
  margin-right: 4px;
}
.ts-wrapper .ts-item .remove:hover { color: #c0392b; }
.ts-wrapper.multi .ts-control .ts-input {
  direction: rtl;
  width: 100% !important;
}
.ts-wrapper.single .ts-control .item {
  color: var(--text-primary);
}
.ts-wrapper .ts-dropdown .ts-optgroup-header {
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--gold-700, #8a7340);
  border-bottom: 1px solid var(--stone);
}
