/**
 * @license
 * Copyright Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
@use './token-utils' as *;

@mixin default-slot-content {
  box-sizing: border-box;

  margin: 0;

  outline: none;
  border: none;

  background-color: transparent;

  padding-block: 0;
  padding-inline: 0;
  inline-size: 100%;
  block-size: 100%;

  color: inherit;
  font: inherit;
  font-size: #{token(font-size)};
  text-overflow: ellipsis;
}

@mixin default-slot-textarea {
  resize: none;
}

@mixin default-slot-floating-in {
  position: absolute;
  inset-block-start: calc(#{token(height)} * -0.5);

  block-size: 100%;
  padding-block: #{token(height)};
}

@mixin slotted-inset-label {
  max-inline-size: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

@mixin slotted-forge-label {
  font: inherit;
}

@mixin default-slot-disabled {
  cursor: not-allowed;
}

@mixin slotted-multi-input-separator {
  align-self: center;

  padding-inline: 4px;
  block-size: fit-content;
  inline-size: fit-content;
}

@mixin slotted-placeholder {
  color: #{token(placeholder-color)};
}
