/* =========================
   D20 EPIC LEVEL HEADER
   ========================= */

.header{

    position:sticky;

    top:0;

    width:100%;

    z-index:1000;

    background:#1b1b1b;

    margin:0;

    padding:0;

}

.navbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    max-width:1600px;

    margin:0 auto;

    padding:0 15px;

    height:40px;

}

.logo{

    font-size:16px;

    font-weight:700;

    color:#008cff;

    line-height:1;

}

.nav-links{

    display:flex;

    align-items:center;

    gap:2px;

    height:100%;

}

.nav-links a{

    display:flex;

    align-items:center;

    height:100%;

    padding:0 10px;

    color:#d0d0d0;

    text-decoration:none;

    font-size:12px;

    font-weight:600;

    line-height:1;

}

.nav-links a:hover{

    background:#252525;

    color:white;

}

.active-page{

    background:#008cff;

    color:white !important;

}

/* =========================
   LOGO
   ========================= */

.logo{

    display:flex;

    align-items:center;

    gap:6px;

    font-size:22px;

    font-weight:700;

    color:#008cff;

    white-space:nowrap;

    letter-spacing:.5px;

}

.header-logo-image{

    display:block;

    flex:0 0 40px;

    width:40px;

    height:40px;

    max-width:40px;

    max-height:40px;

    object-fit:contain;

}

/* =========================
   NAVIGATION
   ========================= */

.nav-links{

    display:flex;

    align-items:center;

    gap:8px;

    flex-wrap:wrap;

}

.nav-links a{

    color:#d0d0d0;

    text-decoration:none;

    padding:8px 12px;

    border-radius:8px;

    font-size:13px;

    font-weight:600;

    transition:all .2s ease;

}

.nav-links a:hover{

    background:#2a2a2a;

    color:#ffffff;

}

.active-page{

    background:#008cff;

    color:white !important;

}

/* =========================
   PROFILE DROPDOWN
   ========================= */

.profile-container{

    position:relative;

}

.profile-dropdown{

    position:absolute;

    top:42px;

    right:0;

    min-width:220px;

    background:#242424;

    border-radius:10px;

    overflow:hidden;

    display:none;

    box-shadow:0 10px 25px rgba(0,0,0,.4);

}

.profile-dropdown.show{

    display:block;

}

.profile-dropdown a{

    display:block;

    padding:12px 15px;

    color:white;

    text-decoration:none;

}

.profile-dropdown a:hover{

    background:#303030;

}

/* =========================
   USER DISPLAY
   ========================= */

.user-display{

    display:flex;

    align-items:center;

    gap:8px;

}

.user-avatar{

    width:32px;

    height:32px;

    border-radius:50%;

    object-fit:cover;

    border:2px solid #008cff;

}

.user-name{

    font-size:13px;

    font-weight:600;

    color:white;

}

/* =========================
   NOTIFICATIONS
   ========================= */

.notification-badge{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    min-width:18px;

    height:18px;

    padding:0 5px;

    border-radius:50px;

    background:#ff3b30;

    color:white;

    font-size:10px;

    font-weight:bold;

}

/* =========================
   MOBILE MENU
   ========================= */

.mobile-menu-btn{

    display:none;

    background:none;

    border:none;

    color:white;

    font-size:22px;

    cursor:pointer;

}

@media(max-width:1000px){

    .mobile-menu-btn{

        display:block;

    }

    .navbar{

        flex-wrap:wrap;

    }

    .nav-links{

        display:none;

        width:100%;

        flex-direction:column;

        align-items:flex-start;

        margin-top:10px;

    }

    .nav-links.mobile-open{

        display:flex;

    }

    .nav-links a{

        width:100%;

    }

}

.user-display{

    display:flex;

    align-items:center;

    gap:10px;

    margin-left:20px;

}

.user-avatar{

    width:32px;

    height:32px;

    border-radius:50%;

    object-fit:cover;

    border:2px solid #008cff;

}

.user-name{

    color:white;

    font-size:13px;

    font-weight:bold;

    white-space:nowrap;

}
