

/* Default: hide both initially */
.mobile-container,
.desktop-container {
    display: none;
}

/* Show mobile on small screens */
@media (max-width: 767px) {

    footer {
        height: 9vh !important; /* match mobile container height */
        box-shadow: none !important;
        border: 0 !important;
        background: white !important;
        transform: translateY(0) !important;
        transition: transform 0.3s ease-in-out !important;
    }
    
    .footer-hide {
        transform: translateY(100%) !important;
    }
    
    .mobile-container {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        background: #fff;
        border-top: 1px solid #ccc;
        z-index: 1000;
    }
    
    /* Tabs */
    .tab-container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        height: 100%;
    }
    
    .active-container {
        position: absolute;
        top: 0;
        height: 2px;
        width: 90%;
        border-radius: 2px;
    
    
        background-color: transparent; /* hide by default */
        transition: left 0.3s ease, background-color 0.3s ease;
    }
    
    /* Active indicator at top */
    .active-container.active {
        background-color: #1460e3;
    }
    
    /* Link styling */
    .link-container {
        padding: 0 20px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }
    
    .link-container a {
        text-decoration: none;
        color: #333;
        font-size: 13px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        height: 100%;
        justify-content: center;
    }
    
    .link-container .icon-wrapper {
        position: relative;
        display: inline-block;
    }
    
    /* Icon Style */
    .link-container a i {
        font-size: 23px;
        margin-bottom: 5px;
        transition: color 0.3s ease;
    
    }
    
    /* Badge Style */
    .badge {
        position: absolute;
        top: -6px;
        right: -10px;
        background-color: #dd2332;
        color: white;
        font-size: 10px;
        height: 18px;
        min-width: 18px;
        padding: 0 5px;
        border-radius: 999px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        text-align: center;
        box-sizing: border-box;
        white-space: nowrap;
        border: 2px solid white;
    }
    
    .badge:empty {
        display: none;
    }
    
    
    .link-container a .tab-label {
        font-size: 10px;
            transition: color 0.3s ease;
    
    }
    
    /* Active Tab */
    .link-container a.active {
        color: #1460e3;
    }
            
    
    
    
}

/* Show desktop on medium and larger screens */
@media (min-width: 768px) {
    .desktop-container {
        display: block;
    }
}
