/* Ensure top-bar has consistent appearance */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #060727;  /* Or #ffffff if using a white variant */
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    color: #060727;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Left container in header */
.header-left {
    display: flex;
    align-items: center;
}

/* Logo styles */
.logo-link {
    margin-right: 15px;
}
.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Project and app name display */
.project-display {
    font-size: 1rem;
    color: white;
}
.project-display-child {
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-display a,
.project-display .project-link,
.project-display .app-link {
    text-decoration: none;
    color: white;
}

.project-display a:hover {
    text-decoration: underline;
}

.separator {
    margin: 0 5px;
}

.no-projects {
    font-style: italic;
    color: #e0e0e0;
}

/* Right section: user dropdown */
.header-right {
    position: relative;
}

.username-dropdown {
    position: relative;
    display: inline-block;
}

.username-dropdown .dropbtn {
    background-color: transparent;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: white;
    padding: 8px;
}

.username-dropdown .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.username-dropdown .dropdown-content a {
    color: #333;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
}

.username-dropdown .dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Hover to open dropdown */
.username-dropdown:hover .dropdown-content {
    display: block;
}
