

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;

    display: grid;
    grid-template-columns: 50px 1fr 50px;
    align-items: center;

    padding: 0 15px;

    background: transparent;   /* âœ… no background */

    box-shadow: none;          /* âœ… remove shadow */

    
    -webkit-backdrop-filter: blur(10px);

    z-index: 1000;
}

/* LEFT */
.menu-icon {
    font-size: 30px;
    color: white;
    justify-self: start;
    cursor: pointer;
}

/* CENTER */
.logo {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: white;
    letter-spacing: 1px;
}

/* RIGHT */
.right-icons {
    display: flex;
    justify-self: end;
    align-items: center;
    color: white;
    gap: 12px;
}

.logo {
    color: white;
}

.icon {

    font-size: 26px;   /* ðŸ”¥ bigger profile + dots */

    color: white;

    cursor: pointer;

}

.menu-icon,
.icon {
    padding: 6px;   /* increases touch area */
    

}

/* Side left side bar menu css */
/* ================= SIDEBAR ================= */

.sidebar {
    position: fixed;
    top: 0;
    left: -280px;

    width: 260px;
    height: 100vh;

    background: rgba(10, 10, 10, 0.75);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-right: 1px solid rgba(255,255,255,0.08);

    z-index: 2000;

    transition: left 0.3s ease;

    padding-top: 85px;

    box-sizing: border-box;

    overflow-y: auto;
}

/* OPEN STATE */
.sidebar.active {
    left: 0;
}

/* ================= HEADER ================= */

.sidebar-header {
    position: absolute;
    top: 24px;
    left: 22px;

    font-size: 20px;
    font-weight: 800;

    color: white;
}

/* ================= LINKS ================= */

.sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 18px 22px;

    color: white;

    text-decoration: none;

    font-size: 16px;

    border-bottom: 1px solid rgba(255,255,255,0.04);

    transition: 0.2s ease;
}

/* HOVER */
.sidebar a:hover {
    background: rgba(255,255,255,0.06);
}

/* CLICK FEEDBACK */
.sidebar a:active {
    transform: scale(0.98);
}

/* ================= ICONS ================= */

.sidebar a i {
    width: 22px;
    font-size: 18px;
    color: white;
}

/* ================= OVERLAY ================= */

.overlay {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    background: rgba(0,0,0,0.45);

    z-index: 1500;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s ease;
}

/* SHOW OVERLAY */
.overlay.active {
    opacity: 1;
    visibility: visible;
}
/* left menu side bar close x */
.sidebar-close {
    position: absolute;
    top: 18px;
    right: 18px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    font-size: 20px;

    cursor: pointer;

    border-radius: 10px;

    background: rgba(255,255,255,0.06);

    transition: 0.2s ease;
}

.sidebar-close:hover {
    background: rgba(255,255,255,0.12);
    transform: scale(1.05);
}

.sidebar-close i {
    color: white;
    font-size: 18px;
} 

.user-menu a i,
.user-header i {
    width: 22px;
    font-size: 16px;
    color: white;
    margin-right: 10px;
}

.user-menu {
    display: none;
    position: absolute;
    right: 10px;
    top: 70px;
}

.user-menu.active {
    display: block;
}
/* user top bar */

.user-menu {
    position: fixed;
    top: 70px;
    right: 15px;

    width: 240px;

    background: rgba(15, 15, 15, 0.65); /* dark glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 14px;

    z-index: 9999;

    display: none;

    overflow: hidden;
}

/* SHOW STATE */
.user-menu.active {
    display: block;
}

/* HEADER */
.user-header {
    padding: 14px;
    font-weight: 600;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    display: flex;
    align-items: center;
    gap: 10px;
}

/* LINKS */
.user-menu a {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 14px;

    color: white;

    text-decoration: none;

    font-size: 14px;
}

/* HOVER EFFECT */
.user-menu a:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* More menu */

.more-menu {
    position: fixed;
    top: 70px;
    right: 10px;

    width: 250px;

    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;

    z-index: 9999;

    display: none;

    overflow: hidden;
}

/* SHOW MENU */
.more-menu.active {
    display: block;
}

/* SECTION TITLES */
.menu-section-title {
    padding: 10px 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* MENU LINKS */
.more-menu a {
    display: flex;
    align-items: center;

    padding: 12px 14px;

    color: white;
    text-decoration: none;

    font-size: 14px;

    transition: 0.2s ease;
}

/* ICONS INSIDE MENU */
.more-menu a i {
    width: 22px;
    margin-right: 10px;
    text-align: center;

    color: rgba(255, 255, 255, 0.85);
}

/* HOVER EFFECT */
.more-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* OPTIONAL: SMOOTH FADE IN */
.more-menu {
    opacity: 0;
    transform: translateY(-8px);
    transition: 0.2s ease;
}

.more-menu.active {
    opacity: 1;
    transform: translateY(0);
}

