@charset "UTF-8";
/** For enabled state of links (visited) in lightmode */
/** For hovered and activated state of links (visited) in lightmode */
/** For enabled state of links (not visited) in lightmode */
/** For hovered and activated state of links (not visited) in lightmode */
/** Used for (lightmode) status-info-soft */
/** Used for (lightmode) status-info-regular */
/** Used for (lightmode) background-state-hovered */
/** Used for (lightmode) background-state-selected */
/** Used for (lightmode) background-state-activated */
/** Used for (lightmode) background-overlay */
/** Used for (darkmode) background-overlay */
/** For hovered and activated state of links (visited) in darkmode */
/** For enabled state of links (visited) in darkmode */
/** For hovered and activated state of links (not visited) in darkmode */
/** For enabled state of links (not visited) in darkmode */
/** Used for (darkmode) status-info-regular */
/** Used for (darkmode) status-info-soft */
/** Used for (darkmode) status-success-regular */
/** Used for (darkmode) status-success-soft */
/** Used for (darkmode) status-warning-regular */
/** Used for (darkmode) status-warning-soft */
/** Used for (darkmode) status-error-regular */
/** Used for (darkmode) status-error-soft */
/** Used for focused outline in both lightmode and darkmode */
/** Used for (lightmode) status-success-soft */
/** Used for (lightmode) status-success-regular */
/** Used for (darkmode) background-state-hovered */
/** Used for (darkmode) background-state-selected */
/** Used for (darkmode) background-state-activated */
/** Used for (lightmode) status-warning-soft */
/** Used for (lightmode) status-warning-regular */
/** Used for (lightmode) status-error-soft */
/** Used for (lightmode) status-error-regular */
/** Deprecated: will be removed in @riverty/design-tokens@3 */
/** Deprecated: will be removed in @riverty/design-tokens@3 */
/** Deprecated: will be removed in @riverty/design-tokens@3 */
/** Deprecated: will be removed in @riverty/design-tokens@3 */
/** Deprecated: will be removed in @riverty/design-tokens@3 */
/** Deprecated: will be removed in @riverty/design-tokens@3 */
/** Deprecated: will be removed in @riverty/design-tokens@3 */
/**
* Semantic Color Tokens - Light
*/
/** Used in regular decorative screens, containers or sections Examples: Onboarding screens, Login screens */
/** Used in soft decorative screens, containers or sections Examples: Onboarding screens, Login screens */
/** Used for specific sections that require attention */
/** Used as an overlay background for components that behave modal */
/** Used for regular backgrounds in components Examples: Primary button */
/** Used as static backgrounds in our components Examples: dialog, bottom sheet */
/** Used as the main background color of our mobile interfaces */
/** Used as the main background color of our desktop interfaces, as well as small components Examples: input field, select */
/** Used as a soft background independent of mode */
/** Used for activated state in all interactive components */
/** Used for hovered state in all interactive components */
/** Used for selected state in all interactive components */
/** Used for borders that serve decoration and function, adding color */
/** Used for creating focus states of interactive components */
/** Used for highlighting the focus states of interactive components */
/** Used for borders that are on strong backgrounds in light mode and soft backgrounds in darkmode */
/** Used for borders balanced with regular texts and icons */
/** Used for smoother borders but still clearly visible */
/** Used for making distinctions between sections */
/** Used for borders that serve as decoration rather than function */
/** Used for clear, distinct borders */
/** Used to add emphasis on one single icon */
/** Used for icons that are used on inverse backgrounds */
/** Used for icons that are used on inverse backgrounds, static in darkmode */
/** Used for icons that are interactive */
/** Used for icons that are interactive but should keep static in darkmode */
/** Used for icons that are supporting labels (not interactive) */
/** Used on coloured backgrounds to ensure better contrast compared to r-icon-regular, static in darkmode */
/** Used to indicate to users the interactivity of a link, used for hover and activated states */
/** Used to indicate to users that a link is enabled */
/** Used to indicate to users the interactivity of a visited link, used for hover and activated states */
/** Used to indicate to users that a link has been visited before */
/** Used when logo requires attention */
/** Not used, will be removed in future */
/** Used on dark backgrounds, when logo doesn’t require much attention */
/** Used when logo doesn’t require much attention */
/** Used for indicating strong error  Examples: Error border for badge, error border for toast, error text */
/** Used for indicating strong error, static in both light and darkmode Examples: error background for primary button */
/** Used for indicating soft error, often combined with regular error color Examples: error background for badge, error background for toast */
/** Used for indicating strong info  Examples: info border for badge, info border for toast */
/** Used for indicating soft info, often combined with regular info color Examples: info background for badge, info background for toast */
/** Used for indicating strong success  Examples: success border for badge, success border for toast */
/** Used for indicating soft success, often combined with regular success color Examples: success background for badge, success background for toast */
/** Used for indicating strong warning  Examples: warning border for badge, warning border for toast */
/** Used for indicating soft warning, often combined with regular warning color Examples: warning background for badge, warning background for toast */
/** Used for decorative, large texts only (from font size 24), to emphasize brand Examples: Marketing email headers */
/** Used for regular texts but then on strong backgrounds Examples: Text in Primary button */
/** Used for decorative, large texts only (from font size 24) to use above backgrounds with brand color Examples: Onboarding screen Riverty App */
/** Used for all texts that aren’t in need of exceptions  Examples: Headlines, body texts, labels */
/** Used for texts that are additional, not crucial Examples: Hint texts, placeholder texts */
/** Used on coloured backgrounds to ensure better contrast compared to r-text-regular Example: Text in Toast with warning status */
/** Used on coloured backgrounds that don’t change from light to dark mode, compared to r-text-strong Examples: Text in Primary button */
/** Internal Design System token to enable 'inverse'-appearing components such as alert and popover. */
/** Internal Design System token to enable 'inverse'-appearing components such as alert and popover. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/**
* Semantic Color Tokens - Dark
*/
/** Used in regular decorative screens, containers or sections Examples: Onboarding screens, Login screens */
/** Used in soft decorative screens, containers or sections Examples: Onboarding screens, Login screens */
/** Used for specific sections that require attention */
/** Used as an overlay background for components that behave modal */
/** Used for regular backgrounds in components Examples: Primary button */
/** Used as static backgrounds in our components Examples: dialog, bottom sheet */
/** Used as the main background color of our mobile interfaces */
/** Used as the main background color of our desktop interfaces, as well as small components Examples: input field, select */
/** Used as a soft background independent of mode */
/** Used for activated state in all interactive components */
/** Used for hovered state in all interactive components */
/** Used for selected state in all interactive components */
/** Used for borders that serve decoration and function, adding color */
/** Used for creating focus states of interactive components */
/** Used for highlighting the focus states of interactive components */
/** Used for borders that are on strong backgrounds in light mode and soft backgrounds in darkmode */
/** Used for borders balanced with regular texts and icons */
/** Used for smoother borders but still clearly visible */
/** Used for making distinctions between sections */
/** Used for borders that serve as decoration rather than function */
/** Used for clear, distinct borders */
/** Used to add emphasis on one single icon */
/** Used for icons that are used on inverse backgrounds */
/** Used for icons that are used on inverse backgrounds, static in darkmode */
/** Used for icons that are interactive */
/** Used for icons that are interactive but should keep static in darkmode */
/** Used for icons that are supporting labels (not interactive) */
/** Used on coloured backgrounds to ensure better contrast compared to r-icon-regular, static in darkmode */
/** Used to indicate to users the interactivity of a link, used for hover and activated states */
/** Used to indicate to users that a link is enabled */
/** Used to indicate to users the interactivity of a visited link, used for hover and activated states */
/** Used to indicate to users that a link has been visited before */
/** Used when logo requires attention */
/** Not used, will be removed in future */
/** Used on dark backgrounds, when logo doesn’t require much attention */
/** Used when logo doesn’t require much attention */
/** Used for indicating strong error  Examples: Error border for badge, error border for toast, error text */
/** Used for indicating strong error, static in both light and darkmode Examples: error background for primary button */
/** Used for indicating soft error, often combined with regular error color Examples: error background for badge, error background for toast */
/** Used for indicating strong info  Examples: info border for badge, info border for toast */
/** Used for indicating soft info, often combined with regular info color Examples: info background for badge, info background for toast */
/** Used for indicating strong success  Examples: success border for badge, success border for toast */
/** Used for indicating soft success, often combined with regular success color Examples: success background for badge, success background for toast */
/** Used for indicating strong warning  Examples: warning border for badge, warning border for toast */
/** Used for indicating soft warning, often combined with regular warning color Examples: warning background for badge, warning background for toast */
/** Used for decorative, large texts only (from font size 24), to emphasize brand Examples: Marketing email headers */
/** Used for regular texts but then on strong backgrounds Examples: Text in Primary button */
/** Used for decorative, large texts only (from font size 24) to use above backgrounds with brand color Examples: Onboarding screen Riverty App */
/** Used for all texts that aren’t in need of exceptions  Examples: Headlines, body texts, labels */
/** Used for texts that are additional, not crucial Examples: Hint texts, placeholder texts */
/** Used on coloured backgrounds to ensure better contrast compared to r-text-regular Example: Text in Toast with warning status */
/** Used on coloured backgrounds that don’t change from light to dark mode, compared to r-text-strong Examples: Text in Primary button */
/** Internal Design System token to enable 'inverse'-appearing components such as alert and popover. */
/** Internal Design System token to enable 'inverse'-appearing components such as alert and popover. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
:host {
  font-style: normal;
  font-weight: inherit;
  letter-spacing: normal;
  line-height: 1.5;
  word-spacing: normal;
  text-transform: none;
  opacity: 1;
  transform: none;
  filter: none;
  text-shadow: none;
  box-shadow: none;
  box-sizing: border-box;
  display: inline-flex;
  vertical-align: top;
  --r-icon-button--color: inherit;
}

@media (hover: hover) {
  :host(:hover:not([disabled]:not([disabled=false])):not(:active)) {
    --r-icon-button--background-color: var(--r-background-state-hovered, rgba(40, 40, 40, 0.04));
  }
}
:host(:active:not([disabled]:not([disabled=false]))) {
  --r-icon-button--background-color: var(--r-background-state-activated, rgba(40, 40, 40, 0.12));
}

:host(:focus-within:not(:active):not([disabled]:not([disabled=false]))) {
  box-shadow: 0 0 0 6px var(--r-border-focused-outlined, #fff);
  outline: 2px solid var(--r-border-focused, #0071e3);
  outline-offset: 2px;
}

:host([disabled]:not([disabled=false])) {
  opacity: 0.4;
  --r-icon-button--cursor: not-allowed;
  --r-icon-button--box-shadow: none;
  --r-icon-button--background-color: transparent;
}

:host([variant=contained]) {
  --r-icon-button--color: var(--r-icon-inverse, #fff);
  --r-icon-button--background-color: var(--r-background-regular, #282828);
  --r-icon-button--box-shadow: none;
}

@media (hover: hover) {
  :host([variant=contained]:hover:not([disabled]:not([disabled=false]))) {
    --r-icon-button--color: var(--r-icon-regular, #282828);
    --r-icon-button--background-color: var(--r-background-state-hovered, rgba(40, 40, 40, 0.04));
  }
}
:host([variant=contained]:active:not([disabled]:not([disabled=false]))) {
  --r-icon-button--color: var(--r-icon-regular, #282828);
  --r-icon-button--background-color: var(--r-background-state-activated, rgba(40, 40, 40, 0.12));
}

:host([variant=contained][disabled]:not([disabled=false])) {
  --r-icon-button--color: var(--r-icon-inverse, #fff);
  --r-icon-button--background-color: var(--r-background-regular, #282828);
}

:host([size=s]) {
  --r-icon-button--height: 1.5rem;
  --r-icon-button--width: 1.5rem;
}

:host([size=m]) {
  --r-icon-button--height: 2.25rem;
  --r-icon-button--width: 2.25rem;
}

:host([size=l]) {
  --r-icon-button--height: 2.75rem;
  --r-icon-button--width: 2.75rem;
}

.r-icon-button {
  display: var(--r-icon-button--display, inline-flex);
  align-items: var(--r-icon-button--align-items, center);
  justify-content: var(--r-icon-button--justify-content, center);
  outline: var(--r-icon-button--outline, none);
  cursor: var(--r-icon-button--cursor, pointer);
  pointer-events: var(--r-icon-button--pointer-events, initial);
  padding: var(--r-icon-button--padding, 0);
  border: var(--r-icon-button--border, none);
  color: var(--r-icon-button--color, inherit);
  background-color: var(--r-icon-button--background-color, transparent);
  box-sizing: var(--r-icon-button--box-sizing, border-box);
  border-width: var(--r-icon-button--border-width, 1px);
  border-style: var(--r-icon-button--border-style, solid);
  border-color: var(--r-icon-button--border-color, transparent);
  border-radius: var(--r-icon-button--border-radius, 50%);
  z-index: var(--r-icon-button--z-index, initial);
  width: var(--r-icon-button--width, 2.25rem);
  height: var(--r-icon-button--height, 2.25rem);
}
.r-icon-button--target-area {
  position: var(--r-icon-button--target-area--position, absolute);
  background: var(--r-icon-button--target-area--background, rgba(0, 0, 0, 0));
  width: var(--r-icon-button--target-area--width, 2.75rem);
  height: var(--r-icon-button--target-area--height, 2.75rem);
  z-index: var(--r-icon-button--target-area--z-index, 1);
}
.r-icon-button--icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}