/* nav: opmaak één op één naar SugarWOD (zie Projects/SugarWod 2.0/referentie/dashboard/01-programmeren.md). */
/* Alleen de nieuwe navigatie (hoofdstuk 6): zijbalk, uitklapmenu en witte balk. De oude topbalk is weg. */

/* Kop, tabs en inhoud schuiven 84px naar rechts, onder de witte balk */
#app.nn { padding-left: 84px; min-height: 100vh; }

/* Zijbalk links */
.nn-side { position: fixed; left: 0; top: 0; bottom: 0; width: 84px; background: #014271; display: flex; flex-direction: column; z-index: 170; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; }
.nn-side::-webkit-scrollbar { display: none; }
.nn-logo { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 12px auto 10px; background: #fff; border-radius: 10px; overflow: hidden; }
.nn-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nn-logo:hover { text-decoration: none; }
.nn-it { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 68px; padding: 10px 2px; color: #fdfffc; text-decoration: none; cursor: pointer; }
.nn-it:hover { background: rgba(2, 91, 156, .6); color: #fdfffc; text-decoration: none; }
.nn-it.active, .nn-it.open { background: #025b9c; }
.nn-ic { height: 24px; display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; color: #fdfffc; }
.nn-ic svg { width: 26px; height: 26px; display: block; }
.nn-lb { font-size: 11px; line-height: 13px; color: #fdfffc; text-align: center; white-space: nowrap; }
.nn-spacer { flex: 1 1 auto; min-height: 12px; }
.nn-side > .nn-it:last-child { margin-bottom: 6px; }

/* Donker uitklapmenu naast de zijbalk, over de pagina heen */
.nn-fly { position: fixed; left: 84px; top: 0; bottom: 0; width: 280px; background: #232236; color: #fff; z-index: 165; overflow-y: auto; box-shadow: 4px 0 18px rgba(0,0,0,.35); }
.nn-fh { padding: 22px 20px 16px; border-bottom: 1px solid rgba(255,255,255,.14); }
.nn-brand { font-size: 24px; font-weight: 700; color: #fff; line-height: 1.2; }
.nn-sub { font-size: 14px; color: rgba(255,255,255,.72); margin-top: 3px; }
.nn-fly a { display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 16px; line-height: 20px; padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,.14); text-decoration: none; }
.nn-fly a:hover { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.nn-gh { font-weight: 700; }
.nn-gh .fa { font-size: 18px; color: rgba(255,255,255,.8); transition: transform .15s; }
.nn-grp.dicht .nn-gh .fa { transform: rotate(180deg); }
.nn-grp.dicht .nn-gi { display: none; }
.nn-gh + .nn-gi a { padding-left: 32px; }

/* Witte balk bovenaan */
.nn-top { height: 56px; background: #fff; display: flex; align-items: center; gap: 22px; padding: 0 20px; border-bottom: 1px solid #e0e0e0; position: relative; z-index: 40; }
.nn-gym { font-size: 16px; font-weight: 700; color: #424242; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
label.nn-search { display: flex; align-items: center; gap: 8px; flex: none; width: 250px; height: 34px; margin: 0; padding: 0 14px; border: 1px solid #d6d6d6; border-radius: 17px; background: #fff; font-size: 13px; font-weight: 400; color: #757575; cursor: text; }
.nn-search .fa { font-size: 14px; color: #757575; }
.nn-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0; background: transparent; font: inherit; font-size: 13px; color: #424242; }
.nn-search input::placeholder { color: #9e9e9e; }
.nn-search:focus-within { border-color: #014271; }
.nn-right { margin-left: auto; display: flex; align-items: center; gap: 16px; flex: none; }
.nn-top a:hover { text-decoration: none; }
.nn-bell { font-size: 18px; color: #424242; }
.nn-bell:hover { color: #014271; }
.nn-user { display: inline-flex; align-items: center; gap: 6px; color: #616161; }
.nn-av { width: 34px; height: 34px; border-radius: 50%; background: #014271; color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; letter-spacing: .3px; }
.nn-top .menu-open { background: transparent !important; }

@media (max-width: 900px) { label.nn-search { display: none; } }
.nn-logo .nn-logo-txt { color: #014271; font-weight: 900; font-size: 15px; letter-spacing: -.5px; font-family: "DM Sans", Roboto, sans-serif; } /* geen gymlogo ingesteld: initialen (in te stellen via Gyminstellingen > Logo) */
