
#alerts {
    width: 400px;
    top: 12px;
    right: 50px;
    position: fixed;
    z-index: 9999;
    list-style: none;
    margin: 0;
    padding: 0;
}


.alert {
    display: flex;
    
    align-items: center;
    
    gap: 10px;
    
    width: 100%;
    margin-bottom: 8px;
    padding: 10px 15px;
    border-left: 4px solid;
    border-radius: 4px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s ease;
    cursor: pointer;
}


.alert.open {
    opacity: 1;
    transform: translateX(0);
}


.alert img.alert-icon,
.alert i {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    
    border-radius: 4px;
    object-fit: cover;
    
}


.alert-block {
    flex: 1;
    
    text-align: left;
}

.alert-title {
    font-weight: bold;
    margin-bottom: 2px;
}

.alert-message {
    font-size: 15px;
    line-height: 20px;
}


.alert-success {
    color: #fff;
    border-color: #539753;
    background-color: #8fbf2f;
}

.alert-error {
    color: #fff;
    border-color: #dc4a4d;
    background-color: #f25c5d;
}

.alert-trash {
    color: #fff;
    border-color: #dc4a4d;
    background-color: #f25c5d;
}

.alert-info {
    color: #fff;
    border-color: #076d91;
    background-color: #3397db;
}

.alert-warning {
    color: #fff;
    border-color: #dd6137;
    background-color: #f7931d;
}


.alert:hover {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}