﻿/* =========================
   NAVBAR 
========================= */
.navbar {
    background: linear-gradient(90deg, #005A3C 0%, #006747 100%);
    min-height: 96px;
    border-bottom: 3px solid #7CB342;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 1030;
}

    /* Remove weird spacing */
    .navbar a {
        line-height: 1;
    }

/* =========================
   LOGO (ENHANCED VISIBILITY)
========================= */
.litssa-nav-embed {
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* 👈 adds depth */
    display: flex;
    align-items: center;
}

.navbar-brand img.litssa-nav-logo {
    height: 78px; /* 👈 slightly bigger */
    width: auto;
    display: block;
    object-fit: contain;
}

/* =========================
   NAV LINKS (ENTERPRISE STYLE)
========================= */
.navbar .nav-link {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease-in-out;
}

    /* Hover = subtle, not flashy */
    .navbar .nav-link:hover {
        background-color: rgba(255,255,255,0.12);
        color: #ffffff;
    }

    /* Active (important: clear but not loud) */
    .navbar .nav-link.fw-bold {
        border-bottom: 2px solid #ffffff;
        background-color: rgba(255,255,255,0.08);
    }

    /* Icons slightly softer */
    .navbar .nav-link i {
        font-size: 0.95rem;
        opacity: 0.9;
    }

    /* =========================
   USER SECTION (RIGHT SIDE)
========================= */
    .navbar .nav-link.user-display {
        color: #E0E0E0;
        font-size: 0.8rem;
        font-weight: 400;
        pointer-events: none;
        cursor: default;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        /* Icon for user */
        .navbar .nav-link.user-display i {
            font-size: 1rem;
            opacity: 0.85;
        }

    /* =========================
   LOGOUT (CLEAR BUT NOT AGGRESSIVE)
========================= */
    .navbar .nav-link.text-danger {
        color: #FFDADA !important;
        font-weight: 600;
    }

        .navbar .nav-link.text-danger:hover {
            background-color: rgba(255, 0, 0, 0.15);
        }

/* =========================
   NAV ITEM SPACING
========================= */
.navbar .nav-item {
    margin-right: 0.35rem;
}

    /* =========================
   PROGRESSIVE SEPARATION (OPTIONAL)
========================= */
    .navbar .nav-item:not(:last-child) {
        border-right: 1px solid rgba(255,255,255,0.08);
        padding-right: 10px;
    }

/* =========================
   RESPONSIVE (MOBILE FIRST)
========================= */
@media (max-width: 767.98px) {

    .navbar {
        min-height: 80px;
    }

    /* Stack menu */
    .navbar-nav {
        width: 100%;
        padding-top: 10px;
    }

        .navbar-nav .nav-item {
            width: 100%;
            margin-bottom: 6px;
            border-right: none;
        }

        .navbar-nav .nav-link {
            justify-content: flex-start;
            padding: 10px 12px;
            border-radius: 6px;
        }

    /* Logo smaller */
    .navbar-brand img.litssa-nav-logo {
        height: 56px !important;
    }

    .litssa-nav-embed {
        padding: 6px 10px;
    }

    /* Right section stacks */
    .navbar-nav .ms-auto {
        width: 100%;
        margin-top: 10px;
        justify-content: flex-start;
    }
}

/* =========================
   TEXT ADAPTATION (SMART)
========================= */
@media (max-width: 576px) {

    .navbar .full-text {
        display: none !important;
    }

    .navbar .short-text {
        display: inline !important;
    }
}

@media (min-width: 577px) {

    .navbar .full-text {
        display: inline !important;
    }

    .navbar .short-text {
        display: none !important;
    }
}
