:host {
  display: block;
  width: 100%;
  min-width: 0;
}

:host ::ng-deep .form-select-floating .floating-label .ng-select-container {
  min-height: 2.5rem;
  border: 1px solid var(--color-inputborder);
  border-radius: 0.5rem;
  background-color: var(--color-white);
  color: var(--color-defaulttextcolor);
  font-size: 0.8125rem;
  box-shadow: none;
}

:host ::ng-deep .form-select-floating .floating-label > label {
  padding-inline: 0.25rem;
  background-color: var(--color-white) !important;
  font-size: 0.75rem !important;
}

:host ::ng-deep .form-select-floating .floating-label--float .ng-select-container,
:host ::ng-deep .form-select-floating .floating-label:focus-within .ng-select-container {
  border-color: var(--color-primary);
}

:host ::ng-deep .form-select-floating .floating-label--invalid .ng-select-container {
  border-color: var(--color-danger);
}

:host-context(.dark) ::ng-deep .form-select-floating .ng-select-container,
:host-context(.dark) ::ng-deep .form-select-floating .floating-label > label {
  background-color: var(--color-bodybg) !important;
}
