@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]) {
  --r-toast--border-color: var(--r-status-info-regular, #3e5c73);
  --r-toast--background-color: var(--r-status-info-soft, #f8fafb);
  --r-toast--leading-icon--color: var(--r-status-info-regular, #3e5c73);
}

:host([status=warning]) {
  --r-toast--border-color: var(--r-status-warning-regular, #ff7429);
  --r-toast--background-color: var(--r-status-warning-soft, #fef9f5);
  --r-toast--leading-icon--color: var(--r-status-warning-regular, #89411A);
}

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

:host([status=success]) {
  --r-toast--border-color: var(--r-status-success-regular, #298535);
  --r-toast--background-color: var(--r-status-success-soft, #f7fdf8);
  --r-toast--leading-icon--color: var(--r-status-success-regular, #298535);
}

:host([is-content=false]) {
  --r-toast--content--display: none;
}

:host([headline]) {
  --r-toast--content--margin-top: var(--r-spacing-050, 0.5rem);
}

:host([data-visually-hidden=true]) {
  --r-toast--host--animation-duration: 0.2s;
  --r-toast--host--animation-name: fade-out;
}

:host(:not(:last-child)) {
  margin-bottom: var(--r-toast-group--spacing, 0);
}

:host {
  animation-duration: var(--r-toast--host--animation-duration, 0.3s);
  animation-fill-mode: var(--r-toast--host--animation-fill-mode, forwards);
  animation-name: var(--r-toast--host--animation-name, fade-in);
  box-sizing: var(--r-toast--host--box-sizing, border-box);
  display: var(--r-toast--host--display, block);
  height: var(--r-toast--host--height, var(--r-toast--host--height-expanded, auto));
  opacity: var(--r-toast--host--opacity, 1);
  overflow: var(--r-toast--host--overflow, hidden);
  position: var(--r-toast--host--position, relative);
  transition: var(--r-toast--host--transition, none);
  transition-delay: var(--r-toast--host--transition-delay, 0s);
}
:host ::slotted(p) {
  margin: 0;
}
:host ::slotted(p + p),
:host ::slotted(p + ul),
:host ::slotted(p + ol) {
  margin-top: 1rem;
}
:host .r-toast--trailing-button {
  --r-button--width: 2.75rem;
  --r-button--height: 2.75rem;
  --r-button--color: var(--r-text-regular, #282828);
  --r-button--border-color: transparent;
  --r-button--background-color: transparent;
  position: relative;
  margin-top: -8px;
  margin-right: -8px;
}
@media (hover: hover) {
  :host .r-toast--trailing-button:hover {
    --r-button--color: var(--r-text-strong, #000000);
    --r-button--background-color: var(--r-background-state-hovered, #000000);
  }
}
:host .r-toast--trailing-button:active {
  --r-button--transform: scale(0.94);
}
@media (prefers-reduced-motion) {
  :host {
    transition: none;
    animation-name: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: var(--r-toast--host--height-expanded);
  }
}
@keyframes fade-out {
  from {
    opacity: 1;
    max-height: var(--r-toast--host--height-expanded);
    margin-top: var(--r-spacing-100, 1rem);
  }
  to {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
  }
}
.r-toast {
  font-family: var(--r-toast--font-family, var(--r-font-family-text, system-ui));
  font-size: var(--r-toast--font-size, var(--r-font-size-400, 1rem));
  display: var(--r-toast--display, flex);
  flex-direction: var(--r-toast--flex-direction, row);
  align-items: var(--r-toast--align-items, stretch);
  gap: var(--r-toast--gap, var(--r-spacing-050, 0.5rem));
  padding: var(--r-toast--padding, 12px);
  border-width: var(--r-toast--border-width, 1px);
  border-style: var(--r-toast--border-style, solid);
  border-color: var(--r-toast--border-color, var(--r-status-info-regular, #3e5c73));
  background-color: var(--r-toast--background-color, var(--r-status-info-soft, #f8fafb));
  box-sizing: var(--r-toast--box-sizing, border-box);
  transition: var(--r-toast--transition, none);
}
.r-toast--main {
  flex: var(--r-toast--content--flex, 1);
  word-break: var(--r-toast--content--word-break, break-word);
}
.r-toast--leading-icon {
  color: var(--r-toast--leading-icon--color, var(--r-status-info-regular, #3e5c73));
  margin-top: var(--r-toast--leading-icon--margin-top, 0);
  margin-right: var(--r-toast--leading-icon--margin-right, var(--r-spacing-025, 0.25rem));
}
.r-toast--headline {
  color: var(--r-toast--headline--color, var(--r-text-regular, #282828));
  font-size: var(--r-toast--headline--font-size, var(--r-font-size-400, 1rem));
  font-weight: var(--r-toast--headline--font-weight, var(--r-font-weight-semibold, 600));
  line-height: var(--r-toast--headline--line-height, var(--r-line-height-m, 1.5));
  margin: var(--r-toast--headline--margin, 0);
}
.r-toast--content {
  display: var(--r-toast--content--display, block);
  color: var(--r-toast--content--color, var(--r-text-regular, #282828));
  line-height: var(--r-toast--content--line-height, var(--r-line-height-m, 1.5));
  font-size: var(--r-toast--content--font-size, var(--r-font-size-300, 0.875rem));
  font-weight: var(--r-toast--content--font-weight, var(--r-font-weight-regular, 400));
  margin-top: var(--r-toast--content--margin-top, 0);
  word-break: var(--r-toast--content--word-break, break-word);
}
.r-toast--action {
  display: var(--r-toast--action--display, flex);
  margin-top: var(--r-toast--action--margin-top, var(--r-spacing-050, 0.5rem));
  color: var(--r-toast--action--color, var(--r-text-regular, #282828));
  font-size: var(--r-toast--action--font-size, var(--r-font-size-300, 0.875rem));
  font-weight: var(--r-toast--action--font-weight, var(--r-font-weight-light, 300));
}
.r-toast--action-link,
.r-toast--action ::slotted(r-button) {
  --r-button--background-color: transparent;
  --r-button--border-width: 0;
  --r-button--color: var(--r-text-regular);
  --r-button--padding: 10px 2px 18px 2px;
  --r-button--slot--text-decoration: underline;
  --r-button--slot--text-underline-offset: 9px;
}
@media (hover: hover) {
  .r-toast--action-link:hover,
  .r-toast--action ::slotted(r-button:hover:not([disabled]):not([disabled=true])) {
    --r-button--background-color: var(--r-background-state-hovered);
  }
}
.r-toast--action-link:active,
.r-toast--action ::slotted(r-button:active:not([disabled]):not([disabled=true])) {
  --r-button--background-color: var(--r-background-state-activated);
}
.r-toast--action ::slotted(*) {
  font-size: inherit;
  color: inherit;
}
.r-toast--action ::slotted(a) {
  color: var(--r-toast--action--color, var(--r-text-regular, #282828));
}