ion-toast {
  /**
   * @prop --background: Background of the toast
   * @prop --button-color: Color of the button text
   * @prop --color: Color of the toast text
   */
  left: 0;
  top: 0;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  color: var(--color);
  contain: strict;
  z-index: 1000;
  pointer-events: none; }

.toast-wrapper {
  background: var(--background); }

.toast-wrapper.toast-top {
  transform: translate3d(0,  -100%,  0);
  top: 0; }

.toast-wrapper.toast-bottom {
  transform: translate3d(0,  100%,  0);
  bottom: 0; }

.toast-container {
  display: flex;
  align-items: center;
  pointer-events: auto;
  contain: content; }

.toast-button {
  font-size: 15px; }

.toast-message {
  flex: 1; }

.toast-md {
  --background: var(--ion-text-color-step-150, #262626);
  --color: var(--ion-background-color, #fff);
  font-family: var(--ion-font-family, inherit);
  font-size: 15px; }

.toast-md .toast-wrapper {
  left: 0;
  right: 0;
  margin: auto;
  display: block;
  position: absolute;
  width: 100%;
  max-width: 700px;
  z-index: 10; }

.toast-md .toast-wrapper.toast-top {
  padding-top: var(--ion-safe-area-top); }

.toast-md .toast-wrapper.toast-bottom {
  padding-bottom: var(--ion-safe-area-bottom); }

.toast-md .toast-wrapper.toast-middle {
  opacity: .01; }

.toast-md .toast-message {
  padding: 19px 16px 17px; }
