/* TOP HEADER */

.topbar{
height:65px;
background:white;
display:flex;
align-items:center;
justify-content:space-between;
padding:0 25px;
margin-left:230px; /* same width as sidebar */
box-shadow:0 2px 6px rgba(0,0,0,0.06);
position:sticky;
top:0;
z-index:100;
}

/* LEFT TITLE */

.topbar .title{
font-size:15px;
font-weight:600;
color:#333;
line-height:1.3;
}

.topbar .subtitle{
font-size:12px;
color:#777;
}

/* RIGHT SECTION */

.topbar .right{
display:flex;
align-items:center;
gap:15px;
}

/* USER NAME */

.topbar .user{
font-size:14px;
color:#444;
}

/* LOGOUT BUTTON */

.logout{
padding:7px 16px;
border-radius:8px;
border:1px solid #ddd;
background:#fafafa;
color:#333;
text-decoration:none;
font-size:13px;
transition:0.2s;
}

.logout:hover{
background:#f1f1f1;
}

/* OPTIONAL ICON STYLE */

.logout::before{
content:"↪";
margin-right:6px;
}

/* MOBILE SUPPORT */

@media(max-width:900px){

.topbar{
margin-left:0;
}

}