:host {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  font-size: 13px;
}

.zea-input {
  color: var(--color-foreground-1);
}

.input-label {
  color: var(--color-grey-3);
  position: relative;
  transition: all 0.2s linear;
  pointer-events: none;
}

.empty .input-label {
  top: 18px;
  font-size: 13px;
}

.not-empty .input-label,
.focused .input-label {
  top: 0;
  font-size: 11px;
}

.focused .input-label {
  color: var(--color-secondary-1);
}

.input-wrap {
  display: block;
  position: relative;
}

.invalid-message {
  color: var(--color-warning-2);
  padding: 0.3em 0;
  font-size: 12px;
}

.underliner {
  text-align: center;
  height: 1px;
  background-color: var(--color-grey-3);
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.underliner .expander {
  height: 1px;
  background-color: var(--color-secondary-1);
  overflow: hidden;
  display: inline-block;
  width: 0;
  transition: width 0.2s linear;
}

.focused .underliner .expander {
  width: 100%;
}

.selection-container {
  min-height: 22px;
  display: flex;
  align-items: center;
}

.selection {
  flex-grow: 1;
  user-select: none;
}

.options-container {
  display: none;
  position: absolute;
  width: 100%;
  height: 210px;
  max-height: initial;
  overflow: hidden;
  padding: 2px;
  box-sizing: border-box;
  box-shadow: 2px 2px 13px 0px var(--color-background-4);
  background-color: var(--color-background-1);
  user-select: none;
  z-index: 1000;
  margin-top: 1px;
}

.options-container.shown {
  display: block;
}

/**/

.discipline-row {
  display: flex;
  width: 100%;
  align-items: center;
}

.discipline-name {
  flex-grow: 1;
}

.discipline-abbreviation {
  text-transform: uppercase;
  padding: 8px;
  width: 15px;
  height: 15px;
  line-height: 15px;
  text-align: center;
  border-radius: 20px;
  margin: 5px 10px 5px 5px;
  display: flex;
  justify-content: center;
  white-space: nowrap;
}
