/* Pareva design system icons. The SVGs hard-code their stroke colour, so they
   are drawn as a mask over currentColor and take the colour of the text around them. */

.dsIcon {
    display: inline-block;
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: var(--ds-icon) center / contain no-repeat;
    mask: var(--ds-icon) center / contain no-repeat;
}

/* security.js swaps fa-eye / fa-eye-slash on the eye, which would draw a glyph here */
i.dsIcon::before {
    content: none;
}

.dsIconClose {
    --ds-icon: url("../images/login/icons/cancelledIcon.svg");
}

.dsIconChevronDown {
    --ds-icon: url("../images/login/icons/arrowDownIcon.svg");
}

.dsIconMail {
    --ds-icon: url("../images/login/icons/mailIcon.svg");
}

.dsIconLock {
    --ds-icon: url("../images/login/icons/lockedIcon.svg");
}

.dsIconEye {
    --ds-icon: url("../images/login/icons/eyeIcon.svg");
}

[aria-pressed="true"] > .dsIconEye {
    --ds-icon: url("../images/login/icons/eyeHiddenIcon.svg");
}

.dsIconArrowRight {
    --ds-icon: url("../images/login/icons/forwardArrowIcon.svg");
}

.dsIconBack {
    --ds-icon: url("../images/icons/backArrowIcon.svg");
}

.dsIconHome {
    --ds-icon: url("../images/icons/homeNavbarIcon.svg");
}
