  .messages {
    position: fixed !important;
    left: 24px !important;
    bottom: 24px !important;
    top: auto !important;
    right: auto !important;
    z-index: 99999 !important;
    width: auto !important;
    max-width: min(480px, calc(100vw - 32px)) !important;
    pointer-events: none !important;
  }

  .messages .msg-wrapper {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
  }

  .messages .msg {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(18px);
    opacity: 0;
    animation: adtlToastIn 0.28s ease forwards;
    pointer-events: auto !important;
    backdrop-filter: blur(8px);
  }

  .messages .msg .container {
    width: auto !important;
    max-width: none !important;
    min-height: auto !important;
    padding: 18px 52px 18px 58px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .messages .msg .container br {
    display: none !important;
  }

  .messages .msg span:not(.adtl-toast-icon) {
    display: block !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
  }

  .messages .msg a {
    font-weight: 800 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
  }

  .messages .msg::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.18;
    pointer-events: none;
  }

  .messages .msg .adtl-toast-icon {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 999px !important;
    z-index: 2 !important;
    pointer-events: none !important;
    display: block !important;
  }

  .messages .msg .adtl-toast-icon::before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -52%);
    display: block;
    width: 100%;
    text-align: center;
    font-size: 17px;
    line-height: 1;
    font-weight: 900;
    color: currentColor;
  }

  .messages .msg.msg-success .adtl-toast-icon::before {
    content: "✓";
  }

  .messages .msg.msg-error .adtl-toast-icon::before {
    content: "!";
  }

  .messages .msg.msg-info .adtl-toast-icon::before,
  .messages .msg:not(.msg-success):not(.msg-error) .adtl-toast-icon::before {
    content: "i";
    font-family: Arial, sans-serif;
    font-style: normal;
    font-weight: 900;
  }

  .messages .msg::after {
    content: "×";
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-52%);
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    font-weight: 400;
    opacity: 0.65;
    cursor: pointer;
  }

  .messages .msg:hover::after {
    opacity: 1;
  }

  .messages .msg.adtl-toast-hide {
    animation: adtlToastOut 0.22s ease forwards;
  }

  @keyframes adtlToastIn {
    from {
      opacity: 0;
      transform: translateY(18px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @keyframes adtlToastOut {
    from {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
    to {
      opacity: 0;
      transform: translateY(14px) scale(0.98);
    }
  }

  @media (max-width: 767px) {
    .messages {
      left: 12px !important;
      right: 12px !important;
      bottom: 12px !important;
      max-width: none !important;
      width: auto !important;
    }

    .messages .msg {
      border-radius: 14px !important;
    }

    .messages .msg .container {
      padding: 16px 48px 16px 54px !important;
    }

    .messages .msg span:not(.adtl-toast-icon) {
      font-size: 15px !important;
    }

    .messages .msg::before,
    .messages .msg .adtl-toast-icon {
      left: 16px !important;
      width: 26px !important;
      height: 26px !important;
    }

    .messages .msg .adtl-toast-icon::before {
      font-size: 16px;
    }
  }