/*
  Font family is Nunito Sans. Its fallback is Helvetica
*/
/*
  Font sizes have been converted to rem considering a base size of 16px.
*/
/*
*  Z-Index
*  
*  The z-index CSS property sets the z-order of a positioned element and its descendants or flex items. 
*  Overlapping elements with a larger z-index cover those with a smaller one.
*  
*  REF: https://developer.mozilla.org/en-US/docs/Web/CSS/z-index
*  REF: https://www.smashingmagazine.com/2019/04/z-index-component-based-web-application/  
*/
/**
 * Define media query values
 */
/** Customs */
/** Animations */
/** Aligns */
/** Scoll Bar */
/** Hover & Pressed */
:host {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
}
:host input,
:host textarea {
  box-shadow: inherit;
}
:host input::placeholder,
:host textarea::placeholder {
  color: var(--color-content-ghost, #8c8c8c);
  opacity: 1;
}
:host input::-webkit-input-placeholder,
:host textarea::-webkit-input-placeholder {
  color: var(--color-content-ghost, #8c8c8c);
  opacity: 1;
}

.input {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 4px 9px 12px;
  flex: 1;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
}
.input .bds-icon {
  position: relative;
  z-index: 1;
}
.input--state-primary {
  border: 1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));
  box-sizing: border-box;
  border-radius: 8px;
}
.input--state-primary .input__icon {
  position: relative;
}
.input--state-primary .input__icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-hover, rgba(0, 0, 0, 0.08));
  z-index: 0;
  border-radius: 8px;
}
.input--state-primary:hover {
  border: 1px solid var(--color-primary, #1e6bf1);
  box-sizing: border-box;
  border-radius: 8px;
}
.input--state-primary.input--pressed {
  border: 1px solid var(--color-primary, #1e6bf1);
  box-sizing: border-box;
  border-radius: 8px;
  -webkit-box-shadow: 0 0 0 2px var(--color-info, #80e3eb);
  box-shadow: 0 0 0 2px var(--color-info, #80e3eb);
}
.input--state-primary.input--pressed .input__icon .bds-icon {
  color: var(--color-primary, #1e6bf1);
}
.input--state-primary .input__container__label {
  color: var(--color-content-default, #282828);
}
.input--state-primary .input__container__label--pressed bds-typo {
  color: var(--color-primary, #1e6bf1);
}
.input--state-primary .input__container__text {
  caret-color: var(--color-primary, #1e6bf1);
  color: var(--color-content-default, #282828);
}
.input--state-primary .input__container__text:placeholder-shown {
  color: var(--color-content-ghost, #8c8c8c);
}
.input--state-danger {
  border: 1px solid var(--color-delete, #e60f0f);
  box-sizing: border-box;
  border-radius: 8px;
}
.input--state-danger .input__icon {
  position: relative;
}
.input--state-danger .input__icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-surface-negative, #8a0000);
  z-index: 0;
  opacity: 50%;
  border-radius: 8px;
}
.input--state-danger:hover {
  border: 1px solid var(--color-negative, #e60f0f);
  box-sizing: border-box;
  border-radius: 8px;
}
.input--state-danger.input--pressed {
  border: 1px solid var(--color-negative, #e60f0f);
  box-sizing: border-box;
  border-radius: 8px;
  -webkit-box-shadow: 0 0 0 2px var(--color-error, #fabebe);
  box-shadow: 0 0 0 2px var(--color-error, #fabebe);
}
.input--state-danger.input--pressed .input__icon .bds-icon {
  color: var(--color-negative, #e60f0f);
}
.input--state-danger .input__container__label {
  color: var(--color-delete, #e60f0f);
}
.input--state-danger .input__container__label--pressed bds-typo {
  color: var(--color-negative, #e60f0f);
}
.input--state-danger .input__container__text {
  caret-color: var(--color-negative, #e60f0f);
  color: var(--color-content-default, #282828);
}
.input--state-danger .input__container__text:placeholder-shown {
  color: var(--color-content-ghost, #8c8c8c);
}
.input--state-success {
  border: 1px solid var(--color-border-1, rgba(0, 0, 0, 0.2));
  box-sizing: border-box;
  border-radius: 8px;
}
.input--state-success .input__icon {
  position: relative;
}
.input--state-success .input__icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-surface-positive, #01723e);
  z-index: 0;
  border-radius: 8px;
}
.input--state-success:hover {
  border: 1px solid var(--color-positive, #10603b);
  box-sizing: border-box;
  border-radius: 8px;
}
.input--state-success.input--pressed {
  border: 1px solid var(--color-positive, #10603b);
  box-sizing: border-box;
  border-radius: 8px;
  -webkit-box-shadow: 0 0 0 2px var(--color-success, #84ebbc);
  box-shadow: 0 0 0 2px var(--color-success, #84ebbc);
}
.input--state-success.input--pressed .input__icon .bds-icon {
  color: var(--color-positive, #10603b);
}
.input--state-success .input__container__label {
  color: var(--color-content-default, #282828);
}
.input--state-success .input__container__label--pressed bds-typo {
  color: var(--color-positive, #10603b);
}
.input--state-success .input__container__text {
  caret-color: var(--color-positive, #10603b);
  color: var(--color-content-default, #282828);
}
.input--state-success .input__container__text:placeholder-shown {
  color: var(--color-content-ghost, #8c8c8c);
}
.input--state-disabled {
  opacity: 50%;
  pointer-events: none;
  cursor: not-allowed;
}
.input--state-disabled .input__icon {
  position: relative;
}
.input--state-disabled .input__icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-hover, rgba(0, 0, 0, 0.08));
  z-index: 0;
  opacity: 50%;
  border-radius: 8px;
}
.input .icon-success {
  color: var(--color-positive, #10603b);
  margin-left: 4px;
}
.input--label {
  padding: 7px 4px 8px 12px;
}
.input__icon {
  cursor: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-right: 8px;
  padding: 2.5px;
}
.input__icon--large {
  padding: 4px;
}
.input__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
.input__container__wrapper {
  display: flex;
  flex-wrap: wrap;
}
.input__container__wrapper__chips {
  display: inline;
  max-height: 100px;
  overflow: auto;
}
.input__container__wrapper__chips::-webkit-scrollbar {
  width: 16px;
  background-color: var(--color-shadow-0, rgba(0, 0, 0, 0.04));
  border-radius: 10px;
}
.input__container__wrapper__chips::-webkit-scrollbar-thumb {
  border-radius: 10px;
  border: 4px solid transparent;
  border-radius: 10px;
  background-clip: content-box;
  background-color: var(--color-border-1, rgba(0, 0, 0, 0.2));
}
.input__container__label {
  display: flex;
  align-items: center;
}
.input__container__text {
  display: inline-block;
  margin: 0;
  border: 0;
  padding: 0;
  width: auto;
  vertical-align: middle;
  white-space: normal;
  line-height: inherit;
  background: none;
  /* Browsers have different default form fonts */
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  /* Make webkit render the search input like a normal text field */
  /* Turn off the recent search for webkit. It adds about 15px padding on the left */
  /* Fix IE7 display bug */
  font-family: "Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;
  font-size: 0.875rem;
  line-height: 150%;
  resize: none;
  cursor: inherit;
}
.input__container__text:focus {
  outline: 0;
}
.input__container__text::-webkit-file-upload-button {
  padding: 0;
  border: 0;
  background: none;
}
.input__container__text:focus {
  outline: 0;
}
.input__container__text[type=checkbox], .input__container__text[type=radio] {
  width: 13px;
  height: 13px;
}
.input__container__text[type=search] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
}
::-webkit-search-decoration {
  display: none;
}

.input__container__text[type=reset], .input__container__text[type=button], .input__container__text[type=submit] {
  overflow: visible;
}
.input__container__text::-webkit-scrollbar {
  width: 16px;
  background-color: var(--color-shadow-0, rgba(0, 0, 0, 0.04));
  border-radius: 10px;
}
.input__container__text::-webkit-scrollbar-thumb {
  border-radius: 10px;
  border: 4px solid transparent;
  border-radius: 10px;
  background-clip: content-box;
  background-color: var(--color-border-1, rgba(0, 0, 0, 0.2));
}
.input__container__text::placeholder {
  color: var(--color-content-ghost, #8c8c8c);
}
.input__message {
  display: flex;
  align-items: baseline;
  height: 20px;
  margin: 3.7px 2.5px;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-content-disable, #595959);
  word-break: break-word;
  height: auto;
  min-height: 20px;
}
.input__message bds-typo {
  margin-top: 0px;
  align-self: self-start;
}
.input__message__icon {
  display: flex;
  padding-right: 4px;
  margin-top: 0px;
  padding-top: 2px;
}
.input__message--danger .bds-icon {
  color: var(--color-negative, #e60f0f);
}
.input__message--danger .input__message__text {
  color: var(--color-negative, #e60f0f);
}
.input__message--success .input__message__icon .bds-icon {
  color: var(--color-positive, #10603b);
}
.input__message--success .input__message__text {
  color: var(--color-content-default, #282828);
}

.input__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
.input__container__label {
  display: flex;
  align-items: center;
}
.input__container__text::placeholder {
  color: var(--color-content-ghost, #8c8c8c);
}

.input__container__wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}
.input__container__wrapper .inside-input-left {
  display: inline;
}

.input__container__text {
  display: inline-block;
  margin: 0;
  border: 0;
  padding: 0;
  width: auto;
  vertical-align: middle;
  white-space: normal;
  line-height: inherit;
  background: none;
  /* Browsers have different default form fonts */
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  /* Make webkit render the search input like a normal text field */
  /* Turn off the recent search for webkit. It adds about 15px padding on the left */
  /* Fix IE7 display bug */
  font-family: "Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;
  font-size: 0.875rem;
  line-height: 150%;
  width: 100%;
  resize: none;
  cursor: inherit;
  flex-shrink: 99999;
}
.input__container__text:focus {
  outline: 0;
}
.input__container__text::-webkit-file-upload-button {
  padding: 0;
  border: 0;
  background: none;
}
.input__container__text:focus {
  outline: 0;
}
.input__container__text[type=checkbox], .input__container__text[type=radio] {
  width: 13px;
  height: 13px;
}
.input__container__text[type=search] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
}
::-webkit-search-decoration {
  display: none;
}

.input__container__text[type=reset], .input__container__text[type=button], .input__container__text[type=submit] {
  overflow: visible;
}
.input__container__text__chips {
  width: auto;
  min-width: 216px;
  max-width: 216px;
}

:host {
  display: block;
}

.select {
  position: relative;
  outline: none;
  overflow: hidden;
}
.select__icon {
  color: var(--color-content-ghost, #8c8c8c);
  display: flex;
}
.select__icon bds-icon {
  margin-left: 10px;
}
.select .icon-hidden {
  visibility: hidden;
}
.select__options {
  display: grid;
  background: var(--color-surface-0, white);
  width: 100%;
  max-height: 200px;
  height: fit-content;
  position: absolute;
  left: 0;
  border-radius: 8px;
  box-shadow: 0px 8px 4px -4px var(--color-shadow-0, rgba(0, 0, 0, 0.04)), 0px 12px 12px -4px var(--color-shadow-1, rgba(0, 0, 0, 0.16));
  overflow-y: auto;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}
.select__options::-webkit-scrollbar {
  width: 16px;
  background-color: var(--color-shadow-0, rgba(0, 0, 0, 0.04));
  border-radius: 10px;
}
.select__options::-webkit-scrollbar-thumb {
  border-radius: 10px;
  border: 4px solid transparent;
  border-radius: 10px;
  background-clip: content-box;
  background-color: var(--color-border-1, rgba(0, 0, 0, 0.2));
}
.select__options ::slotted(*) {
  display: flex;
  flex-flow: column;
}
.select__options .selection-title {
  order: -2;
  width: 100%;
  padding: 8px 16px;
  box-sizing: border-box;
}
.select__options .select-all {
  order: -3;
  padding: 8px 8px 8px 12px;
  box-sizing: border-box;
  display: flex;
  gap: 8px;
  align-items: center;
  outline: none;
  flex-direction: row;
}
.select__options .content-divisor {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-surface-1, #f6f6f6);
}
.select__options .content-divisor .divisor {
  display: block;
  margin: 0 16px;
  height: 1px;
  background-color: var(--color-border-2, rgba(0, 0, 0, 0.16));
}
.select__options .load-spinner {
  background-color: var(--color-surface-1, #f6f6f6);
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.select__options--open {
  opacity: 1;
  pointer-events: auto;
}
.select__options--position-top {
  bottom: calc(100% + 4px);
}
.select__options--position-bottom {
  top: calc(100% + 4px);
}
.select__options .options-checked {
  order: -1;
}