.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1001;
    position: relative;
    flex-wrap: wrap;
}

    .top-bar .user-menu {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 0.9rem;
    }

.sidebar-toggle {
    z-index: 1002;
    position: relative;
    display: none;
}

.top-link {
    margin-left: 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

    .top-link:hover {
        color: var(--primary-color);
    }

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-color);
}

.logout-form {
    margin: 0;
}

.logout-button {
    background: transparent;
    border: none;
    color: var(--accent-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

    .logout-button:hover {
        color: var(--primary-color);
    }
