.notification-icon {
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* เปลี่ยนสีเมื่อ hover
.notification-list li:hover {
    background-color: red !important; /* เปลี่ยนพื้นหลังเป็นสีแดงเมื่อ hover บนรายการ 
} */
.ace-nav>li>a>.badge {
    position: relative;
    top: -6px !important;
    left: 0px !important;
    /* padding-right: 3px; */
    padding-left: 3;
    font-size: 12px !important;
    font-weight: bold;
}

/* badge-danger */
.badge-danger {
    background-color: rgb(255, 253, 253) !important;
    color: #000000;
    padding: 3px 6px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
}

.notification-list {
    list-style: none;
    padding: 10px;
    background-color: #e1e1e1;
    border: 1px solid #ddd;
    /* min-width: 200px; */
}

.notification-list {
    list-style: none;
    padding: 10px;
    background-color: #e1e1e1;
    /* สีพื้นหลังเริ่มต้น */
    border: 1px solid #ddd;
    min-width: 200px;
}

/* .notification-list li {
    padding: 5px;
    border: 1px solid transparent;
} */

/* เปลี่ยนสีเมื่อ hover */
/* .notification-list li:hover {
    background-color: red !important;
    border: 1px solid white;
} */

/* divider */
.divider {
    border-top: 10px solid #ffffff;
}

.notification-icon:hover .badge-danger {
    background-color: red;
}

/* ส่วนของ ace-nav */
.ace-nav>li>a {
    background-color: #eb0a1e !important;
    /* สีพื้นหลังของลิงก์ */
    color: #FFF;
    /* สีข้อความ */
    display: block;
    line-height: inherit;
    text-align: center;
    height: 100%;
    /* width: auto; */
    /* min-width: 50px; */
    padding: 0 8px;
    position: relative;
}

.dropdown-menu>li>a:hover, #form-notification:hover {
    background-color: #ffffff !important;
    color: #333333 !important;
}