@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap");
.size-1 {
  font-size: 12px;
  line-height: 20px;
}

.size-2 {
  font-size: 14px;
  line-height: 22px;
}

.size-3 {
  font-size: 16px;
  line-height: 24px;
}

.size-4 {
  font-size: 20px;
  line-height: 28px;
}

.size-5 {
  font-size: 24px;
  line-height: 32px;
}

.size-6 {
  font-size: 30px;
  line-height: 38px;
}

.size-7 {
  font-size: 38px;
  line-height: 46px;
}

.size-8 {
  font-size: 46px;
  line-height: 54px;
}

.size-9 {
  font-size: 56px;
  line-height: 64px;
}

.weight-regular {
  font-weight: 400;
}

.weight-semibold {
  font-weight: 500;
}

/**
 * Generator
 */
.input-size-large {
  height: 40px;
}

.input-size-medium {
  height: 32px;
}

.input-size-small {
  height: 24px;
}

.resize-none textarea {
  resize: none;
}

.resize-vertical textarea {
  resize: vertical;
}

.resize-auto textarea {
  height: auto;
  resize: none;
}

.textarea-size-large {
  padding: 4px 0 0 4px;
  min-height: 40px;
}
.textarea-size-large .bcm-input-element {
  min-height: calc((40px - 8px) + 2px);
}
.textarea-size-large .input-clear-button {
  height: calc( 40px - 16px );
  top: 8px;
  padding: 0;
  margin-right: 8px;
}

.textarea-size-medium {
  padding: 4px 0 0 4px;
  min-height: 32px;
}
.textarea-size-medium .bcm-input-element {
  min-height: calc((32px - 8px) + 2px);
}
.textarea-size-medium .input-clear-button {
  height: calc( 32px - 16px );
  top: 8px;
  padding: 0;
  margin-right: 8px;
}

.textarea-size-small {
  padding: 0px 0 0 4px;
  min-height: 24px;
}
.textarea-size-small .bcm-input-element {
  min-height: calc((24px - 8px) + 2px);
}
.textarea-size-small .input-clear-button {
  height: calc( 24px - 16px );
  top: 8px;
  padding: 0;
  margin-right: 8px;
}

.bcm-input[no-margin] {
  margin: 0;
}

.bcm-textarea[no-margin] {
  margin: 0;
}

.bcm-switch[no-margin] {
  margin: 0;
}

.bcm-checkbox[no-margin] {
  margin: 0;
}

.bcm-radio-group[no-margin] {
  margin: 0;
}

.bcm-checkbox-group[no-margin] {
  margin: 0;
}

.bcm-range[no-margin] {
  margin: 0;
}

.bcm-form[no-margin] {
  margin: 0;
}

.bcm-form-group[no-margin] {
  margin: 0;
}

.bcm-list[no-margin] {
  margin: 0;
}

.bcm-colorpicker[no-margin] {
  margin: 0;
}

.bcm-date-picker[no-margin] {
  margin: 0;
}

.bcm-time-picker[no-margin] {
  margin: 0;
}

.bcm-datetime-picker[no-margin] {
  margin: 0;
}

.bcm-select[no-margin] {
  margin: 0;
}

.bcm-listbox[no-margin] {
  margin: 0;
}

* {
  box-sizing: border-box;
}

.size-1 {
  font-size: 12px;
  line-height: 20px;
}

.size-2 {
  font-size: 14px;
  line-height: 22px;
}

.size-3 {
  font-size: 16px;
  line-height: 24px;
}

.size-4 {
  font-size: 20px;
  line-height: 28px;
}

.size-5 {
  font-size: 24px;
  line-height: 32px;
}

.size-6 {
  font-size: 30px;
  line-height: 38px;
}

.size-7 {
  font-size: 38px;
  line-height: 46px;
}

.size-8 {
  font-size: 46px;
  line-height: 54px;
}

.size-9 {
  font-size: 56px;
  line-height: 64px;
}

.weight-regular {
  font-weight: 400;
}

.weight-semibold {
  font-weight: 500;
}

:host {
  display: inline-block;
  width: 100%;
  margin: 0 0 8px 0;
}

:host(.hidden) {
  display: none;
}

:host(.no-margin) {
  margin: 0;
}

.input-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 256px;
}
.input-container.full-width {
  max-width: 100%;
}

.input-base {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: calc(14px + 8px);
  font-weight: 400;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: stretch;
  justify-content: start;
  position: relative;
  background-color: var(--bcm-new-ds-color-white);
  border: 1px solid var(--bcm-new-ds-color-slate-300);
  border-radius: 4px;
  vertical-align: middle;
  overflow: hidden;
  padding: 0 4px;
  cursor: text;
}
.input-base.disabled {
  background-color: var(--bcm-new-ds-color-slate-50);
  cursor: not-allowed;
}
.input-base.disabled .bcm-input-element {
  color: var(--bcm-new-ds-color-slate-300);
}
.input-base.readonly {
  background-color: var(--bcm-new-ds-color-slate-50);
  cursor: default;
}
.input-base.readonly .bcm-input-element {
  color: var(--bcm-new-ds-color-slate-600);
}
.input-base:not(.disabled):hover .caret-container, .input-base:not(.disabled).focused .caret-container {
  opacity: 1;
}
.input-base:not(.disabled):hover .input-clear-button, .input-base:not(.disabled).focused .input-clear-button {
  opacity: 1;
}
.input-base:not(.disabled).focused {
  background-color: var(--bcm-new-ds-color-slate-50);
}
.input-base:not(.disabled):hover {
  border-color: var(--bcm-color-prime-blue-6);
}
.input-base.focused:not(.disabled) .caret-container {
  opacity: 1;
}
.input-base.focused:not(.disabled) .input-clear-button {
  opacity: 1;
}
.input-base:hover:not(.disabled) .caret-container {
  opacity: 1;
}
.input-base:hover:not(.disabled) .input-clear-button {
  opacity: 1;
}
.input-base.disabled {
  cursor: not-allowed;
}
.input-base.readonly {
  cursor: default;
}
.input-base.empty .input-clear-button {
  display: none;
}
.input-base.invalid, .input-base.error {
  border-color: var(--bcm-new-ds-color-red-500);
}

.error .label {
  color: var(--bcm-new-ds-color-red-500) !important;
}
.error .input-base {
  border-color: var(--bcm-new-ds-color-red-500) !important;
}

.input-base input {
  color: var(--bcm-new-ds-color-slate-600);
  flex: 1 1 auto;
  width: 0%;
  border: none;
  border-radius: 2px;
  background: none;
  box-shadow: none;
  padding: 0;
  margin: 0 4px;
  font-family: "Inter", sans-serif;
  cursor: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.input-base input::-webkit-search-decoration, .input-base input::-webkit-search-cancel-button, .input-base input::-webkit-search-results-button, .input-base input::-webkit-search-results-decoration {
  -webkit-appearance: none;
}
.input-base input::placeholder {
  font-family: "Inter", sans-serif;
  color: var(--bcm-new-ds-color-slate-300);
  user-select: none;
}
.input-base input:focus {
  outline: none;
}

input::-webkit-calendar-picker-indicator {
  -webkit-appearance: none;
  display: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

input[type=number] {
  -moz-appearance: textfield;
}

.input-prefix,
.input-suffix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  color: var(--bcm-new-ds-color-slate-500);
}

.input-prefix ::slotted(*),
.input-prefix > span {
  line-height: 1;
  margin-left: 4px;
}

.input-suffix ::slotted(*),
.input-suffix > span {
  line-height: 1;
  margin-right: 4px;
}

.input-clear-button,
.input-password-toggle {
  display: inline-flex;
  align-items: center;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  margin-right: 4px;
  transition: 0.2s opacity;
}
.input-clear-button:last-child, .input-clear-button:last-of-type,
.input-password-toggle:last-child,
.input-password-toggle:last-of-type {
  margin-right: 8px;
}
.input-clear-button:focus,
.input-password-toggle:focus {
  outline: none;
}

.input-clear-button {
  opacity: 0;
}

.label {
  display: flex;
  flex-direction: column;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: calc(14px + 8px);
  font-weight: 400;
  color: var(--bcm-new-ds-color-slate-600);
  margin-bottom: 4px;
}

.caption-area {
  min-height: 20px;
}

.input-caption {
  display: block;
}

.unit.input-suffix {
  width: 24px;
}
.unit-prefix {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  cursor: default;
  color: var(--bcm-color-grey-8);
}

.caret-container {
  opacity: 0;
  width: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-left: 1px solid #D9D9D9;
  border-right: 1px solid #D9D9D9;
  transition: 0.2s opacity;
  user-select: none;
  box-sizing: border-box;
  margin-right: 4px;
}
.caret-container:last-of-type {
  margin-right: -space("xxxs");
  border-right: none;
}
.caret-container .caret {
  display: inline-flex;
  height: 50%;
  width: 100%;
  align-items: center;
  justify-content: center;
  color: var(--bcm-color-grey-7);
  cursor: pointer;
}
.caret-container .caret:hover {
  color: var(--bcm-color-prime-blue-6);
}
.caret-container .caret:active {
  background-color: var(--bcm-color-grey-3);
}
.caret-container .caret:last-child {
  border-top: 1px solid #D9D9D9;
}
.caret-container.disabled {
  background-color: var(--bcm-color-grey-3);
}
.caret-container.disabled .caret {
  cursor: not-allowed;
}

.default-icon {
  margin-right: 8px;
}

.input-large {
  height: 40px;
}

.input-medium {
  height: 32px;
}

.input-small {
  height: 24px;
}

.bcm-label {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-bottom: 4px;
  font-weight: 500;
  color: #475569;
}
.bcm-label.tw-text-1 {
  font-size: 10px;
  line-height: 18px;
}
.bcm-label.tw-text-2 {
  font-size: 12px;
  line-height: 20px;
}
.bcm-label.tw-text-3 {
  font-size: 14px;
  line-height: 22px;
}

.bcm-caption-area {
  color: #dc2626;
  font-weight: 400;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row;
  min-height: 20px;
  display: flex;
  margin-top: 4px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.bcm-caption-area.tw-text-1 {
  font-size: 10px;
  line-height: 18px;
}
.bcm-caption-area.tw-text-2 {
  font-size: 12px;
  line-height: 20px;
}
.bcm-caption-area.tw-text-3 {
  font-size: 14px;
  line-height: 22px;
}