.alert {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    width: auto;
    min-width: 300px;
    max-width: 500px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, bottom 0.5s ease-in-out;
    color: #fff; /* Set text color to white */
}
.alert-danger {
    background-color: #dc3545; /* Red background */
}
.alert-success {
    background-color: #28a745; /* Green background */
}
.alert.show {
    opacity: 1;
    bottom: 40px;
}
.alert .closebtn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    float: right;
    cursor: pointer;
}

.custom {
    display: flex;
    justify-content: center !important; /* Horizontally centers the content */
    align-items: center !important;  
    margin: 0% auto !important; 
}

.center .table-btn {
    display: inline-block; /* Ensures the button respects the text-align property */
}
.recent-posts {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    position: relative;
}

.recent-posts .user-thumb {
    margin-right: 10px;
}

.recent-posts .article-post {
    flex: 1;
}

.recent-posts .cross-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.recent-posts .cross-button:hover {
    background: darkred;
}

