@class-prefix-toast: ~'__com_toast_';

.@{class-prefix-toast}root {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;

  .@{class-prefix-toast}content {
    background-color: rgba(0, 0, 0, 0.7);
    max-width: 80%;
    padding: 16px;
    color: white;
    align-items: center;
    justify-content: center;

    display: inline-block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    max-height: 70%;
    overflow: auto;
    word-break: break-all;
    border-radius: 8px;
    pointer-events: all;
    font-size: var(--adm-font-size-7);
    line-height: 1.5;
    box-sizing: border-box;
    text-align: initial;
  }
}