#fnb-bar {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background-color: #ffcc00;
    color: white;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#fnb-bar:hover {
    background-color: #ff9900; /* Đổi màu khi hover */
    transform: scale(1.1); /* Tăng kích thước khi hover */
}

.fnb-bell {
    font-size: 28px;
    color: white;
    animation: shake 1s infinite alternate; /* Hiệu ứng lắc lắc */
    transition: transform 0.2s ease-in-out;
}

.fnb-bell:hover {
    transform: rotate(15deg); /* Khi hover, biểu tượng chuông sẽ xoay nhẹ */
}

/* Nút đóng ở góc trên bên phải của fnb-content */
.fnb-content .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.fnb-content .close-btn:hover {
    color: #ff9900;
}

.fnb-content {
    position: absolute;
    bottom: 75px;
    right: 0;
    background-color: #ffcc00;
    padding: 20px;
    border-radius: 8px;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* Hiệu ứng di chuyển mượt mà khi nội dung xổ ra */
.fnb-bar:hover .fnb-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Hiệu ứng di chuyển mượt mà */
}

.fnb-content a {
    color: black;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
	font-size: 14px;
    transition: color 0.2s ease-in-out;
}

.fnb-content a:hover {
    color: #fff; /* Hiệu ứng hover cho liên kết */
}

@keyframes shake {
    0% {
        transform: translateX(-10px);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(-10px);
    }
}
