/* Hiệu ứng bounce cho ảnh coin */
.coin-animation {
    animation: bounce 1.5s ease-in-out infinite;
    position: absolute; /* Đặt tuyệt đối trong div cha (position: relative) */
    top: -50px; /* Nâng ảnh lên trên nút Đổi thưởng */
    left: 50%; /* Căn giữa theo chiều ngang của div cha */
    transform: translateX(-50%); /* Điều chỉnh để ảnh nằm chính giữa */
    text-align: center; /* Đảm bảo ảnh căn giữa */
    z-index: 1; /* Đảm bảo ảnh hiển thị trên các phần tử khác */
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0); /* Giữ căn giữa và bounce theo Y */
    }
    50% {
        transform: translateX(-50%) translateY(-10px); /* Bounce lên 10px */
    }
}
.gap-1 {
    gap: 10px
}
.menu_left {
  display: none;
}

@media (min-width: 768px) {
  .menu_left {
    display: block;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  }
}
.menu_left_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    gap: 10px;
    overflow: hidden;
    background: #fff;
}
.menu_left_container a {
    color: #000;
}
/* User info */
.menu_left_user_info {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 10px 10px 0 10px;
    gap: 5px;
}

.menu_left_avatar_container {
    text-align: center;
    position: relative;
}

.menu_left_avatar_img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
}

.menu_left_avatar_edit {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    padding: 5px;
    border-radius: 10px 0;
}

.menu_left_name_container {
    text-align: center;
}

.menu_left_name {
    margin: 0;
}

.menu_left_username {
    color: #6c757d;
}

.menu_left_coins_logged_in {
    color: #fd7e14;
}

.menu_left_coins_guest {
    color: #ff0000;
}

.menu_left_items_container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu_left_item_img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    border-radius: 5px;
}

/* Friends và Loves */
.menu_left_friends_container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background-image: url(https://wownow.life/images/index/bff.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    height: 100%;
    overflow-x: hidden;
}

.menu_left_friend_item {
    width: 60px;
    text-align: center;
}

.menu_left_friend_img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.menu_left_loves_container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background-image: url(https://wownow.life/images/index/love.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
    height: 100%;
    overflow-x: hidden;
}

.menu_left_empty_text {
    text-align: center;
    width: 100%;
}

/* Footer và Language */
.menu_left_separator {
    border-top: 2px solid #ccc;
    margin: 0;
}

.menu_left_footer_container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu_left_language_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 5px;
}

.menu_left_language_toggle_container {
    position: relative;
}

.menu_left_language_toggle,
.menu_left_logout,
.menu_left_setup {
    background: var(--swal2-validation-message-background);
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
}
.menu_left_language_toggle span {
    display: flex;
flex-direction: center;
align-items: center;
}
a {
    color: #000;
}
a:hover,
.shops_register:hover,
.menu_left_language_toggle:hover,
.menu_left_logout:hover,
.menu_left_setup:hover,
.menu_left_button:hover {
    color: #fd7e14;
    text-decoration: none;
}

.menu_left_language_dropdown {
    display: none;
    position: absolute;
    bottom: 100%;
    background: #fff;
    border: 1px solid #ccc;
    width: max-content;
    padding: 5px;
}
.menu_left_language_dropdown img, .menu_left_language_toggle img, .dropdown-signup img, .dropdown-content-signup img, .dropdown-toggle img, .dropdown-content img {
    width: 24px;
    height: 24px;
}
.menu_left_setup {
    color: #000;
}

.menu_left_footer {
    text-align: center;
}
.menu_left_footer img {
    width: 50px;
    height: 50px;
}
.menu_left_buttons_container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 5px;
    scrollbar-width: 5px; /* Ẩn thanh cuộn và mũi tên trên Firefox */
    -ms-overflow-style: 5px; /* Ẩn thanh cuộn và mũi tên trên Edge */
}

.menu_left_button {
    color: #000;
    flex-shrink: 0;
}

.menu_left_buttons_container::-webkit-scrollbar {
    height: 5px; /* Thanh cuộn 1px trên Chrome, Safari */
}

.menu_left_buttons_container::-webkit-scrollbar-button {
    display: none; /* Ẩn mũi tên trên Chrome, Safari */
}

.menu_left_buttons_container::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 4px;
}

.menu_left_buttons_container::-webkit-scrollbar-thumb:hover {
    background-color: #3a3f44;
}

.menu_left_buttons_container::-webkit-scrollbar-track {
    background: #fff;
}
.hidden {
    display: none;
}
.grayscale {
    filter: grayscale(100%);
}
.selected-item-menu-left {
    border: 1px solid #fd7e14;
}
.timestamp-divider {
    text-align: center;
    font-size: 0.8em;
    color: #999;
    margin: 10px 0;
    padding: 5px;
    background-color: #f0f0f0;
    border-radius: 8px;
}
