.toast-box {
    position: fixed;
    left: 0;
    top: -100%;
    right: 0;
    width: 100%;
    z-index: 600;
    min-height: 52px;
    margin-top: env(safe-area-inset-top);
    transition: 0.2s all;
    background: rgba(0, 0, 0, 0.85);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    padding: 10px 16px;
    line-height: 1.4em;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .toast-box .toast-title {
    font-size: 15px;
    color: #fff;
  }
  
  .toast-box .btn {
    font-size: 13px;
    font-weight: 500;
  }
  
  .toast-box.show {
    top: 0;
  }
  
  .toast-box .in {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 20px;
  }
  
  .toast-box .in i.icon,
  .toast-box .in ion-icon {
    font-size: 26px;
    width: 32px;
    height: 32px;
    margin-right: 8px;
    color: #fff;
  }
  
  .toast-box .in .text {
    width: 100%;
  }
  
  .toast-box.toast-top.show {
    top: 56px;
  }
  
  .toast-box.toast-bottom {
    top: auto;
    bottom: -100%;
  }
  
  .toast-box.toast-bottom.show {
    bottom: 56px;
    top: auto;
    margin-bottom: env(safe-area-inset-bottom);
  }
  
  .toast-box.toast-center {
    width: auto;
    left: auto;
    right: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    padding: 16px 24px;
    border-radius: 10px;
    text-align: center;
  }
  
  .toast-box.toast-center.show {
    display: block;
    transform: translate(-50%, -50%);
  }
  
  .toast-box.toast-center .in {
    padding: 0;
    display: block;
  }
  
  .toast-box.toast-center .in i.icon,
  .toast-box.toast-center .in ion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px 0;
    font-size: 56px;
    width: 64px;
    height: 64px;
  }
  
  .toast-box.toast-center .btn {
    margin-top: 20px;
  }
  
  .extra-header-active .toast-box.toast-top.show {
    top: 95px;
  }
  
  .notification-box {
    position: fixed;
    left: 0;
    top: -100%;
    right: 0;
    width: 100%;
    z-index: 9999;
    transition: 0.3s all;
    margin-top: env(safe-area-inset-top);
  }
  
  .notification-box.show {
    top: 0;
  }
  
  .notification-dialog.android-style {
    background: #ffffff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1), 0 11px 25px 0 rgba(0, 0, 0, 0.18);
    padding: 20px 16px 24px 16px;
  }
  
  .notification-dialog.android-style .notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .notification-dialog.android-style .notification-header .in {
    display: flex;
    align-items: center;
  }
  
  .notification-dialog.android-style .notification-header .in .imaged {
    margin-right: 8px;
  }
  
  .notification-dialog.android-style .notification-header .in strong {
    font-size: 13px;
    font-weight: 400;
    color: #27173E;
  }
  
  .notification-dialog.android-style .notification-header .in span {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    font-size: 11px;
  }
  
  .notification-dialog.android-style .notification-header .in span:before {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    content: "•";
  }
  
  .notification-dialog.android-style .notification-header .close-button {
    display: flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #A9ABAD;
  }
  
  .notification-dialog.android-style .notification-header .close-button:hover, .notification-dialog.android-style .notification-header .close-button:active {
    color: #958d9e;
  }
  
  .notification-dialog.android-style .notification-content {
    font-size: 13px;
    line-height: 1.4em;
    margin-top: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  
  .notification-dialog.android-style .notification-content .subtitle {
    font-size: 15px;
    margin: 0 0 5px 0;
    line-height: 1.4em;
    font-weight: 500;
  }
  
  .notification-dialog.android-style .notification-content .in {
    padding-right: 16px;
  }
  
  .notification-dialog.android-style .icon-box {
    width: 46px;
    height: 46px;
    font-size: 46px;
    color: #A9ABAD;
  }
  
  .notification-dialog.android-style .notification-footer {
    border-top: 1px solid #DCDCE9;
    margin: 16px -16px -24px -16px;
    padding: 0;
    display: flex;
    align-items: flex-start;
  }
  
  .notification-dialog.android-style .notification-footer .notification-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5cb85c !important;
    font-size: 13px;
    border-right: 1px solid #DCDCE9;
    padding: 16px 6px;
  }
  
  .notification-dialog.android-style .notification-footer .notification-button ion-icon,
  .notification-dialog.android-style .notification-footer .notification-button .icon {
    font-size: 20px;
    line-height: 1em;
    margin-right: 8px;
  }
  
  .notification-dialog.android-style .notification-footer .notification-button:last-child {
    border-right: 0;
  }
  
  .notification-dialog.android-style .notification-footer .notification-button:hover, .notification-dialog.android-style .notification-footer .notification-button:active {
    color: #4e1dff;
    background: rgba(220, 220, 233, 0.3);
  }
  
  .notification-dialog.ios-style {
    margin: 10px;
    background: #3b4859;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
  }
  
  .notification-dialog.ios-style .notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px 10px 0 0;
  }
  
  .notification-dialog.ios-style .notification-header .in {
    display: flex;
    align-items: center;
  }
  
  .notification-dialog.ios-style .notification-header .in .imaged {
    margin-right: 8px;
  }
  
  .notification-dialog.ios-style .notification-header .in strong {
    font-size: 13px;
    font-weight: 400;
    color: #fff;
  }
  
  .notification-dialog.ios-style .notification-header .right {
    display: flex;
    align-items: center;
  }
  
  .notification-dialog.ios-style .notification-header .right span {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
  }
  
  .notification-dialog.ios-style .notification-header .close-button {
    display: flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    opacity: 0.5;
  }
  
  .notification-dialog.ios-style .notification-header .close-button:hover, .notification-dialog.ios-style .notification-header .close-button:active {
    opacity: 0.7;
  }
  
  .notification-dialog.ios-style .icon-box {
    width: 46px;
    height: 46px;
    font-size: 46px;
    color: #A9ABAD;
  }
  
  .notification-dialog.ios-style .notification-content {
    font-size: 13px;
    line-height: 1.4em;
    padding: 14px 16px 20px 16px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.75);
  }
  
  .notification-dialog.ios-style .notification-content .subtitle {
    font-size: 15px;
    margin: 0 0 5px 0;
    line-height: 1.4em;
    color: #fff;
    font-weight: 500;
  }
  
  .notification-dialog.ios-style .notification-content .in {
    padding-right: 16px;
  }
  
  .notification-dialog.ios-style .notification-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0px -16px -16px -16px;
    padding: 0;
    display: flex;
    align-items: flex-start;
  }
  
  .notification-dialog.ios-style .notification-footer .notification-button {
    color: #fff !important;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 6px;
  }
  
  .notification-dialog.ios-style .notification-footer .notification-button ion-icon {
    font-size: 20px;
    line-height: 1em;
    margin-right: 10px;
    color: #fff;
  }
  
  .notification-dialog.ios-style .notification-footer .notification-button:last-child {
    border-right: 0;
  }
  
  .notification-dialog.ios-style .notification-footer .notification-button:hover, .notification-dialog.ios-style .notification-footer .notification-button:active {
    color: #4e1dff;
    background: rgba(255, 255, 255, 0.02);
  }
  
  .ios-add-to-home .modal-header {
    border-bottom-color: transparent !important;
  }
  
  .ios-add-to-home .modal-content {
    position: relative;
    margin-bottom: 10px;
    z-index: 1;
    box-shadow: 0 10px 20px -4px rgba(0, 0, 0, 0.2) !important;
  }
  
  .ios-add-to-home .modal-content:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 10px solid #fff;
    position: absolute;
    bottom: -7px;
    z-index: 10;
    left: 50%;
    margin-left: -16px;
  }
  
  .ios-add-to-home .modal-content .action-sheet-content {
    font-size: 13px;
    color: #27173E;
    line-height: 1.5em;
  }
  
  .ios-add-to-home .modal-content .action-sheet-content h4 {
    font-size: 15px;
    margin-bottom: 10px;
  }
  
  .ios-add-to-home .modal-content .action-sheet-content i.bi,
  .ios-add-to-home .modal-content .action-sheet-content i.icon,
  .ios-add-to-home .modal-content .action-sheet-content ion-icon {
    font-size: 22px;
    margin-bottom: -4px;
  }
  
  .android-add-to-home {
    z-index: 200000;
  }
  
  .android-add-to-home .modal-header {
    border-bottom-color: transparent !important;
  }
  
  .android-add-to-home .modal-dialog {
    margin-top: env(safe-area-inset-top) !important;
    top: 0;
    bottom: auto;
    padding: 6px !important;
    transform: translate(0, -100%) !important;
    transition: .5s all !important;
  }
  
  .android-add-to-home.show .modal-dialog {
    transform: translate(0, 0) !important;
    top: 10px;
  }
  
  .android-add-to-home .modal-content {
    position: relative;
    z-index: 1;
    border-radius: 8px !important;
    box-shadow: 0 10px 20px -4px rgba(0, 0, 0, 0.2) !important;
  }
  
  .android-add-to-home .modal-content:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    position: absolute;
    top: -8px;
    z-index: 10;
    right: 8px;
    transform: rotate(180deg);
    margin-left: -16px;
  }
  
  .android-add-to-home .modal-content .action-sheet-content {
    font-size: 13px;
    color: #27173E;
    line-height: 1.6em;
    padding-top: 16px !important;
  }
  
  .android-add-to-home .modal-content .action-sheet-content i.bi,
  .android-add-to-home .modal-content .action-sheet-content i.icon,
  .android-add-to-home .modal-content .action-sheet-content ion-icon {
    font-size: 18px;
    margin-bottom: -5px;
  }

  html[dir="rtl"] .message-item,
body.rtl-mode .message-item {
  direction: ltr;
}

html[dir="rtl"] .notification-dialog.android-style .notification-header .imaged,
body.rtl-mode .notification-dialog.android-style .notification-header .imaged {
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .notification-dialog.android-style .notification-header span,
body.rtl-mode .notification-dialog.android-style .notification-header span {
  margin-left: 0;
  margin-right: 6px;
}

html[dir="rtl"] .notification-dialog.android-style .notification-header span:before,
body.rtl-mode .notification-dialog.android-style .notification-header span:before {
  margin-right: 0;
  margin-left: 6px;
}

html[dir="rtl"] .notification-dialog.android-style .notification-content .in,
body.rtl-mode .notification-dialog.android-style .notification-content .in {
  padding-right: 0;
  padding-left: 16px;
}

html[dir="rtl"] .notification-dialog.android-style .notification-footer .notification-button,
body.rtl-mode .notification-dialog.android-style .notification-footer .notification-button {
  border-left: 1px solid #DCDCE9;
}

html[dir="rtl"] .notification-dialog.android-style .notification-footer .notification-button:last-child,
body.rtl-mode .notification-dialog.android-style .notification-footer .notification-button:last-child {
  border-left: 0;
}

html[dir="rtl"] .notification-dialog.android-style .notification-footer .notification-button .icon,
html[dir="rtl"] .notification-dialog.android-style .notification-footer .notification-button ion-icon,
body.rtl-mode .notification-dialog.android-style .notification-footer .notification-button .icon,
body.rtl-mode .notification-dialog.android-style .notification-footer .notification-button ion-icon {
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .notification-dialog.ios-style .notification-header .imaged,
body.rtl-mode .notification-dialog.ios-style .notification-header .imaged {
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .notification-dialog.ios-style .notification-header span,
body.rtl-mode .notification-dialog.ios-style .notification-header span {
  margin-left: 6px;
  margin-right: 0;
}

html[dir="rtl"] .notification-dialog.ios-style .notification-content .in,
body.rtl-mode .notification-dialog.ios-style .notification-content .in {
  padding-right: 0;
  padding-left: 16px;
}

html[dir="rtl"] .notification-dialog.ios-style .notification-footer .notification-button,
body.rtl-mode .notification-dialog.ios-style .notification-footer .notification-button {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

html[dir="rtl"] .notification-dialog.ios-style .notification-footer .notification-button:last-child,
body.rtl-mode .notification-dialog.ios-style .notification-footer .notification-button:last-child {
  border-left: 0;
}

html[dir="rtl"] .notification-dialog.ios-style .notification-footer .notification-button .icon,
html[dir="rtl"] .notification-dialog.ios-style .notification-footer .notification-button ion-icon,
body.rtl-mode .notification-dialog.ios-style .notification-footer .notification-button .icon,
body.rtl-mode .notification-dialog.ios-style .notification-footer .notification-button ion-icon {
  margin-right: 0;
  margin-left: 8px;
}

body.dark-mode .notification-dialog.android-style {
    background: #18122d;
  }
  
  body.dark-mode .notification-dialog.android-style .notification-header .in strong {
    color: #fff;
  }
  
  body.dark-mode .notification-dialog.android-style .notification-header .close-button {
    color: #69587f;
  }
  
  body.dark-mode .notification-dialog.android-style .notification-header .close-button:hover, body.dark-mode .notification-dialog.android-style .notification-header .close-button:active {
    color: #8f82a5;
  }
  
  body.dark-mode .notification-dialog.android-style .icon-box {
    color: #69587f;
  }
  
  body.dark-mode .notification-dialog.android-style .notification-footer {
    border-top: 1px solid #2d1f3b;
  }
  
  body.dark-mode .notification-dialog.android-style .notification-footer .notification-button {
    border-right: 1px solid #2d1f3b;
  }
  
  body.dark-mode .notification-dialog.android-style .notification-footer .notification-button:hover, body.dark-mode .notification-dialog.android-style .notification-footer .notification-button:active {
    background: rgba(45, 31, 59, 0.3);
  }
  
  body.dark-mode .notification-dialog.ios-style {
    background: #20183b;
  }
  
  body.dark-mode .notification-dialog.ios-style .icon-box {
    color: #69587f;
  }
  
  body.dark-mode .progress {
    background: #372648;
  }

  body.dark-mode.rtl-mode .notification-dialog.android-style .notification-footer .notification-button {
    border-right: 0;
    border-left-color: #2d1f3b;
  }