/* stylelint-disable scss/operator-no-unspaced */
/* stylelint-enable scss/operator-no-unspaced */
/**
 * Icon component
 * @define icon
 */
.ecl-icon {
  fill: currentcolor;
  margin: 0;
  transition: transform 300ms ease-in-out;
}

.ecl-icon--2xs {
  height: 0.75rem;
  width: 0.75rem;
}

.ecl-icon--xs {
  height: 1rem;
  width: 1rem;
}

.ecl-icon--s {
  height: 1.25rem;
  width: 1.25rem;
}

.ecl-icon--m {
  height: 1.5rem;
  width: 1.5rem;
}

.ecl-icon--l {
  height: 2rem;
  width: 2rem;
}

.ecl-icon--xl {
  height: 2.5rem;
  width: 2.5rem;
}

.ecl-icon--2xl {
  height: 3rem;
  width: 3rem;
}

.ecl-icon--fluid {
  height: 1em;
  width: 1em;
}

.ecl-icon--primary {
  fill: #004494;
}

.ecl-icon--inverted {
  fill: #fff;
}

.ecl-icon--rotate-90 {
  transform: rotateZ(90deg);
}

.ecl-icon--rotate-180 {
  transform: rotateZ(180deg);
}

.ecl-icon--rotate-270 {
  transform: rotateZ(270deg);
}

.ecl-icon--flip-horizontal {
  transform: scaleX(-1);
}

.ecl-icon--flip-vertical {
  transform: scaleY(-1);
}