/* =========================================
   FOXBET
   MOBILE BOTTOM NAVIGATION
========================================= */

.bottom-nav {

    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1100;

    width: 100%;

    height: var(--bottom-nav-height);

    display: flex;

    align-items: stretch;

    justify-content: center;

    background:
        #061725;

    border-top:
        1px solid var(--border);

    box-shadow:
        0 -3px 12px
        rgba(0, 0, 0, 0.28);
}

/* =========================================
   NAV INNER
========================================= */

.bottom-nav-inner {

    width: 100%;

    max-width:
        700px;

    height: 100%;

    display: flex;

    align-items: stretch;

    justify-content: space-around;
}

/* =========================================
   NAV ITEM
========================================= */

.bottom-nav-item {

    position: relative;

    flex: 1;

    min-width: 0;

    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 3px;

    padding:
        5px 2px 4px;

    color:
        var(--text-muted);

    background:
        transparent;

    cursor: pointer;

    transition:
        color 0.15s ease,
        background 0.15s ease;
}

.bottom-nav-item:hover {

    color:
        var(--text-secondary);

    background:
        rgba(255, 255, 255, 0.025);
}

/* =========================================
   NAV ICON
========================================= */

.bottom-nav-icon {

    width: 22px;
    height: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 17px;

    line-height: 1;
}

/* =========================================
   NAV LABEL
========================================= */

.bottom-nav-label {

    max-width: 100%;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    font-size: 9px;

    line-height: 1;

    font-weight: 700;
}

/* =========================================
   ACTIVE ITEM
========================================= */

.bottom-nav-item.active {

    color:
        var(--green);
}

.bottom-nav-item.active::before {

    content: "";

    position: absolute;

    top: 0;

    left: 50%;

    width: 30px;

    height: 2px;

    transform:
        translateX(-50%);

    background:
        var(--green);

    border-radius:
        0 0 3px 3px;

    box-shadow:
        0 1px 6px
        rgba(53, 199, 89, 0.3);
}

.bottom-nav-item.active .bottom-nav-icon {

    color:
        var(--green);
}

/* =========================================
   BET SLIP BADGE
========================================= */

.bottom-nav-badge {

    position: absolute;

    top: 5px;

    margin-left: 18px;

    min-width: 15px;
    height: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        0 3px;

    background:
        var(--red);

    color:
        #ffffff;

    border:
        2px solid #061725;

    border-radius:
        10px;

    font-size: 8px;

    font-weight: 800;

    line-height: 1;
}

/* =========================================
   DESKTOP
========================================= */

@media (min-width: 768px) {

    .bottom-nav {

        position: fixed;

        top: var(--header-height);

        right: auto;

        bottom: 0;

        left: 0;

        width: 76px;

        height: auto;

        border-top: 0;

        border-right:
            1px solid var(--border);

        box-shadow:
            2px 0 10px
            rgba(0, 0, 0, 0.18);
    }

    .bottom-nav-inner {

        width: 100%;

        height: 100%;

        max-width: none;

        flex-direction: column;

        justify-content: flex-start;

        padding-top: 8px;
    }

    .bottom-nav-item {

        flex: 0 0 62px;

        width: 100%;

        gap: 5px;

        padding:
            8px 4px;
    }

    .bottom-nav-icon {

        width: 24px;
        height: 24px;

        font-size: 18px;
    }

    .bottom-nav-label {

        font-size: 9px;
    }

    .bottom-nav-item.active::before {

        top: 50%;

        left: auto;

        right: 0;

        width: 2px;

        height: 30px;

        transform:
            translateY(-50%);

        border-radius:
            3px 0 0 3px;
    }

    .bottom-nav-badge {

        top: 8px;

        margin-left: 20px;
    }

}

/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1200px) {

    .bottom-nav {

        width: 82px;
    }

    .bottom-nav-item {

        flex-basis: 66px;
    }

}