.top-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    border-top: 2px solid #29a745;
    flex-wrap: nowrap;
    position: relative;
    white-space: nowrap;
    width: 100%;
    height: 55px;
    /* Đảm bảo rằng top-menu có kích thước cố định */
}

.top-menu ul {
    margin-left: 5px !important;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    transition: transform 0.3s ease;
    /* Thêm transition cho transform */
    width: 99%;
}

.top-menu ul li {
    display: inline-block;
}

.top-menu ul li button {
    display: block;
    text-align: center;
    padding: 6.5px 16px;
    text-decoration: none;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.1s ease;
    /* Thêm hiệu ứng background-color */
}

.top-menu ul li button:hover {
    border: none;
    border-bottom: 3px solid #29a745;
    height: 35px;
    /* Thay đổi màu nền khi hover hoặc active */
}

.top-menu ul li.active button {
    border: none;
    border-bottom: 3px solid #29a745;
    background-color: #f0f0f0;
    height: 35px;
    /* Thay đổi màu nền khi hover hoặc active */
}

.top-menu ul li button:focus {
    outline: none !important;
}

.nav-icon-menu {
    cursor: pointer;
    padding: 10px;
    border-radius: 2px;
    background: #e6e6e6;
}

.ic-square {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background-color: #006761;
}
.ic-square-nobg {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
}


@keyframes clipload {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

#menu-ul::-webkit-scrollbar {
    /* WebKit */
    width: 0;
    height: 0;
}

@media (max-width: 564px) {
    #menu-ul li {
        position: relative !important;
        box-shadow: none !important;
    }
}
