/* ======= Toast message ======== */

#toast {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 999999;
}

.toast {
    display: flex;
    align-items: center;
    background-color: #FFF2F2;
    border-radius: 8px;
    /* padding: 20px 0; */
    min-width: 400px;
    max-width: 450px;
    border-left: 4px solid;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.08);
    transition: all linear 0.3s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(calc(100% + 32px));
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

.toast--success {
    border-color: #47d864;
}

.toast--success .toast__icon {
    color: #47d864;
}

.toast--info {
    border-color: #2f86eb;
}

.toast--info .toast__icon {
    color: #2f86eb;
}

.toast--warning {
    border-color: #ffc021;
}

.toast--warning .toast__icon {
    color: #ffc021;
}

.toast--error {
    border-color: #ff623d;
}

.toast--error .toast__icon {
    color: #ff623d;
}

.toast+.toast {
    margin-top: 24px;
}

.toast__icon {
    font-size: 24px;
}

.toast__icon,
.toast__close {
    padding: 0 16px;
}

.toast__body {
    flex-grow: 1;
}

.toast__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.toast__msg {
    font-size: 14px;
    color: #888;
    margin-top: 6px;
    line-height: 1.5;
}

.toast__close {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* custom toast */
.toast{
    border-left: 8px solid;
    max-width: 640px;
}
.toast--error{
    border-color: var(--Pink-dark);
}
.toast__body{
    display: flex;
    align-items: center;
}
.toast__msg{
    padding: 0;
    margin: 0;
}
.toast__body{
    padding: 20px 0px 20px 24px;
}
.toast__body i{
    color: var(--Pink-dark);
    font-size: 24px;
    margin-right: 10px;
}
.toast__msg.body-text{
    color: var(--Pink-dark);
    font-size: 16px !important;
    line-height: 24px !important;
}
@media (max-width: 768px) {
    .toast{
        min-width: 300px;
        max-width: 300px;
    }
}
