.toast-notification {
    position: fixed;
    text-decoration: none;
    z-index: 999999;
    max-width: 350px;
    background-color: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    padding: 15px 10px;
    transform: translate(0, -150%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.toast-notification .toast-notification-wrapper .toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.5s linear;
}

.toast-notification .toast-icon {
    display: inline-flex;
}

.toast-notification .toast-icon svg {
    width: 45px;
    margin: 0 10px 0 0;
}

.toast-notification .toast-notification-wrapper {
    flex: 1;
    padding-right: 10px;
    overflow: hidden;
}

.toast-notification .toast-notification-wrapper .toast-notification-header {
    margin: 0;
    font-weight: bold;
    font-size: .9em;
    color: #4f525a;
}

.toast-notification .toast-notification-wrapper .toast-notification-content {
    font-size: .9em;
    font-weight: normal;
    margin: 0;
    padding: 0;
    color: #4f525a;
}

.toast-notification .toast-notification-close {
    appearance: none;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 24px;
    line-height: 24px;
    padding-bottom: 4px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.2);
}

.toast-notification .toast-notification-close:hover {
    color: rgba(0, 0, 0, 0.4);
}

.toast-notification.toast-notification-top-center {
    transform: translate(calc(50vw - 50%), -150%);
}

.toast-notification.toast-notification-bottom-left,
.toast-notification.toast-notification-bottom-right {
    transform: translate(0, 150%);
}

.toast-notification.toast-notification-bottom-center {
    transform: translate(calc(50vw - 50%), 150%);
}

.toast-notification.toast-notification-warning {
    background-color: #fff3c3;
    border: 1px solid #a77551;
}

.toast-notification.toast-notification-warning .toast-progress {
    background-color: #a77551;
}

.toast-notification.toast-notification.toast-notification-warning .toast-icon svg {
    fill: #a77551;
}

.toast-notification.toast-notification-warning .toast-notification-wrapper .toast-notification-header {
    color: #a77551;
}

.toast-notification.toast-notification-warning .toast-notification-wrapper .toast-notification-content {
    color: #a77551;
}

.toast-notification.toast-notification-warning .toast-notification-close {
    color: rgba(0, 0, 0, 0.2);
}

.toast-notification.toast-notification-warning .toast-notification-close:hover {
    color: rgba(0, 0, 0, 0.4);
}

.toast-notification.toast-notification-success {
    background-color: #C3F3D7;
    border: 1px solid #51a775;
}

.toast-notification.toast-notification-success .toast-progress {
    background-color: #51a775;
}

.toast-notification.toast-notification.toast-notification-success .toast-icon svg {
    fill: #51a775;
}

.toast-notification.toast-notification-success .toast-notification-wrapper .toast-notification-header {
    color: #51a775;
}

.toast-notification.toast-notification-success .toast-notification-wrapper .toast-notification-content {
    color: #51a775;
}

.toast-notification.toast-notification-success .toast-notification-close {
    color: rgba(0, 0, 0, 0.2);
}

.toast-notification.toast-notification-success .toast-notification-close:hover {
    color: rgba(0, 0, 0, 0.4);
}

.toast-notification.toast-notification-error {
    background-color: #f3c3c3;
    border: 1px solid #a75151;
}

.toast-notification.toast-notification-error .toast-progress {
    background-color: #a75151;
}

.toast-notification.toast-notification.toast-notification-error .toast-icon svg {
    fill: #a75151;
}

.toast-notification.toast-notification-error .toast-notification-wrapper .toast-notification-header {
    color: #a75151;
}

.toast-notification.toast-notification-error .toast-notification-wrapper .toast-notification-content {
    color: #a75151;
}

.toast-notification.toast-notification-error .toast-notification-close {
    color: rgba(0, 0, 0, 0.2);
}

.toast-notification.toast-notification-error .toast-notification-close:hover {
    color: rgba(0, 0, 0, 0.4);
}

.toast-notification.toast-notification-info {
    background-color: #d0eaff;
    border: 1px solid #6097b8;
}

.toast-notification.toast-notification-info .toast-progress {
    background-color: #6097b8;
}

.toast-notification.toast-notification.toast-notification-info .toast-icon svg {
    fill: #6097b8;
}

.toast-notification.toast-notification-info .toast-notification-wrapper .toast-notification-header {
    color: #6097b8;
}

.toast-notification.toast-notification-info .toast-notification-wrapper .toast-notification-content {
    color: #6097b8;
}

.toast-notification.toast-notification-info .toast-notification-close {
    color: rgba(0, 0, 0, 0.2);
}

.toast-notification.toast-notification-info .toast-notification-close:hover {
    color: rgba(0, 0, 0, 0.4);
}

.toast-notification.toast-notification-dimmed {
    opacity: .3;
}

.toast-notification.toast-notification-dimmed:hover,
.toast-notification.toast-notification-dimmed:active {
    opacity: 1;
}