/* Custom CSS Tablet */
@media (min-width: 550px) {

    .mobile-navbar.phone,
    .mobile-navbar-labels {
        display: none !important;
    }

    #float-contact {
        position: fixed;
        bottom: 80px;
        z-index: 9;
        right: 100px;
    }

    #float-contact>* {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #float-contact img {
        width: 25px;
        height: 25px;
    }
    .phone-container {
        background: var(--fs-color-primary);
        width: 200px;
        height: 40px;
        position: fixed;
        bottom: 10px;
        border-radius: 5px;
        right: 10px;
        opacity: 0;
        transition: opacity 0.5s;
    }
    
    .phone-number {
        width: 180px;
        height: 40px;
        font: bold 18pt arial;
        line-height: 20pt;
        color: #fff;
        border-radius: 5px;
        padding: 10px;
        float: left;
        background: var(--fs-color-primary);
        border-radius: 10px;
    }

    .phone-container:hover {
        opacity: 1;
    }

    .phone {
        position: fixed;
        z-index: 9999;
        bottom: 18px;
        right: 165px;
        background: var(--fs-color-primary);
        padding: 0px 16px;
        margin-bottom: 6px;
        height: 60px;
        width: 60px;
        border-radius: 50%;
        box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.2);
        transition: box-shadow 0.3s;
        animation: pulse 2s infinite;
    }


    .zalo {
        position: fixed;
        z-index: 9999;
        bottom: 18px;
        right: 28px;
        background: var(--fs-color-primary);
        padding: 5px 15px;
        margin-bottom: 6px;
        height: 60px;
        width: 60px;
        border-radius: 50%;
        box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.2);
        transition: box-shadow 0.3s;
        animation: pulse 2s infinite;
    }

    .facebook {
        position: fixed;
        z-index: 9999;
        right: 95px;
        bottom: 18px;
        float: left;
        background: var(--fs-color-primary);
        padding: 2px 15px;
        color: #fff;
        margin-bottom: 6px;
        height: 60px;
        width: 60px;
        border-radius: 50%;
        box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.2);
        transition: box-shadow 0.3s;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
        }

        70% {
            transform: scale(1);
            box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
        }

        100% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
        }
    }
}

#float-contact {
    display: none;
}

.mobile-navbar.phone {
    width: calc(100vw - 20px);
    height: 260px;
    margin: auto;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-end;
    position: fixed;
    bottom: 0px;
    left: 10px;
    justify-content: center;
    z-index: 1;
    mix-blend-mode: multiply;
    -webkit-mix-blend-mode: multiply;
    -moz-mix-blend-mode: multiply;
}

.mobile-navbar .phone_content {
    position: absolute;
    filter: contrast(20);
    width: 100%;
    border-radius: 16px;
    background-color: white;
    overflow: hidden;
}

.mobile-navbar .phone_bottom {
    width: 100%;
    height: 66px;
    background: black;
    display: flex;
    justify-content: center;
    filter: blur(10px);
}

.mobile-navbar input[type="radio"] {
    display: none;
}

/* Container riêng cho labels (không bị mix-blend-mode) */
.mobile-navbar-labels {
    width: calc(100vw - 20px);
    height: 66px;
    position: fixed;
    bottom: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    pointer-events: none;
    /* Cho phép click xuyên qua */
}

.mobile-navbar-labels label {
    cursor: pointer;
    width: 33%;
    height: 66px;
    position: relative;
    z-index: 3;
    pointer-events: auto;
    /* Cho phép click trên label */
}

.mobile-navbar-labels label>a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mobile-navbar-labels label>a>img {
    width: 25px;
    height: 25px;
    transition: 200ms 100ms cubic-bezier(0.14, -0.08, 0.74, 1.4);
}

.mobile-navbar-labels label::before {
    content: '';
    position: absolute;
}

.mobile-navbar .circle {
    width: 60px;
    height: 60px;
    background: black;
    position: absolute;
    top: 152px;
    z-index: 1;
    border-radius: 50%;
    left: 0;
    right: 0;
    margin: auto;
    transition: 200ms cubic-bezier(0.14, -0.08, 0.74, 1.4);
}

.mobile-navbar .indicator {
    width: 70px;
    height: 70px;
    background-image: linear-gradient(0deg, #f7b0b0, rgba(183, 255, 154, 0)), linear-gradient(0deg, rgba(158, 255, 151, 0.75), rgba(183, 255, 154, 0)), linear-gradient(0deg, #b4fffb, rgba(183, 255, 154, 0));
    background-size: cover;
    background-position: 0 10px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: -42px;
    right: 0;
    margin: auto;
    transition: 200ms cubic-bezier(0.14, -0.08, 0.74, 1.4);
}

/* Animation cho labels khi được chọn - sử dụng adjacent sibling selector */
.mobile-navbar:has(#s1:checked)+.mobile-navbar-labels [for="s1"]>a>img {
    transform: translateY(-42.5px) !important;
}

.mobile-navbar:has(#s2:checked)+.mobile-navbar-labels [for="s2"]>a>img {
    transform: translateY(-42.5px) !important;
}

.mobile-navbar:has(#s3:checked)+.mobile-navbar-labels [for="s3"]>a>img {
    transform: translateY(-42.5px) !important;
}

.mobile-navbar:has(#s4:checked)+.mobile-navbar-labels [for="s4"]>a>img {
    transform: translateY(-42.5px) !important;
}

.mobile-navbar:has(#s5:checked)+.mobile-navbar-labels [for="s5"]>a>img {
    transform: translateY(-42.5px) !important;
}

/* Animation cho circle và indicator */
#s1:checked~.circle,
.mobile-navbar #s1:checked~div div .indicator {
    left: -80% !important;
}

#s2:checked~.circle,
.mobile-navbar #s2:checked~div div .indicator {
    left: -40% !important;
}

#s3:checked~.circle,
.mobile-navbar #s3:checked~div div .indicator {
    left: 0% !important;
}

#s4:checked~.circle,
.mobile-navbar #s4:checked~div div .indicator {
    left: 40% !important;
}

#s5:checked~.circle,
.mobile-navbar #s5:checked~div div .indicator {
    left: 80% !important;
}