/* SAMP v4.10.136-r4 — show every active pending report owned by a supervisor,
   including reports already handed to one of the supervisor's drivers. */
body:not(.auth-locked) #reports-view #teams-view .team-report-section {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(18, 119, 101, .12);
}

body:not(.auth-locked) #reports-view #teams-view .team-report-section-title {
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 700;
  color: #24413f;
  text-align: right;
}

body:not(.auth-locked) #reports-view #teams-view .team-report-list {
  display: grid;
  gap: 5px;
  max-height: 164px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1px 1px 1px 3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(19, 128, 107, .35) transparent;
}

body:not(.auth-locked) #reports-view #teams-view .team-report-item {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 7px 8px;
  border: 1px solid #dcebe7;
  border-radius: 9px;
  background: #fff;
  color: #173a38;
  text-align: right;
  font: inherit;
  cursor: pointer;
  box-shadow: none;
}

body:not(.auth-locked) #reports-view #teams-view .team-report-item:hover,
body:not(.auth-locked) #reports-view #teams-view .team-report-item:focus-visible {
  border-color: #55aa98;
  background: #f6fcfa;
  outline: none;
}

body:not(.auth-locked) #reports-view #teams-view .team-report-line,
body:not(.auth-locked) #reports-view #teams-view .team-report-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

body:not(.auth-locked) #reports-view #teams-view .team-report-line strong {
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 10px;
  color: #0f5f55;
}

body:not(.auth-locked) #reports-view #teams-view .team-report-animal {
  max-width: 48%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
  color: #5f706e;
}

body:not(.auth-locked) #reports-view #teams-view .team-report-location {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
  color: #667b78;
}

body:not(.auth-locked) #reports-view #teams-view .team-report-state small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 7.5px;
  color: #6d7f7d;
}

body:not(.auth-locked) #reports-view #teams-view .team-report-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 7.5px;
  font-weight: 700;
  white-space: nowrap;
}

body:not(.auth-locked) #reports-view #teams-view .team-report-badge.is-driver {
  color: #176152;
  background: #e2f5ef;
  border: 1px solid #b8e5d8;
}

body:not(.auth-locked) #reports-view #teams-view .team-report-badge.is-supervisor {
  color: #8a641b;
  background: #fff6dd;
  border: 1px solid #f0dda0;
}

body:not(.auth-locked) #reports-view #teams-view .team-report-empty {
  margin: 0;
  padding: 7px 5px;
  border: 1px dashed #d8e7e4;
  border-radius: 8px;
  color: #7d908d;
  font-size: 8px;
  text-align: center;
}

body:not(.auth-locked) #reports-view #teams-view .team-load {
  align-items: center;
  gap: 8px;
}

body:not(.auth-locked) #reports-view #teams-view .team-load > span {
  min-width: 0;
}
