.textBox {
  --Surface-bgTertiary10: var(--opacity-10b);
  --Text-secondary: var(--opacity-70b);
  --Border-secondary: var(--opacity-50b);
  --Surface-bgSecondary10R: var(--opacity-10w);
  --border-Primary: var(--primary-dark-600);
}

@media (prefers-color-scheme: dark) {
  .textBox {
    --Surface-bgTertiary10: var(--opacity-10w);
    --Text-secondary: var(--opacity-70w);
    --Border-secondary: var(--opacity-50w);
    --Surface-bgSecondary10R: var(--opacity-10b);
    --border-Primary: var(--primary-light-600);
  }
}

.textBox {
  display: flex;
  width: 100%;
  padding: 0.5rem;
  align-items: center;
  gap: 0.625rem;

  border-radius: 0.5rem;
  background: var(--Surface-bgTertiary10);

  flex-direction: row;
  position: relative;
}

.textBox > input {
  display: flex;
  height: 2rem;
  padding: 0 0.75rem;
  justify-content: space-between;
  align-items: center;
  flex: 1 0 0;
  color: var(--Text-secondary);

  border-radius: 0.5rem;
  border: 0.075rem solid var(--Border-secondary);
  background: var(--Surface-bgSecondary10R);
}

.textBox > input:focus {
    outline: none;
    border-color: var(--border-Primary);
}

.textBox:after {
  content: url(/image/search.svg);
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
