diff --git a/src/components/Topbar.js b/src/components/Topbar.js
index 7f34e742..de559b8f 100644
--- a/src/components/Topbar.js
+++ b/src/components/Topbar.js
@@ -31,32 +31,25 @@ export default function Topbar({ onToggleNav }) {
>
☰
-
-
-
- 🔔
1
+
+
+
+
+
+
{getInitials(currentUser?.fullname)}
+
+ {currentUser?.fullname || "User"}
+ {currentUser?.userRoles || ""}
+
-
{currentUser?.fullname || "User"}
-
{getInitials(currentUser?.fullname)}
-
diff --git a/src/index.css b/src/index.css
index 541ff956..2ad15eb0 100644
--- a/src/index.css
+++ b/src/index.css
@@ -233,30 +233,47 @@ body {
margin-right: 12px;
}
-.searchBox {
- background: #083a52;
- padding: 4px;
- border-radius: 4px;
- min-width: 420px;
- transition: min-width .25s ease;
-}
-
-.app.nav-collapsed .searchBox {
- min-width: 300px;
-}
-
-.searchBox input {
- width: 100%;
- padding: 6px 8px;
- border: none;
- border-radius: 3px;
-}
-
-/* Top right */
.topRight {
display: flex;
align-items: center;
- gap: 12px;
+ gap: 8px;
+}
+
+.topbarIconBtn {
+ background: none;
+ border: none;
+ color: rgba(255,255,255,0.7);
+ font-size: 16px;
+ cursor: pointer;
+ padding: 6px 8px;
+ border-radius: 4px;
+}
+
+.topbarIconBtn:hover {
+ color: #fff;
+ background: rgba(255,255,255,0.1);
+}
+
+.topbarLogout {
+ color: rgba(255,255,255,0.5);
+}
+
+.topbarLogout:hover {
+ color: #ff6b6b;
+ background: rgba(255,100,100,0.1);
+}
+
+.topbarDivider {
+ width: 1px;
+ height: 24px;
+ background: rgba(255,255,255,0.15);
+ margin: 0 4px;
+}
+
+.topbarUser {
+ display: flex;
+ align-items: center;
+ gap: 8px;
}
.avatar {
@@ -268,6 +285,26 @@ body {
align-items: center;
justify-content: center;
font-weight: 600;
+ font-size: 12px;
+ color: #fff;
+ flex-shrink: 0;
+}
+
+.topbarUserInfo {
+ display: flex;
+ flex-direction: column;
+ line-height: 1.2;
+}
+
+.topbarUserName {
+ font-size: 13px;
+ font-weight: 600;
+ color: #fff;
+}
+
+.topbarUserRole {
+ font-size: 11px;
+ color: rgba(255,255,255,0.5);
}
/* =========================================================