/* -- Core & Layout -- */
.main-navbar{height:var(--nav-h, 50px);z-index:1030;padding:5px 0;}
.main-navbar .container-fluid{height:100%;display:flex;align-items:center}
.main-content-wrapper{margin-top:60px;min-height:calc(100vh - 60px)}
.nav-vr{width:1px;height:22px;background:#e8e8e8;flex-shrink:0;margin-inline:6px}

/* -- Brand Identity -- */
.brand-logo-img{box-shadow:0 1px 4px rgba(0,0,0,.08)}
.brand-logo-fallback{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#2B6FEB,#1A4FC7);color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;letter-spacing:-.5px;flex-shrink:0}
.brand-name{font-size:14px;font-weight:700;color:#1a202c;letter-spacing:-.02em;line-height:1.2}
.brand-sub{font-size:11px;line-height:1.2}

/* -- Search Box -- */
.navbar-search-container{width:100%;max-width:360px;margin-inline:12px}
.navbar-search-input{height:38px;font-size:13px;color:#495057;padding-right:64px!important;transition:border-color .15s,box-shadow .15s,background .15s}
.navbar-search-input:focus{outline:none;border:1px solid #2B6FEB!important;background:#fff!important;box-shadow:0 0 0 3px rgba(43,111,235,.12)!important}
.search-kbd-hint kbd{font-family:inherit;font-size:10px;font-weight:600;color:#adb5bd;background:#fff;border:1px solid #dee2e6;border-radius:4px;padding:1px 5px;line-height:1.6;box-shadow:none}

/* -- Interactive Buttons -- */
.nav-icon-btn{position:relative;width:36px;height:36px;border-radius:8px;background:transparent;border:1px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#6c757d;transition:background .12s,border-color .12s,color .12s;font-size:17px}
.nav-icon-btn:hover{background:#f5f5f5;border-color:#e8e8e8;color:#212529}
.nav-icon-dot{position:absolute;top:6px;right:6px;width:7px;height:7px;background:#ef4444;border-radius:50%;border:1.5px solid #fff}

/* -- Header Avatar Trigger -- */
.user-avatar-btn{position:relative;width:36px;height:36px;border-radius:50%;overflow:visible;border:1.5px solid #e2e8f0;padding:0;background:none;cursor:pointer;transition:box-shadow .15s,transform .15s;display:block}
.user-avatar-btn img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.user-avatar-btn:hover,.user-avatar-btn[aria-expanded="true"]{box-shadow:0 0 0 3px rgba(43,111,235,.18);transform:translateY(-1px);border-color:#2B6FEB}
.avatar-online-dot{position:absolute;bottom:0;right:0;width:10px;height:10px;background:#22c55e;border-radius:50%;border:2px solid #fff;pointer-events:none}

/* -- User Dropdown Panel -- */
.user-dropdown-menu{width:300px;padding:0;overflow:hidden;border:1px solid #eaeaea!important;border-radius:18px!important;box-shadow:0 16px 48px rgba(0,0,0,.12)!important;animation:dpFade .14s ease}
@keyframes dpFade{from{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}

/* -- Profile Panel Header -- */
.user-dp-header{padding:24px 20px 18px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;background:#f9fafb;border-bottom:1px solid #f0f0f0}
.user-dp-avatar{width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 2px 12px rgba(0,0,0,.08);margin-bottom:6px;display:block}
.user-dp-name{font-size:15px;font-weight:700;color:#212529}
.user-dp-email{font-size:12px;color:#6c757d;word-break:break-word}
.user-dp-role{display:inline-flex;align-items:center;margin-top:8px;padding:4px 12px;border-radius:999px;background:rgba(43,111,235,.1);color:#2B6FEB;font-size:11px;font-weight:700;letter-spacing:.02em}

/* -- List Component Options -- */
.dp-section-label{font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#adb5bd;padding:10px 16px 4px;list-style:none}
.user-dropdown-menu .dropdown-item{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:500;color:#343a40;border-radius:0;transition:background .1s,color .1s}
.user-dropdown-menu .dropdown-item i{font-size:15px;color:#adb5bd;transition:color .1s;flex-shrink:0}
.user-dropdown-menu .dropdown-item:hover {background:#f5f7ff;color:#2B6FEB}
.user-dropdown-menu .dropdown-item:hover i{color:#2B6FEB}
.user-dropdown-menu .dropdown-item.text-danger{color:#dc3545!important}
.user-dropdown-menu .dropdown-item.text-danger i{color:#dc3545!important}
.user-dropdown-menu .dropdown-item.text-danger:hover{background:#fff5f5;color:#dc3545!important}