.toast-box,
.toast-box-game-page {
    height: fit-content;
    min-height: 64px;
    width: calc(100% - 32px);
    position: fixed;
    right: 0;
    bottom: 0;
    margin: 16px;
    z-index: 100005;
    transition: top 0.2s ease;
    overflow: hidden;
}

.toast-spark-container {
    width: 100%;
}
.toast-content-container,
.toast-header-container,
.toast-link-container {
    display: flex;
}
.toast-close-icon-container,
.toast-link {
    margin-left: auto;
}
.toast-container-message {
    width: 100%;
    padding: 16px;
    margin: 0;
}
.toast-text-wrapper {
    height: auto;
    width: 100%;
}
.toast-body-container {
    margin-top: 12px;
    margin-bottom: 12px;
}
.toast-text {
    line-height: 1.4;
    margin: 0;
}
.toast-secondary-link {
    margin-top: auto;
}
.toast-new-line {
    display: block;
    height: 21px;
}
.toast-progress-bar {
    height: 4px;
    width: 100%;
    position: absolute;
    animation: countdown 10s linear forwards;
    background-color: #F50093;
}
@keyframes countdown {
    to {
        width: 0;
    }
}

/* Enter and leave animation for small screen*/
.toast-enter-small {
    animation: raise 0.4s ease-out;
}

@keyframes raise {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Enter and leave animation for medium screen*/
.toast-enter-medium {
    animation: slideinmedium 0.4s ease-out;
}

@keyframes slideinmedium {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Enter and leave animation for large screen*/
.toast-enter-large {
    animation: slideinlarge 0.4s ease-out;
}

@keyframes slideinlarge {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

.toast-slow-leave {
    transition: 0.4s linear;
    transform: translateY(100%);
}
.toast-fast-leave {
    transition: 0.2s linear;
    transform: translateY(100%);
}

@media screen and (min-width: 768px) {
    .toast-box,
    .toast-box-game-page {
        width: 375px;
    }
    .toast-box-game-page {
        bottom: 50px;
    }
    .toast-content-container {
        width: 375px;
    }
    .toast-slow-leave {
        transition: 0.4s linear;
        transform: translateX(100%);
    }
    .toast-fast-leave {
        transition: 0.2s linear;
        transform: translateX(100%);
    }
}

@media screen and (min-width: 1025px) {
    .toast-box,
    .toast-box-game-page {
        top: 40px;
    }
}


.popup-notification-container {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 100005;
    background-color: rgba(0, 0, 0, 0.5);
}

@supports (height: 100dvh) {
    .popup-notification-container {
        height: 100dvh;
    }
}

.popup-notification-content-container {
    width: 100%;
    min-width: 304px;
    height: auto;
    padding-bottom: 24px;
}

.popup-notification-wrapper,
.popup-notification-wrapper-with-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 0;
    position: fixed;
    min-width: 304px;
    min-height: 258px;
    max-width: 728px;
    height: fit-content;
    margin-bottom: -24px;
}

@supports (max-height: 100dvh) {
    .popup-notification-wrapper,
    .popup-notification-wrapper-with-image {
        max-height: 100dvh;
    }
}

.popup-notification-scroll-container {
    max-height: 100vh;
    overflow: scroll;
}

.popup-notification-wrapper {
    width: calc(100%);
}

.popup-spark-container {
    width: 100%;
}

.popup-notification-button-container {
    display: flex;
    flex-direction: column;
    order: 3;
    align-items: center;
    margin: 24px 16px;
    flex-grow: 1;
}

.popup-notification-button {
    max-width: 327px;
    width: 100%;
    height: 44px;
    text-align: center;
    margin-top: 0;
}

.popup-notification-button p {
    margin: 0;
}

.pwa-popup-notification-button-padding {
    order: 2;
    width: 16px;
    height: 16px;
}
.popup-notification-button-padding {
    width: 16px;
    height: 16px;
}

.popup-notification-tertiary-button {
    max-width: 327px;
    width: 100%;
    height: 44px;
    text-align: center;
}

.popup-notification-tertiary-button p {
    margin: 0px;
}

.popup-notification-action-button {
    width: 100%;
    max-width: 350px;
}
.popup-notification-action-tertiary-button {
    width: 100%;
    max-width: 350px;
}

.popup-header {
    margin: 32px 24px 24px;
    text-align: center;
}

.popup-text {
    text-align: center;
    margin-left: 16px;
    margin-right: 16px;
}
.popup-body {
    margin: 24px;
}
.popup-new-line {
    height: 21px;
}

.popup-close-icon-container {
    position: absolute;
    left: 16px;
    top: 16px;
    display: flex;
    border-radius: 50%;
    width: fit-content;
}

.popup-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    margin-top: 32px;
    padding: 0;
}

.pwa-popup-notification-header {
    color: #00648F;
}
.pwa-popup-notification-text {
    color: #00374F;
}

@media screen and (min-width: 768px) {
    .popup-notification-wrapper,
    .popup-notification-wrapper-with-image {
        display: block;
        width: 672px;
        left: auto;
        margin-right: 0;
        min-height: 267px;
        margin-bottom: 24px;
        top: 50%;
        transform: translateY(-50%);
    }

    .popup-notification-scroll-container {
        max-height: calc(100vh - 48px);
    }

    .popup-notification-content-container {
        margin-right: 0;
        padding-bottom: 0;
        display: contents;
        margin-top: 32px;
        margin-bottom: 56px;
    }
    .popup-notification-button {
        width: 233px;
        height: 44px;
        margin-top: 0;
    }

    .popup-notification-button-container {
        flex-direction: row;
        justify-content: center;
        margin: 32px 24px 56px 24px;
    }

    .popup-notification-tertiary-button {
        width: 233px;
        height: 44px;
        margin-top: 0;
    }
    .popup-notification-action-button {
        width: auto;
        min-width: 233px;
    }
    .popup-notification-action-tertiary-button {
        width: auto;
        min-width: 233px;
    }
    .popup-header {
        margin-left: 16px;
        margin-right: 16px;
    }
    .popup-text {
        margin-left: 32px;
        margin-right: 32px;
    }
}

.toast-progress-bar {
    background-color: #A854FF;
}

