.notification-popup {
    width: 550px;
    display: flex;
    flex-direction: column;
    background: #383838;
    padding: 20px;
    padding-bottom: 24px;
    border-radius: 20px;
    gap: 16px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, .35);
}

.notification-popup__top {
    display: flex;
    justify-content: space-between;
    align-items: start;
}
.notification-popup__top__left {
    display: flex;
    gap: 12px;
}

.notification-popup__title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.5px;
    line-height: 44px;
}

.notification-popup__close {
    appearance: none;
    color: white;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 20px;
    width:  32px;
    height: 32px;
}

.notification-popup__icon {
    display: inline-block;    height: 44px !important;
}

.notification-popup__icon::before {
    display: inline-block;
    height: 44px !important;
}

.notification-popup__icon_success::before {
    content: var(--success-icon);
}

.notification-popup__content {
    letter-spacing: -.25px;
    font-size: 16px;
}

.notification-popup__icon_fail::before {
    content: var(--fail-icon);
}

.notification-popup__icon_message::before {
    content: var(--message-icon);
}

.notification-container {
    position: fixed;
    right: 12px;
    top: 0;
    height: 100vh;
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    padding-bottom: 12px;
    overflow: hidden;

    pointer-events: none;
}

.notification-popup {
    pointer-events: auto;
    
    animation-duration: 0.32s;
    animation-name: notification-slide-in;
    animation-timing-function: ease-in-out;
}

@keyframes notification-slide-in  {
    from {
        translate: 200% 0;
    }

    to {
       translate: 0 0; 
    }
}

.notification-popup_slide-out {
    animation-duration: 0.3s;
    animation-name: notification-slide-out;
    animation-timing-function: ease-in-out;

}

@keyframes notification-slide-out {
    from {
        translate: 0 0;
    }

    to {
       translate: 200% 0; 
    }
}

