﻿
/* ============================================
   FTA ADMIN - FINAL NAVIGATION LINK FIX
   ============================================ */

/* Reset inherited Bootstrap / application link styling */

.fta-admin-shell nav.fta-sidebar-links > a,
.fta-admin-shell nav.fta-sidebar-links > a:link,
.fta-admin-shell nav.fta-sidebar-links > a:visited,
.fta-admin-shell nav.fta-sidebar-links > a:hover,
.fta-admin-shell nav.fta-sidebar-links > a:focus {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 11px 13px !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    color: #56677e !important;
    background-color: transparent !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

    /* Hover */

    .fta-admin-shell nav.fta-sidebar-links > a:hover {
        color: #0867ae !important;
        background-color: #eef5fb !important;
    }

    /* Selected desktop page */

    .fta-admin-shell nav.fta-sidebar-links > a.active,
    .fta-admin-shell nav.fta-sidebar-links > a.active:link,
    .fta-admin-shell nav.fta-sidebar-links > a.active:visited,
    .fta-admin-shell nav.fta-sidebar-links > a.active:hover {
        color: #0867ae !important;
        background-color: #e8f2fc !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }

    /* Desktop icons */

    .fta-admin-shell nav.fta-sidebar-links > a > span {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        min-width: 24px !important;
        font-size: 20px !important;
        text-decoration: none !important;
    }

/* Mobile bottom navigation */

@media (max-width: 850px) {

    .fta-admin-shell nav.fta-mobile-nav > a,
    .fta-admin-shell nav.fta-mobile-nav > a:link,
    .fta-admin-shell nav.fta-mobile-nav > a:visited,
    .fta-admin-shell nav.fta-mobile-nav > a:hover {
        display: flex !important;
        flex: 1 !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        min-width: 0 !important;
        color: #8393a7 !important;
        background: transparent !important;
        text-decoration: none !important;
        text-decoration-line: none !important;
        font-family: "Segoe UI", Arial, sans-serif !important;
        font-size: 11px !important;
        font-weight: 600 !important;
    }

        .fta-admin-shell nav.fta-mobile-nav > a.active,
        .fta-admin-shell nav.fta-mobile-nav > a.active:link,
        .fta-admin-shell nav.fta-mobile-nav > a.active:visited {
            color: #0867ae !important;
            font-weight: 800 !important;
        }

        .fta-admin-shell nav.fta-mobile-nav > a > span {
            display: grid !important;
            place-items: center !important;
            width: 45px !important;
            height: 38px !important;
            border-radius: 12px !important;
            font-size: 24px !important;
            text-decoration: none !important;
        }

        .fta-admin-shell nav.fta-mobile-nav > a.active > span {
            background-color: #e8f2fc !important;
        }

        .fta-admin-shell nav.fta-mobile-nav > a > small {
            color: inherit !important;
            font-size: 11px !important;
            text-decoration: none !important;
        }
}
