.graceful-notification-box {
    position: fixed;
    width: 480px;
    padding: 10px;
    bottom: 0;
    right: 0;
    z-index: 99999;
    max-height: 100%;
    overflow: hidden;
}

@keyframes slideIn {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.graceful-notification {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 450px;
    min-height: 110px;
    margin: 10px 0 0 0;
    border-radius: 4px;
    color: #fff;
    animation: slideIn 0.5s ease-out;
    box-shadow: 0 1px 8px 0 rgba(38, 38, 38, .3);
}

.graceful-notification-danger {
    background-color: #BD362F;
}

.graceful-notification-success {
    background-color: #51A351;
}

.graceful-notification-warning {
    background-color: #F89406;
}

.graceful-notification-primary {
    background-color: #030303;
}

.graceful-notification-info {
    background-color: #2F96B4;
}

.graceful-notification-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;

    >i {
        width: fit-content;
        font-size: 40px;
    }
}

.graceful-notification-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 5px 7px 10px;
    max-width: 350px;
    overflow: hidden;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;

    > p {
        display: block;
        width: 100%;
        margin: 0;
        overflow: hidden;
        word-wrap: break-word;
        -ms-word-wrap: break-word;
    }
}

.graceful-notification-button {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0.2rem;
    color: #fff !important;
    padding: 2px 8px;
    width: fit-content;
    cursor: pointer;
    align-self: flex-start;
    text-decoration: none;
    font-size: 12px;

    &:hover {
        background-color: rgba(0, 0, 0, 0.3);
        color: #fff;
        text-decoration: none;
    }

    &:active {
        background-color: rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 rgba(0, 0, 0, 0.4);
        top: 3px;
    }

    &:link {
        text-decoration: none;
    }
}

.graceful-notification-end {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.graceful-notification-close {
    display: flex;
    color: #fff;
    border: none;
    font-size: 14px;
    margin: 10px 10px 0 0;
    cursor: pointer;
    background: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 50%;
    width: 20px;
    height: 20px;

    &:hover {
        background-color: rgba(0, 0, 0, 0.2);
    }
}