/* iLoveDanceShoes — Shared Nav Component */

/* Placeholder to prevent layout shift before JS renders */
#app-nav { height: 44px; background: #0f0f0f; }

/* NAV BAR */
.ilds-nav { background: #0f0f0f; height: 44px; display: flex; align-items: center; padding: 0 16px; gap: 0; position: relative; z-index: 100; user-select: none; }
.ilds-nav-brand { font-size: 13px; font-weight: 600; color: #fff; margin-right: 28px; letter-spacing: -.3px; white-space: nowrap; text-decoration: none; }
.ilds-nav-brand:hover { color: #fff; }
.ilds-nav-items { display: flex; align-items: stretch; height: 44px; flex: 1; }
.ilds-nav-group { position: relative; height: 44px; }
.ilds-nav-btn { height: 44px; display: flex; align-items: center; gap: 5px; padding: 0 13px; color: rgba(255,255,255,0.85); font-size: 11.5px; font-weight: 400; cursor: pointer; border: none; background: transparent; font-family: inherit; transition: all .12s; white-space: nowrap; letter-spacing: .01em; }
.ilds-nav-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }
.ilds-nav-btn.active { color: #fff; font-weight: 500; border-bottom: 2px solid #c9a84c; }
.ilds-nav-btn.open { color: #fff; background: rgba(255,255,255,0.08); }
.ilds-nav-arrow { font-size: 8px; color: rgba(255,255,255,0.4); transition: transform .15s; }
.ilds-nav-btn.open .ilds-nav-arrow { transform: rotate(180deg); color: rgba(255,255,255,0.7); }

/* DROPDOWNS — light */
.ilds-dropdown { position: absolute; top: 44px; left: 0; min-width: 230px; background: #ffffff; border: 0.5px solid rgba(0,0,0,0.14); border-top: none; border-radius: 0 0 8px 8px; padding: 5px 0; display: none; z-index: 200; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.ilds-dropdown.show { display: block; }
.ilds-dd-section { padding: 8px 12px 3px; font-size: 9.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #a8a49c; margin-top: 2px; }
.ilds-dd-section:first-child { margin-top: 0; }
.ilds-dd-item { display: flex; align-items: center; justify-content: space-between; padding: 7px 12px; cursor: pointer; color: #1a1a18; font-size: 12px; transition: all .1s; gap: 8px; text-decoration: none; }
.ilds-dd-item:hover { background: #f0ede8; color: #1a1a18; }
.ilds-dd-item-sub { font-size: 10.5px; color: #a8a49c; margin-top: 1px; }
.ilds-dd-badge { display: inline-flex; align-items: center; padding: 1px 6px; border-radius: 3px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.ilds-dd-badge-red { background: #fdf0f0; color: #8b2f2f; }
.ilds-dd-badge-amb { background: #fdf5e6; color: #7a5010; }
.ilds-dd-badge-grn { background: #edf7f1; color: #1a4f33; }
.ilds-dd-sep { border: none; border-top: 0.5px solid rgba(0,0,0,0.08); margin: 4px 0; }
.ilds-dd-stub { opacity: 0.5; pointer-events: none; }

/* RIGHT SIDE */
.ilds-nav-right { margin-left: auto; display: flex; align-items: center; gap: 2px; }

/* SYNC PILL */
.ilds-sync-pill { display: flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 4px; font-size: 10.5px; color: rgba(255,255,255,0.6); cursor: pointer; transition: all .1s; border: 0.5px solid transparent; text-decoration: none; }
.ilds-sync-pill:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
.ilds-sync-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.ilds-sync-ok { background: #4a9a3f; }
.ilds-sync-warn { background: #c9a84c; }
.ilds-sync-err { background: #c94444; }

/* NOTIFICATION BELL */
.ilds-notif-btn { position: relative; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 5px; border: none; background: transparent; transition: background .1s; color: rgba(255,255,255,0.75); }
.ilds-notif-btn:hover { background: rgba(255,255,255,0.09); color: #fff; }
.ilds-notif-count { position: absolute; top: 3px; right: 3px; min-width: 16px; height: 16px; border-radius: 8px; background: #c94444; color: #fff; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 3px; pointer-events: none; border: 1.5px solid #0f0f0f; }

/* NOTIFICATION PANEL */
.ilds-notif-panel { position: absolute; top: 44px; right: 0; width: 360px; background: #ffffff; border: 0.5px solid rgba(0,0,0,0.14); border-top: none; border-radius: 0 0 10px 10px; display: none; z-index: 300; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.ilds-notif-panel.show { display: block; }
.ilds-np-header { padding: 12px 14px 10px; display: flex; align-items: center; justify-content: space-between; border-bottom: 0.5px solid rgba(0,0,0,0.08); }
.ilds-np-title { font-size: 12px; font-weight: 500; color: #1a1a18; }
.ilds-np-mark { font-size: 10.5px; color: #0d3d72; cursor: pointer; }
.ilds-np-mark:hover { text-decoration: underline; }
.ilds-np-section-label { padding: 8px 14px 3px; font-size: 9.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; display: flex; align-items: center; gap: 5px; }
.ilds-np-section-label.red { color: #c94444; }
.ilds-np-section-label.amber { color: #b97c1a; }
.ilds-np-section-label.gray { color: #a8a49c; }
.ilds-np-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px 14px; cursor: pointer; transition: background .1s; border-left: 2px solid transparent; }
.ilds-np-item:hover { background: #f0ede8; }
.ilds-np-item.unread { background: rgba(240,237,232,0.5); }
.ilds-np-item.red { border-left-color: #c94444; }
.ilds-np-item.amber { border-left-color: #b97c1a; }
.ilds-np-icon { width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ilds-np-icon-red { background: #fdf0f0; }
.ilds-np-icon-amber { background: #fdf5e6; }
.ilds-np-icon-gray { background: #f0ede8; }
.ilds-np-body { flex: 1; min-width: 0; }
.ilds-np-item-title { font-size: 11.5px; font-weight: 500; color: #1a1a18; line-height: 1.3; }
.ilds-np-item-sub { font-size: 10.5px; color: #6b6860; margin-top: 2px; line-height: 1.4; }
.ilds-np-item-time { font-size: 10px; color: #a8a49c; margin-top: 3px; }
.ilds-np-badge { display: inline-flex; align-items: center; padding: 1px 5px; border-radius: 3px; font-size: 9.5px; font-weight: 500; margin-top: 3px; }
.ilds-npb-red { background: #fdf0f0; color: #8b2f2f; }
.ilds-npb-amb { background: #fdf5e6; color: #7a5010; }
.ilds-np-loading, .ilds-np-empty { padding: 20px 14px; font-size: 11.5px; color: #a8a49c; text-align: center; }
.ilds-np-sep { border: none; border-top: 0.5px solid rgba(0,0,0,0.08); margin: 2px 0; }
.ilds-np-footer { padding: 10px 14px; border-top: 0.5px solid rgba(0,0,0,0.08); text-align: center; }
.ilds-np-footer span { font-size: 10.5px; color: #0d3d72; cursor: pointer; }
.ilds-np-footer span:hover { text-decoration: underline; }

/* USER PILL */
.ilds-user-pill { display: flex; align-items: center; gap: 6px; padding: 4px 8px 4px 4px; border-radius: 5px; cursor: pointer; border: 0.5px solid transparent; transition: all .1s; margin-left: 4px; position: relative; }
.ilds-user-pill:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.1); }
.ilds-user-avatar { width: 26px; height: 26px; border-radius: 50%; background: #1e3d5a; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; color: #85b7eb; border: 1px solid rgba(133,183,235,0.3); }
.ilds-user-name { font-size: 10.5px; color: rgba(255,255,255,0.75); }

/* USER DROPDOWN */
.ilds-user-dropdown { position: absolute; top: 40px; right: 0; min-width: 140px; background: #ffffff; border: 0.5px solid rgba(0,0,0,0.14); border-radius: 6px; padding: 4px 0; display: none; z-index: 200; box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.ilds-user-dropdown.show { display: block; }
.ilds-user-dd-item { display: block; padding: 7px 12px; cursor: pointer; color: #1a1a18; font-size: 12px; transition: all .1s; text-decoration: none; border: none; background: none; width: 100%; text-align: left; font-family: inherit; }
.ilds-user-dd-item:hover { background: #f0ede8; }
