/* GrapeSEED Unit Check Review — Student field (search icon + clear) */

.guc-student-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  width: 100%;
}

.guc-scan-row .guc-student-field {
  flex: 1;
  min-width: 0;
}

.guc-student-field-search {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--guc-placeholder);
  pointer-events: none;
  z-index: 1;
}

.guc-student-field-search svg {
  width: 16px;
  height: 16px;
  display: block;
}

.guc-student-field-input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding-left: 32px;
  padding-right: 32px;
}

.guc-compact-fields .guc-student-input.guc-student-field-input {
  padding-left: 30px;
  padding-right: 30px;
}

.guc-student-field-clear {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--guc-muted);
  font-family: var(--guc-font);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.guc-student-field-clear[hidden] {
  display: none;
}

.guc-student-field-clear:active {
  background: rgba(26, 34, 51, 0.08);
  color: var(--guc-text);
}

.guc-student-field-clear:focus-visible {
  outline: 2px solid var(--guc-clover-green-mid);
  outline-offset: 1px;
}
