﻿/* ================================
   Navbar container
   ================================ */
.gx-screen-layout, .gx-parent-container {
    padding: 0;
    margin: 0;
}
.gx-parent-container {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.gx.innermenu-container {
    background-color: rgba(52, 58, 64, 0.95);
    padding-left: 0 !important;
    padding-right: 0 !important;
    height: 40px !important; /* reduced from 48px */
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    overflow: visible !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem;
}

/* Brand - match container height */
.gx-navbar-brand {
    background-color: rgba(33, 37, 41, 0.95);
    padding: 2px 6px !important;
    border-radius: 6px;
    height: 32px !important; /* slim brand height */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 1rem;
    cursor: pointer;
    color: #ffffff !important;
    font-size: 0.8rem !important;
    font-weight: 100 !important;
    font-variation-settings: 'wght' 100;
    letter-spacing: 0.2px;
    line-height: 32px !important;
}

    /* Brand icon + text */
    .gx-navbar-brand i,
    .brand-text {
        font-size: 0.75rem !important;
        line-height: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        /* highlight */
        color: #ffffff !important;
        opacity: 1 !important; /* ensure full brightness */
        text-shadow: 0 0 4px rgba(255,255,255,0.6); /* soft white glow */
    }

/* Optional: slightly stronger emphasis on the brand text only */
.brand-text {
    font-weight: 300 !important; /* gentle emphasis without breaking your ultra-thin feel */
}

/* Toggler - match slim height */
.gx .navbar-toggler {
    padding: 2px 6px !important;
    height: 32px !important;
    font-size: 0.8rem;
}

.gx .navbar-toggler-icon {
    width: 1rem;
    height: 1rem;
}

/* ================================
   Menu
   ================================ */
.gx.menu {
    white-space: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
}

    /* Navbar-nav alignment normalization */
    .gx.menu .navbar-nav {
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        display: flex;
        align-items: center !important;
        height: 44px !important; /* normalized */
    }

    /* Each <li> for perfect vertical alignment */
    .gx.menu li {
        white-space: nowrap;
        flex-shrink: 0;
        display: flex;
        align-items: center !important;
        height: 44px !important; /* normalized */
    }

    /* Menu items - thin and minimalist */
    .gx.menu .nav-link {
        font-weight: 200 !important;
        padding: 0 14px !important; /* normalized padding */
        border-radius: 6px;
        color: rgba(255,255,255,0.75);
        cursor: pointer;
        display: flex;
        align-items: center !important;
        height: 44px !important; /* normalized */
        line-height: 44px !important;
        transition: 200ms ease;
        text-decoration: none;
    }

        .gx.menu .nav-link i {
            font-size: 0.85rem !important;
            opacity: 0.75;
            font-weight: 100;
            display: flex;
            align-items: center !important;
            height: 44px !important; /* perfectly aligned */
        }

        /* Hover */
        .gx.menu .nav-link:hover {
            color: #ffffff !important;
            background-color: rgba(40, 167, 69, 0.18);
            transform: translateY(-1px);
            font-weight: 300 !important;
        }

        /* Active */
        .gx.menu .nav-link.active {
            background-color: rgba(40, 167, 69, 0.35);
            color: #ffffff !important;
            font-weight: 400 !important;
            opacity: 1;
        }

            .gx.menu .nav-link.active i {
                opacity: 1;
            }

/* ================================
   InputSelect wrapper
   ================================ */

/* Wrapper ensures no extra padding from nav-link */
.inputselect-wrapper {
    display: flex;
    align-items: center;
}

/* Slim + styled InputSelect */
/* InputSelect - already slimmed */
select.nav-select,
.form-select.nav-select {
    height: 28px !important; /* slightly shorter */
    min-width: 100px;
    max-width: 200px;
    padding: 2px 6px !important;
    font-size: 0.8rem !important;
    font-weight: 300;
    background-color: #ffffff !important;
    color: #000000 !important;
    line-height: 1.2 !important;
}

/* Options inside select */
.nav-select option {
    color: #000 !important;
}

/* ================================
   Scrollbar
   ================================ */
.gx.menu::-webkit-scrollbar {
    height: 5px;
}

.gx.menu::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

/* Prevent collapse disappearing on desktop */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
}
