/* Waeyuk Modern Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 64px;
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    border-bottom: 1px solid var(--border);
    box-sizing: border-box;
    transition: var(--transition);
}

:root { 
    --waeyuk-topbar-height: 64px;
}

body { 
    padding-top: var(--waeyuk-topbar-height); 
}

.top-bar .logo,
.top-bar .top-profile-pic {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 2px solid var(--border);
    object-fit: cover;
    transition: var(--transition);
    cursor: pointer;
}

.top-bar .logo:hover,
.top-bar .top-profile-pic:hover {
    transform: scale(1.05);
    border-color: var(--accent);
}

.top-bar .right-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar .icon,
.top-bar .notification-btn {
    color: var(--tx-secondary);
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
}

.top-bar .icon:hover,
.top-bar .notification-btn:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

/* Notification Badge */
.notification-container {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #ff3b3b;
    border-radius: 50%;
    border: 2px solid var(--bg-main);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .top-bar {
        height: 56px;
        padding: 0 16px;
    }
    
    :root { --waeyuk-topbar-height: 56px; }
    
    .top-bar .logo,
    .top-bar .top-profile-pic {
        height: 32px;
        width: 32px;
    }
    
    .top-bar .icon,
    .top-bar .notification-btn {
        font-size: 1.1rem;
        padding: 6px;
    }
}
