.wp-alert-plugin {
    position: relative;
    display: inline-block;
}

.alert-icon {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.alert-icon .alert-count {
    position: absolute;
    top: -5px;
    right: -10px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    background-color: red;
    padding: 2px 6px;
}

.alert-messages {
    display: none;
    position: absolute;
    top: 30px;
    right: 0;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 300px;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
}

.alert-messages ul {
    list-style: none;
    margin: 0;
    padding: 10px;
}

.alert-messages ul li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.alert-messages ul li:hover {
    background: #f9f9f9;
}