/* zero2hero — admin › Instructores (page-scoped) */
#admin-instructors .adm-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--adm-violet-soft);
  color: var(--adm-violet-strong);
  font-family: var(--adm-font-head);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid var(--adm-violet-line);
}
#admin-instructors .adm-avatar--lg { width: 72px; height: 72px; border-radius: 16px; font-size: 1.3rem; }
#admin-instructors .adm-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
#admin-instructors .adm-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.4rem 0.3rem 0.4rem;
  border: 1px solid var(--adm-violet-line);
  background: var(--adm-violet-soft);
  color: var(--adm-violet-deep);
  border-radius: var(--adm-radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  max-width: 100%;
}
#admin-instructors .adm-chip .adm-avatar { width: 26px; height: 26px; border-radius: 50%; font-size: 0.62rem; }
#admin-instructors .adm-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#admin-instructors .adm-chip__x {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--adm-violet-strong);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}
#admin-instructors .adm-chip__x:hover { background: var(--adm-danger-soft); color: var(--adm-danger); }
#admin-instructors .adm-chip__x:focus-visible { outline: none; box-shadow: var(--adm-ring); }
#admin-instructors .adm-chip__x:disabled { opacity: 0.5; cursor: progress; }
#admin-instructors .adm-course-meta { color: var(--adm-muted); font-size: 0.8rem; }
#admin-instructors .adm-courses-cell { display: flex; flex-wrap: wrap; gap: 0.3rem; max-width: 360px; }
#admin-instructors .adm-courses-cell .adm-pill { font-weight: 600; letter-spacing: 0; text-transform: none; max-width: 220px; }
#admin-instructors .adm-courses-cell .adm-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#admin-instructors .adm-preview {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.8rem;
  border: 1px dashed var(--adm-border-strong);
  border-radius: var(--adm-radius-sm);
  background: var(--adm-surface);
}
#admin-instructors .adm-preview__hint { font-size: 0.8rem; color: var(--adm-muted); word-break: break-all; }
#admin-instructors .adm-link-editor { display: grid; gap: 0.9rem; }
#admin-instructors .adm-add-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: end; }
#admin-instructors .adm-add-row .form-select { flex: 1 1 220px; min-width: 0; }
#admin-instructors tr.is-active > * { background: var(--adm-violet-soft) !important; }
@media (max-width: 767.98px) {
  #admin-instructors .adm-courses-cell { max-width: 200px; }
  #admin-instructors .adm-add-row .btn { flex: 1 1 auto; }
}
/* search icon must not overlap placeholder (skin raises form-control specificity) */
body.adm-body #admin-instructors .adm-toolbar__search .form-control { padding-left: 2.3rem !important; }
