.mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #fff;
    padding: 4px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.footer-item {
    text-align: center;
    font-size: 12px;
    flex: 1;
}

.footer-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #555;
    font-size: 12px;
    text-decoration: none;
}

.footer-item a i {
    font-size: 18px;
    /*margin-bottom: 3px;*/
}
.footer-item a span {
    font-size: 13px;
}

/* Nút đăng tin nổi bật */
.footer-post-button {
    position: relative;
    top: -27px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #5148ff, #f55656) border-box;
    border: 2px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.footer-post-button a {
    color: #5148ff;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.plus-icon {
    color: #5148ff;
    font-size: 21px;
}

.buttons-fixed-mobile {
    position: fixed;
    bottom: 70px;
    left: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* căn trái */
    gap: 5px;
    z-index: 10;
}

.footer-post-badge {
    position: absolute;
    bottom: -27px; /* cách nút một chút */
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    padding: 1px 10px;
    border-radius: 15px;
    background: linear-gradient(90deg, #5148ff, #f55656);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    letter-spacing: 0.2px;
}

/* Nút co gọn vừa nội dung */
.fixed-button {
    position: relative; /* cần để hiệu ứng tuyệt đối bên trong */
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 3;
    transition: all 0.2s ease-in-out;
    opacity: 0.9;
    width: fit-content; /* ✅ co vừa nội dung */
    max-width: 90vw; /* tránh tràn màn hình */
    white-space: nowrap; /* không xuống dòng */
}

.fixed-button i {
    font-size: 16px;
    color: #5148ff;
}

.fixed-button:hover {
    background-color: #f5f5ff;
    border-color: #ccc;
    transform: translateY(-2px);
    opacity: 1;
}

/* Vòng tròn radar */
/*#openNotificationModalMobile::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    border-radius: 50%;*/
/*    border: 2px solid rgba(81, 72, 255, 0.6); !* màu sóng *!*/
/*    transform: translate(-50%, -50%) scale(1);*/
/*    opacity: 0;*/
/*    animation: radarPing 2.5s infinite ease-out;*/
/*    pointer-events: none; !* không cản click *!*/
/*    z-index: 0;*/
/*}*/

/* Animation riêng cho nút chuông */
#openNotificationModalMobile i {
    animation: ring 2s infinite;
    transform-origin: top center; /* điểm xoay ở đỉnh chuông */
}

@keyframes ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
    50% { transform: rotate(5deg); }
    60% { transform: rotate(-5deg); }
    70%, 100% { transform: rotate(0); }
}

/* 🌊 Keyframes radar */
@keyframes radarPing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    70% {
        transform: translate(-50%, -50%) scale(2.3);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}
