@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;
}

:host([status=info]) {
  --color: var(--r-status-info-soft, #f8fafb);
  --background-color: var(--r-status-info-regular, #3e5c73);
}

:host([status=warning]) {
  --color: var(--r-text-strong-static, #000000);
  --r-alert--leading-icon--color: var(--r-icon-strong-static, #000000);
  --background-color: var(--r-status-warning-regular, #ff7429);
}

:host([status=error]) {
  --color: var(--r-status-error-soft, #fef6f6);
  --background-color: var(--r-status-error-regular, #b00c15);
}

@media (hover: hover) {
  :host([status=error]) r-icon-button:hover,
  :host([status=info]) r-icon-button:hover {
    --r-icon-button--background-color: var(--r-background-state-hovered-inverse, rgba(243, 241, 240, 0.04));
  }
}
:host([status=error]) r-icon-button:active,
:host([status=info]) r-icon-button:active {
  --r-icon-button--background-color: var(--r-background-state-activated-inverse, rgba(243, 241, 240, 0.12));
}
@media (hover: hover) {
  :host([status=error]) .r-alert--link:hover,
  :host([status=error]) ::slotted(r-button:hover:not([disabled]):not([disabled=true])),
  :host([status=info]) .r-alert--link:hover,
  :host([status=info]) ::slotted(r-button:hover:not([disabled]):not([disabled=true])) {
    --r-button--background-color: var(--r-background-state-hovered-inverse, rgba(243, 241, 240, 0.04));
  }
}
:host([status=error]) .r-alert--link:active,
:host([status=error]) ::slotted(r-button:active:not([disabled]):not([disabled=true])),
:host([status=info]) .r-alert--link:active,
:host([status=info]) ::slotted(r-button:active:not([disabled]):not([disabled=true])) {
  --r-button--background-color--active: var(--r-background-state-activated-inverse, rgba(243, 241, 240, 0.12));
}

:host([aria-hidden=true]) {
  --transition: all 0.5s;
  --opacity: 0;
  --display: none;
}

:host {
  display: var(--display, block);
  color: var(--color, var(--r-status-info-soft, #f8fafb));
  background-color: var(--background-color, var(--r-status-info-regular, #3e5c73));
  position: var(--position, relative);
  width: var(--width, 100%);
  left: var(--left, 0);
  transition: var(--transition, none);
  transition-behavior: var(--transition-behavior, allow-discrete);
  visibility: var(--visibility, visible);
  opacity: var(--opacity, 1);
  z-index: var(--z-index, unset);
  font-family: var(--font-family, var(--r-font-family-text, system-ui));
  font-size: var(--font-size, var(--r-font-size-400, 1rem));
  font-weight: var(--font-weight, var(--r-font-weight-regular, 400));
}
@media (prefers-reduced-motion) {
  :host {
    transition: none;
  }
}

.r-alert {
  display: var(--r-alert--display, grid);
  visibility: var(--r-alert--visibility, visible);
  grid-template-columns: var(--r-alert--grid-template-columns, auto 1fr auto);
  align-items: var(--r-alert--align-items, start);
  gap: var(--r-alert--gap, var(--r-spacing-100, 1rem));
  padding: var(--r-alert--padding, 16px);
  box-sizing: var(--r-alert--box-sizing, border-box);
}
.r-alert[data-has-headline=false] {
  --r-alert--align-items: center;
}
.r-alert:empty {
  --r-alert--display: none;
}
.r-alert--main {
  display: var(--r-alert--main--display, flex);
  flex-flow: var(--r-alert--main--flex-flow, column);
  gap: var(--r-alert--main--gap, var(--r-spacing-050));
}
.r-alert--headline {
  color: var(--r-alert--headline--color, var(--color));
  font-size: var(--r-alert--headline--font-size, var(--r-font-size-400, 1rem));
  font-weight: var(--r-alert--headline--font-weight, var(--r-font-weight-semibold, 600));
  line-height: var(--r-alert--headline--line-height, var(--r-line-height-m, 1.5));
  margin: var(--r-alert--headline--margin, 0);
}
.r-alert--leading {
  color: var(--r-alert--leading-icon--color, var(--color));
}
.r-alert--trailing r-icon-button {
  --r-button--padding: 0;
  --r-button--color: var(--color);
}
.r-alert--content {
  margin-top: var(--r-alert--content--margin-top, 0);
  line-height: var(--r-alert--content--line-height, 1.5);
}
.r-alert--link,
.r-alert ::slotted(r-button) {
  --r-button--background-color: transparent;
  --r-button--border-width: 0;
  --r-button--color: var(--r-alert--link--color, var(--color));
  --r-button--padding: 10px 2px 18px 2px;
  --r-button--slot--text-decoration: underline;
  --r-button--slot--text-underline-offset: 9px;
}
@media (hover: hover) {
  .r-alert--link:hover,
  .r-alert ::slotted(r-button:hover:not([disabled]):not([disabled=true])) {
    --r-button--background-color: var(--r-background-state-hovered);
  }
}
.r-alert--link:active,
.r-alert ::slotted(r-button:active:not([disabled]):not([disabled=true])) {
  --r-button--color--active: var(--r-alert--link--color, var(--color));
  --r-button--background-color--active: var(--r-background-state-activated);
}