/* Modern Navbar Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

body {
    font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: currentColor;
}

a:hover {
    color: currentColor;
}

/* ════════════════════ MODERN HEADER ════════════════════ */
header.modern-header {
    width: 100%;
    min-height: 72px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    padding: 10px 0;
}

header.modern-header .container-fluid {
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (min-width: 1400px) {
    header.modern-header .container-fluid {
        padding-left: 3.5rem;
        padding-right: 3.5rem;
    }
}

/* Brand Logo */
.navb-logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: opacity 0.2s ease;
}

.navb-logo:hover {
    opacity: 0.9;
}

.navb-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.navb-logo strong {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.2;
    display: block;
}

.navb-logo div {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 1px;
}

/* Desktop Nav Items */
header.modern-header .navb-items {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    margin-right: auto;
}

/* Nav Link Pills */
.nav-link-pill {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid transparent;
}

.nav-link-pill i {
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.nav-link-pill:hover {
    color: #0284c7;
    background: #f0f9ff;
    border-color: #e0f2fe;
}

.nav-link-pill:hover i {
    transform: translateY(-1px);
}

.nav-link-pill.active {
    color: #0284c7;
    background: #e0f2fe;
    font-weight: 700;
}

/* Role Badges */
.role-badge-nav {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    margin-left: 4px;
    letter-spacing: 0.3px;
}

/* User Dropdown Button */
.user-dropdown-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.user-dropdown-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

/* Dropdown Menus */
.dropdown-menu {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05) !important;
    padding: 8px !important;
}

.dropdown-item {
    font-size: 0.88rem;
    font-weight: 500;
    color: #334155;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: #f1f5f9;
    color: #0284c7;
}

/* Mobile Toggler */
header .mobile-toggler {
    font-size: 26px;
    color: #0f172a;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 8px;
}

/* Mobile Modal Navigation */
.modal-dialog {
    margin: 0;
    width: 320px;
    max-width: 85vw;
}

.modal-content {
    border-radius: 0;
    height: 100vh;
    overflow-y: auto;
    background-color: #0f172a;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #1e293b;
}

.modal-body {
    padding: 20px;
}

.modal-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #1e293b;
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.modal-line:hover {
    color: #38bdf8;
}

.modal-line i {
    font-size: 18px;
    width: 24px;
}
